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