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