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 // class description 26 // class description 27 // 27 // 28 // The class contains few (physical) quantitie 28 // The class contains few (physical) quantities related to the Ionisation 29 // process, for the Element defined by its ato 29 // process, for the Element defined by its atomic number Z 30 // 30 // 31 // 09.03.01: copy constructor and assignement 31 // 09.03.01: copy constructor and assignement operator in public (mma) 32 // 09.07.98: data moved from G4Element (mma) 32 // 09.07.98: data moved from G4Element (mma) 33 33 34 #ifndef G4IonisParamElm_HH 34 #ifndef G4IonisParamElm_HH 35 #define G4IonisParamElm_HH 35 #define G4IonisParamElm_HH 36 36 37 #include "G4ios.hh" 37 #include "G4ios.hh" 38 #include "globals.hh" 38 #include "globals.hh" 39 39 40 class G4IonisParamElm 40 class G4IonisParamElm 41 { 41 { 42 public: // with description 42 public: // with description 43 G4IonisParamElm(G4double Z); 43 G4IonisParamElm(G4double Z); 44 ~G4IonisParamElm(); 44 ~G4IonisParamElm(); 45 G4IonisParamElm& operator=(const G4IonisPara 45 G4IonisParamElm& operator=(const G4IonisParamElm&) = delete; 46 G4IonisParamElm(G4IonisParamElm&) = delete; 46 G4IonisParamElm(G4IonisParamElm&) = delete; 47 47 48 // retrieval methods 48 // retrieval methods 49 49 50 // atomic number Z 50 // atomic number Z 51 G4double GetZ() const { return fZ; } 51 G4double GetZ() const { return fZ; } 52 52 53 // std::pow (Z,1/3) 53 // std::pow (Z,1/3) 54 G4double GetZ3() const { return fZ3; } 54 G4double GetZ3() const { return fZ3; } 55 55 56 // std::pow (Z(Z+1),1/3) 56 // std::pow (Z(Z+1),1/3) 57 G4double GetZZ3() const { return fZZ3; } 57 G4double GetZZ3() const { return fZZ3; } 58 58 59 // std::log(Z)/3 59 // std::log(Z)/3 60 G4double GetlogZ3() const { return flogZ3; } 60 G4double GetlogZ3() const { return flogZ3; } 61 61 62 // 0.1*std::pow(Z,1/3)*MeV/proton_mass_c2 62 // 0.1*std::pow(Z,1/3)*MeV/proton_mass_c2 63 G4double GetTau0() const { return fTau0; }; 63 G4double GetTau0() const { return fTau0; }; 64 64 65 // 2*MeV/proton mass 65 // 2*MeV/proton mass 66 G4double GetTaul() const { return fTaul; } 66 G4double GetTaul() const { return fTaul; } 67 67 68 // parameters for the low energy ion.loss 68 // parameters for the low energy ion.loss 69 G4double GetAlow() const { return fAlow; } 69 G4double GetAlow() const { return fAlow; } 70 G4double GetBlow() const { return fBlow; } 70 G4double GetBlow() const { return fBlow; } 71 G4double GetClow() const { return fClow; } 71 G4double GetClow() const { return fClow; } 72 72 73 // ICRU'37 report 73 // ICRU'37 report 74 G4double GetMeanExcitationEnergy() const { r 74 G4double GetMeanExcitationEnergy() const { return fMeanExcitationEnergy; } 75 75 76 G4double GetFermiVelocity() const { return f 76 G4double GetFermiVelocity() const { return fVFermi; }; 77 G4double GetLFactor() const { return fLFacto 77 G4double GetLFactor() const { return fLFactor; }; 78 78 79 // shell correction coefficients 79 // shell correction coefficients 80 G4double* GetShellCorrectionVector() const { 80 G4double* GetShellCorrectionVector() const { return fShellCorrectionVector; } 81 81 82 G4bool operator==(const G4IonisParamElm&) co 82 G4bool operator==(const G4IonisParamElm&) const = delete; 83 G4bool operator!=(const G4IonisParamElm&) co 83 G4bool operator!=(const G4IonisParamElm&) const = delete; 84 84 85 private: 85 private: 86 // 86 // 87 // data members 87 // data members 88 // 88 // 89 G4double fZ; // effective Z 89 G4double fZ; // effective Z 90 G4double fZ3; // std::pow (Z,1/3) 90 G4double fZ3; // std::pow (Z,1/3) 91 G4double fZZ3; // std::pow (Z(Z+1),1/3) 91 G4double fZZ3; // std::pow (Z(Z+1),1/3) 92 G4double flogZ3; // std::log(Z)/3 92 G4double flogZ3; // std::log(Z)/3 93 93 94 // ------ ionisation loss ----------------- 94 // ------ ionisation loss --------------------------------- 95 95 96 G4double fTau0; // 0.1*std::pow(Z,1/3)*MeV/ 96 G4double fTau0; // 0.1*std::pow(Z,1/3)*MeV/proton_mass_c2 97 G4double fTaul; // 2*MeV/proton mass 97 G4double fTaul; // 2*MeV/proton mass 98 G4double fBetheBlochLow; // Bethe-Bloch at 98 G4double fBetheBlochLow; // Bethe-Bloch at fTaul*particle mass 99 G4double fAlow, fBlow, fClow; // parameters 99 G4double fAlow, fBlow, fClow; // parameters for the low energy ion.loss 100 G4double fMeanExcitationEnergy; // 100 G4double fMeanExcitationEnergy; // 101 G4double* fShellCorrectionVector; // shell 101 G4double* fShellCorrectionVector; // shell correction coefficients 102 102 103 // parameters for ion corrections computatio 103 // parameters for ion corrections computations 104 G4double fVFermi; 104 G4double fVFermi; 105 G4double fLFactor; 105 G4double fLFactor; 106 }; 106 }; 107 107 108 #endif 108 #endif 109 109