Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4IsotopeProperty.hh
이 파일의 문서화 페이지로 가기
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: G4IsotopeProperty.hh 96314 2016-04-06 07:21:51Z gcosmo $
28 //
29 //
30 // ------------------------------------------------------------
31 // GEANT 4 class header file
32 //
33 // ------------------------------------------------------------
34 // New design using G4VIsotopeTable 5 Oct. 99 H.Kurashige
35 // Add Magnetic Moment 14 Mar 07 H.Kurashige
36 // Add isomer level 30 Apr. H.Kurashige
37 
38 
39 #ifndef G4IsotopeProperty_h
40 #define G4IsotopeProperty_h 1
41 
42 #include "globals.hh"
43 class G4DecayTable;
44 #include "G4Ions.hh"
46 {
47  // Class Description
48  // G4IsotopeProperty contains properties of an isotope
49  //
50 
51  public:
53 
54  // copy construictor
56 
57  // Assignment operator
59 
60  // equal / unequal operator
61  G4int operator==(const G4IsotopeProperty &right) const;
62  G4int operator!=(const G4IsotopeProperty &right) const;
63 
64  // destructor
65  virtual ~G4IsotopeProperty();
66 
67 
68  public: // With Description
69  // Set/Get Atomic Number
70  G4int GetAtomicNumber() const;
71  void SetAtomicNumber(G4int Z);
72 
73  // Set/Get Atomic Mass
74  G4int GetAtomicMass() const;
75  void SetAtomicMass(G4int A);
76 
77  // Set/Get spin
78  G4int GetiSpin() const;
79  void SetiSpin(G4int J);
80 
81  // Set/Get Magentic Moment
84 
85  // Set/Get Excited Energy
86  G4double GetEnergy() const;
87  void SetEnergy(G4double E);
88 
89  // Set/Get isomer lervel
90  G4int GetIsomerLevel() const;
91  void SetIsomerLevel(G4int level);
92 
93  // Set/Get floating level base
96  void SetFloatLevelBase(G4int flbIndex);
97 
98  // Set/Get life time
99  G4double GetLifeTime() const;
100  void SetLifeTime(G4double T);
101 
102  // Set/Get decay table
103  G4DecayTable* GetDecayTable() const;
104  void SetDecayTable(G4DecayTable* table);
105 
106  // Dump out information
107  void DumpInfo() const;
108 
109  private:
110  G4int fAtomicNumber; // number of proton
111  G4int fAtomicMass; // number of nucleon
112  G4int fISpin; // total angular momentum (in unit of 1/2)
113  G4double fEnergy; // excited energy
114  G4double fLifeTime; // lifeTime
115  G4DecayTable* fDecayTable; // decay Table
116  G4double fMagneticMoment; // magnetic moment
117  G4int fIsomerLevel; // isomer level
119 };
120 
121 inline
123 {
124  return fAtomicNumber;
125 }
126 
127 inline
129 {
130  fAtomicNumber = Z;
131 }
132 
133 inline
135 {
136  return fAtomicMass;
137 }
138 
139 inline
141 {
142  fAtomicMass = A;
143 }
144 
145 inline
147 {
148  return fISpin;
149 }
150 
151 inline
153 {
154  fISpin = J;
155 }
156 
157 inline
159 {
160  return fMagneticMoment;
161 }
162 
163 inline
165 {
166  fMagneticMoment = M;
167 }
168 
169 inline
171 {
172  return fEnergy;
173 }
174 
175 inline
177 {
178  fEnergy = E;
179 }
180 
181 inline
183 {
184  return fIsomerLevel;
185 }
186 inline
188 {
189  fIsomerLevel = level;
190 }
191 
192 inline
194 {
195  return fLifeTime;
196 }
197 
198 inline
200 {
201  fLifeTime = T;
202 }
203 
204 inline
206 {
207  return fDecayTable;
208 }
209 
210 inline
212 {
213  fDecayTable = table;
214 }
215 
216 inline
218 {
219  return fFloatLevelBase;
220 }
221 
222 inline
224 {
225  fFloatLevelBase = flb;
226 }
227 
228 inline
230 {
232 }
233 
234 #endif
235 
236 
237 
238 
239 
240 
241 
242 
G4int operator==(const G4IsotopeProperty &right) const
G4IsotopeProperty & operator=(G4IsotopeProperty &right)
void SetEnergy(G4double E)
void DumpInfo() const
G4int operator!=(const G4IsotopeProperty &right) const
G4double GetLifeTime() const
void SetAtomicNumber(G4int Z)
G4FloatLevelBase
Definition: G4Ions.hh:95
Float_t Z
double G4double
Definition: G4Types.hh:76
G4int GetiSpin() const
G4int GetIsomerLevel() const
void SetAtomicMass(G4int A)
G4int GetAtomicMass() const
G4double GetMagneticMoment() const
double A(double temperature)
void SetIsomerLevel(G4int level)
void SetDecayTable(G4DecayTable *table)
G4Ions::G4FloatLevelBase fFloatLevelBase
void SetFloatLevelBase(G4Ions::G4FloatLevelBase flb)
G4int GetAtomicNumber() const
void SetMagneticMoment(G4double M)
int G4int
Definition: G4Types.hh:78
void SetLifeTime(G4double T)
G4DecayTable * GetDecayTable() const
void SetiSpin(G4int J)
G4DecayTable * fDecayTable
virtual ~G4IsotopeProperty()
G4double GetEnergy() const
G4Ions::G4FloatLevelBase GetFloatLevelBase() const
static G4Ions::G4FloatLevelBase FloatLevelBase(char flbChar)
Definition: G4Ions.hh:189