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