1 | // |
---|
2 | // ******************************************************************** |
---|
3 | // * License and Disclaimer * |
---|
4 | // * * |
---|
5 | // * The Geant4 software is copyright of the Copyright Holders of * |
---|
6 | // * the Geant4 Collaboration. It is provided under the terms and * |
---|
7 | // * conditions of the Geant4 Software License, included in the file * |
---|
8 | // * LICENSE and available at http://cern.ch/geant4/license . These * |
---|
9 | // * include a list of copyright holders. * |
---|
10 | // * * |
---|
11 | // * Neither the authors of this software system, nor their employing * |
---|
12 | // * institutes,nor the agencies providing financial support for this * |
---|
13 | // * work make any representation or warranty, express or implied, * |
---|
14 | // * regarding this software system or assume any liability for its * |
---|
15 | // * use. Please see the license in the file LICENSE and URL above * |
---|
16 | // * for the full disclaimer and the limitation of liability. * |
---|
17 | // * * |
---|
18 | // * This code implementation is the result of the scientific and * |
---|
19 | // * technical work of the GEANT4 collaboration. * |
---|
20 | // * By using, copying, modifying or distributing the software (or * |
---|
21 | // * any work based on the software) you agree to acknowledge its * |
---|
22 | // * use in resulting scientific publications, and indicate your * |
---|
23 | // * acceptance of all terms of the Geant4 Software license. * |
---|
24 | // ******************************************************************** |
---|
25 | // |
---|
26 | // |
---|
27 | // $Id: G4IonisParamElm.hh,v 1.9 2006/06/29 19:11:02 gunter Exp $ |
---|
28 | // GEANT4 tag $Name: $ |
---|
29 | // |
---|
30 | |
---|
31 | // class description |
---|
32 | // |
---|
33 | // The class contains few (physical) quantities related to the Ionisation |
---|
34 | // process, for the Element defined by its atomic number Z |
---|
35 | // |
---|
36 | |
---|
37 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo.... |
---|
38 | |
---|
39 | // 09.03.01: copy constructor and assignement operator in public (mma) |
---|
40 | // 09.07.98: data moved from G4Element (mma) |
---|
41 | |
---|
42 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo.... |
---|
43 | |
---|
44 | #ifndef G4IonisParamElm_HH |
---|
45 | #define G4IonisParamElm_HH |
---|
46 | |
---|
47 | #include "G4ios.hh" |
---|
48 | #include "globals.hh" |
---|
49 | |
---|
50 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo.... |
---|
51 | |
---|
52 | class G4IonisParamElm |
---|
53 | { |
---|
54 | public: // with description |
---|
55 | |
---|
56 | G4IonisParamElm(G4double Z); |
---|
57 | virtual ~G4IonisParamElm(); |
---|
58 | |
---|
59 | // retrieval methods |
---|
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 | // 16*std::pow(Z,0.9)*eV |
---|
78 | |
---|
79 | G4double* GetShellCorrectionVector() const {return fShellCorrectionVector;} |
---|
80 | // shell correction coefficients |
---|
81 | |
---|
82 | public: // without description |
---|
83 | |
---|
84 | G4IonisParamElm(G4IonisParamElm&); |
---|
85 | const G4IonisParamElm& operator=(const G4IonisParamElm&); |
---|
86 | G4int operator==(const G4IonisParamElm&) const; |
---|
87 | G4int operator!=(const G4IonisParamElm&) const; |
---|
88 | |
---|
89 | G4IonisParamElm(__void__&); |
---|
90 | // Fake default constructor for usage restricted to direct object |
---|
91 | // persistency for clients requiring preallocation of memory for |
---|
92 | // persistifiable objects. |
---|
93 | |
---|
94 | private: |
---|
95 | |
---|
96 | // |
---|
97 | // data members |
---|
98 | // |
---|
99 | G4double fZ; // effective Z |
---|
100 | G4double fZ3; // std::pow (Z,1/3) |
---|
101 | G4double fZZ3; // std::pow (Z(Z+1),1/3) |
---|
102 | G4double flogZ3; // std::log(Z)/3 |
---|
103 | |
---|
104 | // ------ ionisation loss --------------------------------- |
---|
105 | |
---|
106 | G4double fTau0 ; // 0.1*std::pow(Z,1/3)*MeV/proton_mass_c2 |
---|
107 | G4double fTaul ; // 2*MeV/proton mass |
---|
108 | G4double fBetheBlochLow; // Bethe-Bloch at fTaul*particle mass |
---|
109 | G4double fAlow,fBlow,fClow; // parameters for the low energy ion.loss |
---|
110 | G4double fMeanExcitationEnergy; // |
---|
111 | G4double* fShellCorrectionVector; // shell correction coefficients |
---|
112 | }; |
---|
113 | |
---|
114 | #endif |
---|