Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer 3 // * License and Disclaimer * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/ 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. 9 // * include a list of copyright holders. * 10 // * 10 // * * 11 // * Neither the authors of this software syst 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitatio 16 // * for the full disclaimer and the limitation of liability. * 17 // * 17 // * * 18 // * This code implementation is the result 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboratio 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distri 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you ag 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publicati 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Sof 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************* 24 // ******************************************************************** 25 // 25 // 26 // 26 // 27 // G4MicroElecLOPhononModel.hh, 27 // G4MicroElecLOPhononModel.hh, 28 // 2020/05/20 P. Caron, C. Ingui << 28 // 2020/05/20 P. Caron, C. Inguimbert are with ONERA [b] 29 // Q. Gibaru is with << 29 // Q. Gibaru is with CEA [a], ONERA [b] and CNES [c] 30 // M. Raine and D. La << 30 // M. Raine and D. Lambert are with CEA [a] 31 // 31 // 32 // A part of this work has been funded by the 32 // A part of this work has been funded by the French space agency(CNES[c]) 33 // [a] CEA, DAM, DIF - 91297 ARPAJON, France 33 // [a] CEA, DAM, DIF - 91297 ARPAJON, France 34 // [b] ONERA - DPHY, 2 avenue E.Belin, 31055 T 34 // [b] ONERA - DPHY, 2 avenue E.Belin, 31055 Toulouse, France 35 // [c] CNES, 18 av.E.Belin, 31401 Toulouse CED 35 // [c] CNES, 18 av.E.Belin, 31401 Toulouse CEDEX, France 36 // 36 // 37 // Based on the following publications 37 // Based on the following publications 38 // 38 // 39 // - Q.Gibaru, C.Inguimbert, P.Caron, M.Raine, << 39 // - Q.Gibaru, C.Inguimbert, P.Caron, M.Raine, D.Lambert, J.Puech, 40 // Geant4 physics processes for microdosimet << 40 // Geant4 physics processes for microdosimetry and secondary electron emission simulation : 41 // Extension of MicroElec to very low energi << 41 // Extension of MicroElec to very low energies and new materials 42 // NIM B, 2020, in review. << 42 // NIM B, 2020, in review. 43 // 43 // 44 ////////////////////////////////////////////// << 44 // >> 45 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... >> 46 45 #ifndef G4MICROELECLOPHONONMODEL_HH 47 #ifndef G4MICROELECLOPHONONMODEL_HH 46 #define G4MICROELECLOPHONONMODEL_HH 1 48 #define G4MICROELECLOPHONONMODEL_HH 1 47 49 48 #include "G4Step.hh" 50 #include "G4Step.hh" 49 #include "G4VDiscreteProcess.hh" 51 #include "G4VDiscreteProcess.hh" 50 #include "G4DynamicParticle.hh" 52 #include "G4DynamicParticle.hh" 51 #include "G4Material.hh" 53 #include "G4Material.hh" 52 #include "G4VEmModel.hh" 54 #include "G4VEmModel.hh" 53 #include "G4Electron.hh" 55 #include "G4Electron.hh" 54 #include "G4TransportationManager.hh" 56 #include "G4TransportationManager.hh" 55 #include "G4ParticleChangeForGamma.hh" 57 #include "G4ParticleChangeForGamma.hh" 56 58 57 class G4MicroElecLOPhononModel : public G4VEmM 59 class G4MicroElecLOPhononModel : public G4VEmModel 58 { 60 { 59 public: << 61 public: 60 << 62 explicit G4MicroElecLOPhononModel(const G4ParticleDefinition*p = nullptr, 61 explicit G4MicroElecLOPhononModel(const G4 << 63 const G4String& nam = "G4MicroElecLOPhononModel"); 62 const G4 << 64 ~G4MicroElecLOPhononModel() override; 63 ~G4MicroElecLOPhononModel() override = def << 65 64 << 66 void Initialise(const G4ParticleDefinition*, const G4DataVector&) override; 65 void Initialise(const G4ParticleDefinition << 67 G4double CrossSectionPerVolume(const G4Material* material, 66 G4double CrossSectionPerVolume(const G4Mat << 68 const G4ParticleDefinition* p, 67 const G4Par << 69 G4double ekin, 68 G4double ek << 70 G4double emin, 69 G4double em << 71 G4double emax) override; 70 G4double em << 72 71 << 73 void SampleSecondaries(std::vector<G4DynamicParticle*>*, 72 void SampleSecondaries(std::vector<G4Dynam << 74 const G4MaterialCutsCouple*, 73 const G4MaterialCut << 75 const G4DynamicParticle*, 74 const G4DynamicPart << 76 G4double tmin, 75 G4double tmin = 0.0 << 77 G4double maxEnergy) override; 76 G4double maxEnergy << 78 77 << 79 G4MicroElecLOPhononModel & operator=(const G4MicroElecLOPhononModel &right) = delete; 78 G4MicroElecLOPhononModel& operator=(const << 80 G4MicroElecLOPhononModel(const G4MicroElecLOPhononModel&) = delete; 79 G4MicroElecLOPhononModel(const G4MicroElec << 81 80 << 82 protected: 81 private: << 83 G4ParticleChangeForGamma* fParticleChangeForGamma; 82 << 84 83 G4ParticleChangeForGamma* fParticleChangeF << 85 private: 84 G4double phononEnergy = 0.; << 86 G4double phononEnergy = 0.; 85 G4bool Interband = false; << 87 G4bool Interband = false; 86 G4bool isInitialised = false; << 88 G4bool isInitialised = false; 87 G4bool absor = false; << 89 G4bool absor = false; 88 G4double Eprim = 0; << 89 G4double signe = -1; << 90 }; 90 }; 91 91 92 #endif 92 #endif 93 93