Geant4
10.01.p01
|
#include <G4NuclearLevelManager.hh>
Public Member Functions | |
G4NuclearLevelManager (G4int Z, G4int A, const G4String &filename) | |
G4NuclearLevelManager (const G4NuclearLevelManager &right) | |
~G4NuclearLevelManager () | |
void | SetNucleus (G4int Z, G4int A, const G4String &filename) |
G4bool | IsValid () const |
G4int | NumberOfLevels () const |
const G4NuclearLevel * | GetLevel (G4int i) const |
const G4NuclearLevel * | NearestLevel (G4double energy, G4double eDiffMax=1.e+8) const |
const G4NuclearLevel * | LowestLevel () const |
const G4NuclearLevel * | HighestLevel () const |
G4double | MinLevelEnergy () const |
G4double | MaxLevelEnergy () const |
void | PrintLevels () |
void | PrintAll () |
Private Member Functions | |
const G4NuclearLevelManager & | operator= (const G4NuclearLevelManager &right) |
G4bool | operator== (const G4NuclearLevelManager &right) const |
G4bool | operator!= (const G4NuclearLevelManager &right) const |
G4bool | Read (std::ifstream &aDataFile) |
G4bool | ReadDataLine (std::ifstream &dataFile) |
G4bool | ReadDataItem (std::istream &dataFile, G4double &x) |
void | ProcessDataLine () |
void | MakeLevels (const G4String &filename) |
void | ClearLevels () |
G4NuclearLevel * | UseLevelOrMakeNew (G4NuclearLevel *level) |
void | AddDataToLevel (G4NuclearLevel *level) |
void | FinishLevel (G4NuclearLevel *level) |
Private Attributes | |
G4int | _nucleusA |
G4int | _nucleusZ |
G4bool | _validity |
G4PtrLevelVector * | _levels |
Static Private Attributes | |
static G4double | _levelEnergy =0. |
static G4double | _gammaEnergy =0. |
static G4double | _probability =0. |
static G4double | _polarity =0. |
static G4double | _halfLife =0. |
static G4double | _angularMomentum =0. |
static G4double | _kCC =0. |
static G4double | _l1CC =0. |
static G4double | _l2CC =0. |
static G4double | _l3CC =0. |
static G4double | _m1CC =0. |
static G4double | _m2CC =0. |
static G4double | _m3CC =0. |
static G4double | _m4CC =0. |
static G4double | _m5CC =0. |
static G4double | _nPlusCC =0. |
static G4double | _totalCC =0. |
Definition at line 65 of file G4NuclearLevelManager.hh.
Definition at line 82 of file G4NuclearLevelManager.cc.
References MakeLevels().
G4NuclearLevelManager::G4NuclearLevelManager | ( | const G4NuclearLevelManager & | right | ) |
Definition at line 399 of file G4NuclearLevelManager.cc.
References _levels, _nucleusA, _nucleusZ, _validity, GetLevel(), and n.
G4NuclearLevelManager::~G4NuclearLevelManager | ( | ) |
Definition at line 94 of file G4NuclearLevelManager.cc.
References ClearLevels().
|
private |
Definition at line 339 of file G4NuclearLevelManager.cc.
References G4NuclearLevel::_energies, _gammaEnergy, _kCC, G4NuclearLevel::_kCC, _l1CC, G4NuclearLevel::_l1CC, _l2CC, G4NuclearLevel::_l2CC, _l3CC, G4NuclearLevel::_l3CC, _m1CC, G4NuclearLevel::_m1CC, _m2CC, G4NuclearLevel::_m2CC, _m3CC, G4NuclearLevel::_m3CC, _m4CC, G4NuclearLevel::_m4CC, _m5CC, G4NuclearLevel::_m5CC, _nPlusCC, G4NuclearLevel::_nPlusCC, G4NuclearLevel::_polarities, _polarity, _probability, _totalCC, G4NuclearLevel::_totalCC, and G4NuclearLevel::_weights.
Referenced by MakeLevels().
|
private |
Definition at line 272 of file G4NuclearLevelManager.cc.
References _levels, _validity, and NumberOfLevels().
Referenced by MakeLevels(), and ~G4NuclearLevelManager().
|
private |
Definition at line 359 of file G4NuclearLevelManager.cc.
References _levels, and G4NuclearLevel::Finalize().
Referenced by MakeLevels(), and UseLevelOrMakeNew().
const G4NuclearLevel * G4NuclearLevelManager::GetLevel | ( | G4int | i | ) | const |
Definition at line 113 of file G4NuclearLevelManager.cc.
References NumberOfLevels().
Referenced by G4NuclearLevelManager(), NearestLevel(), PrintAll(), and PrintLevels().
const G4NuclearLevel * G4NuclearLevelManager::HighestLevel | ( | ) | const |
Definition at line 153 of file G4NuclearLevelManager.cc.
References _levels, and NumberOfLevels().
|
inline |
Definition at line 77 of file G4NuclearLevelManager.hh.
References _validity.
const G4NuclearLevel * G4NuclearLevelManager::LowestLevel | ( | ) | const |
Definition at line 158 of file G4NuclearLevelManager.cc.
References _levels, and NumberOfLevels().
|
private |
Definition at line 285 of file G4NuclearLevelManager.cc.
References _levels, _nucleusA, _nucleusZ, _validity, AddDataToLevel(), ClearLevels(), FinishLevel(), G4cout, G4endl, NumberOfLevels(), Read(), and UseLevelOrMakeNew().
Referenced by G4NuclearLevelManager(), and SetNucleus().
G4double G4NuclearLevelManager::MaxLevelEnergy | ( | ) | const |
Definition at line 148 of file G4NuclearLevelManager.cc.
References _levels, GeV, and NumberOfLevels().
Referenced by G4ContinuumGammaDeexcitation::CanDoTransition(), G4DiscreteGammaDeexcitation::CanDoTransition(), and PrintAll().
G4double G4NuclearLevelManager::MinLevelEnergy | ( | ) | const |
Definition at line 143 of file G4NuclearLevelManager.cc.
References _levels, GeV, and NumberOfLevels().
Referenced by G4DiscreteGammaDeexcitation::CanDoTransition(), PrintAll(), and G4ContinuumGammaTransition::Update().
const G4NuclearLevel * G4NuclearLevelManager::NearestLevel | ( | G4double | energy, |
G4double | eDiffMax = 1.e+8 |
||
) | const |
Definition at line 118 of file G4NuclearLevelManager.cc.
References _levels, G4NuclearLevel::Energy(), GetLevel(), and NumberOfLevels().
Referenced by G4RadioactiveDecay::AddDecayRateTable(), G4DiscreteGammaDeexcitation::CanDoTransition(), G4RIsotopeTable::GetMeanLifeTime(), and G4ContinuumGammaTransition::SelectGamma().
|
inline |
Definition at line 79 of file G4NuclearLevelManager.hh.
References _levels.
Referenced by G4RadioactiveDecay::AddDecayRateTable(), ClearLevels(), GetLevel(), HighestLevel(), LowestLevel(), MakeLevels(), MaxLevelEnergy(), MinLevelEnergy(), NearestLevel(), PrintAll(), and PrintLevels().
|
private |
|
private |
|
private |
void G4NuclearLevelManager::PrintAll | ( | void | ) |
Definition at line 368 of file G4NuclearLevelManager.cc.
References _nucleusA, _nucleusZ, G4cout, G4endl, GetLevel(), MaxLevelEnergy(), MinLevelEnergy(), NumberOfLevels(), and G4NuclearLevel::PrintAll().
void G4NuclearLevelManager::PrintLevels | ( | ) |
Definition at line 383 of file G4NuclearLevelManager.cc.
References _nucleusA, _nucleusZ, G4cout, G4endl, GetLevel(), G4NucleiProperties::GetNuclearMass(), NumberOfLevels(), and G4NuclearLevel::PrintLevels().
|
private |
Definition at line 221 of file G4NuclearLevelManager.cc.
References _gammaEnergy, _halfLife, _kCC, _l1CC, _l2CC, _l3CC, _levelEnergy, _m1CC, _m2CC, _m3CC, _m4CC, _m5CC, _nPlusCC, _probability, keV, and second.
Referenced by Read().
|
private |
Definition at line 163 of file G4NuclearLevelManager.cc.
References ProcessDataLine(), and ReadDataLine().
Referenced by MakeLevels().
Definition at line 207 of file G4NuclearLevelManager.cc.
References buffer.
Referenced by ReadDataLine().
|
private |
Definition at line 173 of file G4NuclearLevelManager.cc.
References _angularMomentum, _gammaEnergy, _halfLife, _kCC, _l1CC, _l2CC, _l3CC, _levelEnergy, _m1CC, _m2CC, _m3CC, _m4CC, _m5CC, _nPlusCC, _polarity, _probability, _totalCC, and ReadDataItem().
Referenced by Read().
Definition at line 99 of file G4NuclearLevelManager.cc.
References _nucleusA, _nucleusZ, A, and MakeLevels().
|
private |
Definition at line 329 of file G4NuclearLevelManager.cc.
References _angularMomentum, _halfLife, _levelEnergy, G4NuclearLevel::Energy(), and FinishLevel().
Referenced by MakeLevels().
|
staticprivate |
Definition at line 126 of file G4NuclearLevelManager.hh.
Referenced by ReadDataLine(), and UseLevelOrMakeNew().
|
staticprivate |
Definition at line 122 of file G4NuclearLevelManager.hh.
Referenced by AddDataToLevel(), ProcessDataLine(), and ReadDataLine().
|
staticprivate |
Definition at line 125 of file G4NuclearLevelManager.hh.
Referenced by ProcessDataLine(), ReadDataLine(), and UseLevelOrMakeNew().
|
staticprivate |
Definition at line 127 of file G4NuclearLevelManager.hh.
Referenced by AddDataToLevel(), ProcessDataLine(), and ReadDataLine().
|
staticprivate |
Definition at line 128 of file G4NuclearLevelManager.hh.
Referenced by AddDataToLevel(), ProcessDataLine(), and ReadDataLine().
|
staticprivate |
Definition at line 129 of file G4NuclearLevelManager.hh.
Referenced by AddDataToLevel(), ProcessDataLine(), and ReadDataLine().
|
staticprivate |
Definition at line 130 of file G4NuclearLevelManager.hh.
Referenced by AddDataToLevel(), ProcessDataLine(), and ReadDataLine().
|
staticprivate |
Definition at line 121 of file G4NuclearLevelManager.hh.
Referenced by ProcessDataLine(), ReadDataLine(), and UseLevelOrMakeNew().
|
private |
Definition at line 117 of file G4NuclearLevelManager.hh.
Referenced by ClearLevels(), FinishLevel(), G4NuclearLevelManager(), HighestLevel(), LowestLevel(), MakeLevels(), MaxLevelEnergy(), MinLevelEnergy(), NearestLevel(), and NumberOfLevels().
|
staticprivate |
Definition at line 131 of file G4NuclearLevelManager.hh.
Referenced by AddDataToLevel(), ProcessDataLine(), and ReadDataLine().
|
staticprivate |
Definition at line 132 of file G4NuclearLevelManager.hh.
Referenced by AddDataToLevel(), ProcessDataLine(), and ReadDataLine().
|
staticprivate |
Definition at line 133 of file G4NuclearLevelManager.hh.
Referenced by AddDataToLevel(), ProcessDataLine(), and ReadDataLine().
|
staticprivate |
Definition at line 134 of file G4NuclearLevelManager.hh.
Referenced by AddDataToLevel(), ProcessDataLine(), and ReadDataLine().
|
staticprivate |
Definition at line 135 of file G4NuclearLevelManager.hh.
Referenced by AddDataToLevel(), ProcessDataLine(), and ReadDataLine().
|
staticprivate |
Definition at line 136 of file G4NuclearLevelManager.hh.
Referenced by AddDataToLevel(), ProcessDataLine(), and ReadDataLine().
|
private |
Definition at line 113 of file G4NuclearLevelManager.hh.
Referenced by G4NuclearLevelManager(), MakeLevels(), PrintAll(), PrintLevels(), and SetNucleus().
|
private |
Definition at line 114 of file G4NuclearLevelManager.hh.
Referenced by G4NuclearLevelManager(), MakeLevels(), PrintAll(), PrintLevels(), and SetNucleus().
|
staticprivate |
Definition at line 124 of file G4NuclearLevelManager.hh.
Referenced by AddDataToLevel(), and ReadDataLine().
|
staticprivate |
Definition at line 123 of file G4NuclearLevelManager.hh.
Referenced by AddDataToLevel(), ProcessDataLine(), and ReadDataLine().
|
staticprivate |
Definition at line 137 of file G4NuclearLevelManager.hh.
Referenced by AddDataToLevel(), and ReadDataLine().
|
private |
Definition at line 116 of file G4NuclearLevelManager.hh.
Referenced by ClearLevels(), G4NuclearLevelManager(), IsValid(), and MakeLevels().