#include <G4RIsotopeTable.hh>
Definition at line 64 of file G4RIsotopeTable.hh.
◆ G4IsotopeList
◆ G4IsotopeNameList
◆ G4RIsotopeTable() [1/2]
G4RIsotopeTable::G4RIsotopeTable |
( |
| ) |
|
Definition at line 84 of file G4RIsotopeTable.cc.
85{
86
87
88 theUserRadioactiveDataFiles.clear();
89}
◆ G4RIsotopeTable() [2/2]
◆ ~G4RIsotopeTable()
G4RIsotopeTable::~G4RIsotopeTable |
( |
| ) |
|
|
virtual |
Definition at line 93 of file G4RIsotopeTable.cc.
94{
95 fIsotopeList.clear();
96 fIsotopeNameList.clear();
97}
◆ AddUserDecayDataFile()
Definition at line 270 of file G4RIsotopeTable.cc.
271{ if (Z<1 || A<2) {
273 }
274
275 std::ifstream DecaySchemeFile(filename);
276 if (DecaySchemeFile){
277 G4int ID_ion=A*1000+Z;
278 theUserRadioactiveDataFiles[ID_ion]=filename;
279 }
280 else {
281 G4cout<<
"The file "<<filename<<
" does not exist!"<<
G4endl;
282 }
283}
G4DLLIMPORT std::ostream G4cout
Referenced by G4RadioactiveDecay::AddUserDecayDataFile().
◆ FindIsotope()
◆ GetIsotope()
Implements G4VIsotopeTable.
Definition at line 114 of file G4RIsotopeTable.cc.
115{
116 G4String fname = GetIsotopeName(Z, A, E);
118 for (
G4int i = 0 ; i< Entries(); i++) {
119 if(fIsotopeNameList[i] == fname) j = i;}
120 if (j >=0) {
121 if (GetVerboseLevel()>1) {
122 G4cout <<
"G4RIsotopeTable::GetIsotope No. : ";
124 }
126
127 else{
128 G4double meanlife = GetMeanLifeTime(Z, A, E);
129
130
131
132
133
134
136
140
142
144
146
147 fIsotopeList.push_back(fProperty);
148 fname = GetIsotopeName(Z, A, E);
149 fIsotopeNameList.push_back(fname);
150 if (GetVerboseLevel()>1) {
151 G4cout <<
"G4RIsotopeTable::GetIsotope create: ";
153 }
154 return fProperty;
155
156 }
157}
void SetAtomicMass(G4int A)
void SetDecayTable(G4DecayTable *table)
void SetEnergy(G4double E)
void SetAtomicNumber(G4int Z)
void SetLifeTime(G4double T)
virtual G4IsotopeProperty * GetIsotope(G4int Z, G4int A, G4double E)
Referenced by GetIsotope().
◆ operator=()
The documentation for this class was generated from the following files: