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 #ifndef G4MICROELECLOPHONONMODEL_HH 45 #ifndef G4MICROELECLOPHONONMODEL_HH 46 #define G4MICROELECLOPHONONMODEL_HH 1 46 #define G4MICROELECLOPHONONMODEL_HH 1 47 47 48 #include "G4Step.hh" 48 #include "G4Step.hh" 49 #include "G4VDiscreteProcess.hh" 49 #include "G4VDiscreteProcess.hh" 50 #include "G4DynamicParticle.hh" 50 #include "G4DynamicParticle.hh" 51 #include "G4Material.hh" 51 #include "G4Material.hh" 52 #include "G4VEmModel.hh" 52 #include "G4VEmModel.hh" 53 #include "G4Electron.hh" 53 #include "G4Electron.hh" 54 #include "G4TransportationManager.hh" 54 #include "G4TransportationManager.hh" 55 #include "G4ParticleChangeForGamma.hh" 55 #include "G4ParticleChangeForGamma.hh" 56 56 57 class G4MicroElecLOPhononModel : public G4VEmM 57 class G4MicroElecLOPhononModel : public G4VEmModel 58 { 58 { 59 public: 59 public: 60 60 61 explicit G4MicroElecLOPhononModel(const G4 61 explicit G4MicroElecLOPhononModel(const G4ParticleDefinition* p = nullptr, 62 const G4 62 const G4String& nam = "G4MicroElecLOPhononModel"); 63 ~G4MicroElecLOPhononModel() override = def 63 ~G4MicroElecLOPhononModel() override = default; 64 64 65 void Initialise(const G4ParticleDefinition 65 void Initialise(const G4ParticleDefinition*, const G4DataVector&) override; 66 G4double CrossSectionPerVolume(const G4Mat 66 G4double CrossSectionPerVolume(const G4Material* material, 67 const G4Par 67 const G4ParticleDefinition* p, 68 G4double ek 68 G4double ekin, 69 G4double em 69 G4double emin = 0.0, 70 G4double em 70 G4double emax= DBL_MAX) override; 71 71 72 void SampleSecondaries(std::vector<G4Dynam 72 void SampleSecondaries(std::vector<G4DynamicParticle*>*, 73 const G4MaterialCut 73 const G4MaterialCutsCouple*, 74 const G4DynamicPart 74 const G4DynamicParticle*, 75 G4double tmin = 0.0 75 G4double tmin = 0.0, 76 G4double maxEnergy 76 G4double maxEnergy = DBL_MAX) override; 77 77 78 G4MicroElecLOPhononModel& operator=(const 78 G4MicroElecLOPhononModel& operator=(const G4MicroElecLOPhononModel&) = delete; 79 G4MicroElecLOPhononModel(const G4MicroElec 79 G4MicroElecLOPhononModel(const G4MicroElecLOPhononModel&) = delete; 80 80 >> 81 protected: >> 82 >> 83 G4ParticleChangeForGamma* fParticleChangeForGamma; >> 84 81 private: 85 private: 82 86 83 G4ParticleChangeForGamma* fParticleChangeF << 84 G4double phononEnergy = 0.; 87 G4double phononEnergy = 0.; 85 G4bool Interband = false; 88 G4bool Interband = false; 86 G4bool isInitialised = false; 89 G4bool isInitialised = false; 87 G4bool absor = false; 90 G4bool absor = false; 88 G4double Eprim = 0; 91 G4double Eprim = 0; 89 G4double signe = -1; 92 G4double signe = -1; 90 }; 93 }; 91 94 92 #endif 95 #endif 93 96