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