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