Geant4 Cross Reference |
1 // 1 2 // ******************************************* 3 // * License and Disclaimer 4 // * 5 // * The Geant4 software is copyright of th 6 // * the Geant4 Collaboration. It is provided 7 // * conditions of the Geant4 Software License 8 // * LICENSE and available at http://cern.ch/ 9 // * include a list of copyright holders. 10 // * 11 // * Neither the authors of this software syst 12 // * institutes,nor the agencies providing fin 13 // * work make any representation or warran 14 // * regarding this software system or assum 15 // * use. Please see the license in the file 16 // * for the full disclaimer and the limitatio 17 // * 18 // * This code implementation is the result 19 // * technical work of the GEANT4 collaboratio 20 // * By using, copying, modifying or distri 21 // * any work based on the software) you ag 22 // * use in resulting scientific publicati 23 // * acceptance of all terms of the Geant4 Sof 24 // ******************************************* 25 // 26 // 27 // Author: Luciano Pandola 28 // on base of G4LowEnergyIonisation de 29 // 30 // History: 31 // ----------- 32 // 12 Jan 2009 L. Pandola 1st implementati 33 // to EM model. Phy 34 // 23 Oct 2009 L. Pandola remove un-necess 35 // deexcitation (do 36 // 01 Jun 2011 V Ivanchenko general cleanup 37 // 04 Jul 2011 L Pandola removed unused p 38 // 39 // ------------------------------------------- 40 // 41 // Class description: 42 // Low Energy Electromagnetic Physics, e- ioni 43 // with Livermore Model 44 // ------------------------------------------- 45 46 #ifndef G4LIVERMOREIONISATIONMODEL_HH 47 #define G4LIVERMOREIONISATIONMODEL_HH 1 48 49 #include "G4VEmModel.hh" 50 #include "globals.hh" 51 52 class G4eIonisationCrossSectionHandler; 53 class G4VEnergySpectrum; 54 class G4ParticleChangeForLoss; 55 class G4AtomicTransitionManager; 56 57 class G4LivermoreIonisationModel : public G4VE 58 { 59 public: 60 G4LivermoreIonisationModel(const G4ParticleD 61 const G4String& processName = "LowE 62 virtual ~G4LivermoreIonisationModel(); 63 64 void Initialise(const G4ParticleDefinition*, 65 66 67 G4double ComputeCrossSectionPerAtom(const G4 68 G4double kinEnergy, 69 G4double Z, 70 G4double A=0, 71 G4double cut=0, 72 G4double emax=DBL_MAX) override; 73 74 void SampleSecondaries(std::vector<G4Dynamic 75 const G4MaterialCutsCouple*, 76 const G4DynamicParticle*, 77 G4double tmin, 78 G4double maxEnergy) override; 79 80 G4double ComputeDEDXPerVolume(const G4Materi 81 const G4ParticleDefinition*, 82 G4double kineticEnergy, 83 G4double cutEnergy) override; 84 85 void SetVerboseLevel(G4int vl) {verboseLevel 86 G4int GetVerboseLevel(){return verboseLevel; 87 88 G4LivermoreIonisationModel & operator=(const 89 G4LivermoreIonisationModel(const G4Livermore 90 91 protected: 92 G4ParticleChangeForLoss* fParticleChange; 93 94 private: 95 G4eIonisationCrossSectionHandler* crossSecti 96 G4VEnergySpectrum* energySpectrum; 97 G4AtomicTransitionManager* transitionManager 98 99 //Intrinsic energy limits of the model: cann 100 G4double fIntrinsicLowEnergyLimit; 101 G4double fIntrinsicHighEnergyLimit; 102 G4int verboseLevel; 103 G4bool isInitialised; 104 }; 105 106 #endif 107 108