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 // Author: Luciano Pandola 27 // Author: Luciano Pandola 28 // on base of G4LowEnergyIonisation de 28 // on base of G4LowEnergyIonisation developed by A.Forti and V.Ivanchenko 29 // 29 // 30 // History: 30 // History: 31 // ----------- 31 // ----------- 32 // 12 Jan 2009 L. Pandola 1st implementati 32 // 12 Jan 2009 L. Pandola 1st implementation. Migration from EM process 33 // to EM model. Phy 33 // to EM model. Physics is unchanged. 34 // 23 Oct 2009 L. Pandola remove un-necess 34 // 23 Oct 2009 L. Pandola remove un-necessary methods to manage atomic 35 // deexcitation (do 35 // deexcitation (done by G4VEmModel) 36 // 01 Jun 2011 V Ivanchenko general cleanup 36 // 01 Jun 2011 V Ivanchenko general cleanup - all old deexcitation code removed 37 // 04 Jul 2011 L Pandola removed unused p 37 // 04 Jul 2011 L Pandola removed unused private member 38 // 38 // 39 // ------------------------------------------- 39 // ------------------------------------------------------------------- 40 // 40 // 41 // Class description: 41 // Class description: 42 // Low Energy Electromagnetic Physics, e- ioni 42 // Low Energy Electromagnetic Physics, e- ionisation 43 // with Livermore Model 43 // with Livermore Model 44 // ------------------------------------------- 44 // ------------------------------------------------------------------- 45 45 46 #ifndef G4LIVERMOREIONISATIONMODEL_HH 46 #ifndef G4LIVERMOREIONISATIONMODEL_HH 47 #define G4LIVERMOREIONISATIONMODEL_HH 1 47 #define G4LIVERMOREIONISATIONMODEL_HH 1 48 48 49 #include "G4VEmModel.hh" 49 #include "G4VEmModel.hh" 50 #include "globals.hh" 50 #include "globals.hh" 51 51 52 class G4eIonisationCrossSectionHandler; 52 class G4eIonisationCrossSectionHandler; 53 class G4VEnergySpectrum; 53 class G4VEnergySpectrum; 54 class G4ParticleChangeForLoss; 54 class G4ParticleChangeForLoss; 55 class G4AtomicTransitionManager; 55 class G4AtomicTransitionManager; 56 56 57 class G4LivermoreIonisationModel : public G4VE 57 class G4LivermoreIonisationModel : public G4VEmModel 58 { 58 { >> 59 59 public: 60 public: 60 G4LivermoreIonisationModel(const G4ParticleD << 61 61 const G4String& processName = "LowE << 62 G4LivermoreIonisationModel(const G4ParticleDefinition* p=0, >> 63 const G4String& processName = "LowEnergyIoni"); >> 64 62 virtual ~G4LivermoreIonisationModel(); 65 virtual ~G4LivermoreIonisationModel(); 63 66 64 void Initialise(const G4ParticleDefinition*, << 67 virtual void Initialise(const G4ParticleDefinition*, const G4DataVector&); 65 68 66 69 67 G4double ComputeCrossSectionPerAtom(const G4 << 70 virtual G4double ComputeCrossSectionPerAtom(const G4ParticleDefinition*, 68 G4double kinEnergy, << 71 G4double kinEnergy, 69 G4double Z, << 72 G4double Z, 70 G4double A=0, << 73 G4double A=0, 71 G4double cut=0, << 74 G4double cut=0, 72 G4double emax=DBL_MAX) override; << 75 G4double emax=DBL_MAX); 73 76 74 void SampleSecondaries(std::vector<G4Dynamic << 77 virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*, 75 const G4MaterialCutsCouple*, << 78 const G4MaterialCutsCouple*, 76 const G4DynamicParticle*, << 79 const G4DynamicParticle*, 77 G4double tmin, << 80 G4double tmin, 78 G4double maxEnergy) override; << 81 G4double maxEnergy); 79 82 80 G4double ComputeDEDXPerVolume(const G4Materi << 83 virtual G4double ComputeDEDXPerVolume(const G4Material*, 81 const G4ParticleDefinition*, << 84 const G4ParticleDefinition*, 82 G4double kineticEnergy, << 85 G4double kineticEnergy, 83 G4double cutEnergy) override; << 86 G4double cutEnergy); 84 87 85 void SetVerboseLevel(G4int vl) {verboseLevel 88 void SetVerboseLevel(G4int vl) {verboseLevel = vl;}; 86 G4int GetVerboseLevel(){return verboseLevel; 89 G4int GetVerboseLevel(){return verboseLevel;}; 87 << 88 G4LivermoreIonisationModel & operator=(const << 89 G4LivermoreIonisationModel(const G4Livermore << 90 90 91 protected: 91 protected: >> 92 92 G4ParticleChangeForLoss* fParticleChange; 93 G4ParticleChangeForLoss* fParticleChange; 93 94 94 private: 95 private: 95 G4eIonisationCrossSectionHandler* crossSecti << 96 96 G4VEnergySpectrum* energySpectrum; << 97 G4LivermoreIonisationModel & operator=(const G4LivermoreIonisationModel &right); 97 G4AtomicTransitionManager* transitionManager << 98 G4LivermoreIonisationModel(const G4LivermoreIonisationModel&); 98 99 99 //Intrinsic energy limits of the model: cann 100 //Intrinsic energy limits of the model: cannot be extended by the parent process 100 G4double fIntrinsicLowEnergyLimit; 101 G4double fIntrinsicLowEnergyLimit; 101 G4double fIntrinsicHighEnergyLimit; << 102 G4double fIntrinsicHighEnergyLimit; 102 G4int verboseLevel; << 103 103 G4bool isInitialised; 104 G4bool isInitialised; >> 105 >> 106 G4int verboseLevel; >> 107 >> 108 G4eIonisationCrossSectionHandler* crossSectionHandler; >> 109 G4VEnergySpectrum* energySpectrum; >> 110 >> 111 G4AtomicTransitionManager* transitionManager; 104 }; 112 }; 105 113 106 #endif 114 #endif 107 115 108 116