Geant4  10.03
G4LevelManager Class Reference

#include <G4LevelManager.hh>

+ Collaboration diagram for G4LevelManager:

Public Member Functions

 G4LevelManager (size_t ntrans, const std::vector< G4float > &energies, const std::vector< G4float > &lifetime, const std::vector< G4float > &lifetimegamma, const std::vector< G4int > &spin, const std::vector< G4int > &meta, const std::vector< const G4NucLevel * > &levels)
 
 ~G4LevelManager ()
 
size_t NumberOfTransitions () const
 
const G4NucLevelGetLevel (size_t i) const
 
G4float LevelEnergy (size_t i) const
 
G4float MaxLevelEnergy () const
 
size_t NearestLevelIndex (G4double energy, size_t index=0) const
 
size_t NearestLowEdgeLevelIndex (G4double energy) const
 
const G4NucLevelNearestLevel (G4double energy, size_t index=0) const
 
G4float NearestLevelEnergy (G4double energy, size_t index=0) const
 
G4float NearestLowEdgeLevelEnergy (G4double energy) const
 
G4float LifeTime (size_t i) const
 
G4float LifeTimeGamma (size_t i) const
 
G4int SpinParity (size_t i) const
 
G4int IsFloatingLevel (size_t i) const
 
const G4StringFloatingType (size_t i) const
 

Private Member Functions

 G4LevelManager (const G4LevelManager &right)=delete
 
const G4LevelManageroperator= (const G4LevelManager &right)=delete
 
G4bool operator== (const G4LevelManager &right) const =delete
 
G4bool operator!= (const G4LevelManager &right) const =delete
 

Private Attributes

std::vector< G4floatfLevelEnergy
 
std::vector< G4floatfLifeTime
 
std::vector< G4floatfLifeTimeGamma
 
std::vector< G4intfSpin
 
std::vector< G4intfFloating
 
std::vector< const G4NucLevel * > fLevels
 
size_t nTransitions
 

Static Private Attributes

static const G4int nfloting = 13
 
static G4String fFloatingLevels [nfloting]
 

Detailed Description

Definition at line 53 of file G4LevelManager.hh.

Constructor & Destructor Documentation

G4LevelManager::G4LevelManager ( size_t  ntrans,
const std::vector< G4float > &  energies,
const std::vector< G4float > &  lifetime,
const std::vector< G4float > &  lifetimegamma,
const std::vector< G4int > &  spin,
const std::vector< G4int > &  meta,
const std::vector< const G4NucLevel * > &  levels 
)

Definition at line 49 of file G4LevelManager.cc.

References fFloating, fLevelEnergy, fLevels, fLifeTime, fLifeTimeGamma, fSpin, and nTransitions.

G4LevelManager::~G4LevelManager ( )

Definition at line 79 of file G4LevelManager.cc.

References fLevels, and nTransitions.

G4LevelManager::G4LevelManager ( const G4LevelManager right)
privatedelete

Member Function Documentation

const G4String & G4LevelManager::FloatingType ( size_t  i) const

Definition at line 113 of file G4LevelManager.cc.

References fFloating, fFloatingLevels, and nTransitions.

const G4NucLevel * G4LevelManager::GetLevel ( size_t  i) const
inline

Definition at line 132 of file G4LevelManager.hh.

References fLevels, and nTransitions.

Referenced by G4PhotonEvaporation::GenerateGamma(), and NearestLevel().

+ Here is the caller graph for this function:

G4int G4LevelManager::IsFloatingLevel ( size_t  i) const
inline

Definition at line 207 of file G4LevelManager.hh.

References fFloating, and nTransitions.

Referenced by G4PhotonEvaporation::GenerateGamma().

+ Here is the caller graph for this function:

G4float G4LevelManager::LevelEnergy ( size_t  i) const
inline

Definition at line 140 of file G4LevelManager.hh.

References fLevelEnergy, and nTransitions.

Referenced by G4GEMChannelVI::FindLevel(), G4NuclearLevelData::FindLevel(), G4PhotonEvaporation::GenerateGamma(), G4FermiFragmentsPoolVI::Initialise(), NearestLevelEnergy(), and NearestLowEdgeLevelEnergy().

+ Here is the caller graph for this function:

G4float G4LevelManager::LifeTime ( size_t  i) const
inline

Definition at line 183 of file G4LevelManager.hh.

References fLifeTime, and nTransitions.

Referenced by G4RadioactiveDecay::AddDecayRateTable(), and G4PhotonEvaporation::GenerateGamma().

+ Here is the caller graph for this function:

G4float G4LevelManager::LifeTimeGamma ( size_t  i) const
inline

Definition at line 191 of file G4LevelManager.hh.

References fLifeTimeGamma, and nTransitions.

Referenced by G4PhotonEvaporation::GenerateGamma().

+ Here is the caller graph for this function:

G4float G4LevelManager::MaxLevelEnergy ( ) const
inline

Definition at line 148 of file G4LevelManager.hh.

References fLevelEnergy, and nTransitions.

Referenced by G4GEMChannelVI::G4GEMChannelVI(), G4PhotonEvaporation::InitialiseLevelManager(), and G4LevelReader::MakeLevelManager().

+ Here is the caller graph for this function:

const G4NucLevel * G4LevelManager::NearestLevel ( G4double  energy,
size_t  index = 0 
) const
inline

Definition at line 167 of file G4LevelManager.hh.

References GetLevel(), and NearestLevelIndex().

+ Here is the call graph for this function:

G4float G4LevelManager::NearestLevelEnergy ( G4double  energy,
size_t  index = 0 
) const
inline

Definition at line 173 of file G4LevelManager.hh.

References LevelEnergy(), and NearestLevelIndex().

Referenced by G4RadioactiveDecay::AddDecayRateTable(), G4PhotonEvaporation::GetFinalLevelEnergy(), and G4NuclearLevelData::GetLevelEnergy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

size_t G4LevelManager::NearestLevelIndex ( G4double  energy,
size_t  index = 0 
) const

Definition at line 85 of file G4LevelManager.cc.

References G4INCL::KinematicsUtils::energy(), fLevelEnergy, G4INCL::Math::min(), and nTransitions.

Referenced by G4RadioactiveDecay::AddDecayRateTable(), G4NuclearLevelData::FindLevel(), G4PhotonEvaporation::GenerateGamma(), NearestLevel(), and NearestLevelEnergy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4float G4LevelManager::NearestLowEdgeLevelEnergy ( G4double  energy) const
inline

Definition at line 178 of file G4LevelManager.hh.

References LevelEnergy(), and NearestLowEdgeLevelIndex().

Referenced by G4NuclearLevelData::GetLowEdgeLevelEnergy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

size_t G4LevelManager::NearestLowEdgeLevelIndex ( G4double  energy) const
inline

Definition at line 153 of file G4LevelManager.hh.

References G4INCL::KinematicsUtils::energy(), fLevelEnergy, and nTransitions.

Referenced by G4GEMChannelVI::FindLevel(), and NearestLowEdgeLevelEnergy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

size_t G4LevelManager::NumberOfTransitions ( ) const
inline

Definition at line 127 of file G4LevelManager.hh.

References nTransitions.

Referenced by G4RadioactiveDecay::AddDecayRateTable(), G4GEMChannelVI::FindLevel(), G4NuclearLevelData::FindLevel(), G4NuclearLevelData::GetLevelEnergy(), and G4FermiFragmentsPoolVI::Initialise().

+ Here is the caller graph for this function:

G4bool G4LevelManager::operator!= ( const G4LevelManager right) const
privatedelete
const G4LevelManager& G4LevelManager::operator= ( const G4LevelManager right)
privatedelete
G4bool G4LevelManager::operator== ( const G4LevelManager right) const
privatedelete
G4int G4LevelManager::SpinParity ( size_t  i) const
inline

Definition at line 199 of file G4LevelManager.hh.

References fSpin, and nTransitions.

Referenced by G4GEMChannelVI::FindLevel(), G4PhotonEvaporation::GenerateGamma(), and G4FermiFragmentsPoolVI::Initialise().

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<G4int> G4LevelManager::fFloating
private

Definition at line 119 of file G4LevelManager.hh.

Referenced by FloatingType(), G4LevelManager(), and IsFloatingLevel().

G4String G4LevelManager::fFloatingLevels
staticprivate
Initial value:
= {
"-", "+X", "+Y", "+Z", "+U", "+V", "+W", "+R", "+S", "+T", "+A", "+B", "+C"}

Definition at line 123 of file G4LevelManager.hh.

Referenced by FloatingType().

std::vector<G4float> G4LevelManager::fLevelEnergy
private
std::vector<const G4NucLevel*> G4LevelManager::fLevels
private

Definition at line 120 of file G4LevelManager.hh.

Referenced by G4LevelManager(), GetLevel(), and ~G4LevelManager().

std::vector<G4float> G4LevelManager::fLifeTime
private

Definition at line 116 of file G4LevelManager.hh.

Referenced by G4LevelManager(), and LifeTime().

std::vector<G4float> G4LevelManager::fLifeTimeGamma
private

Definition at line 117 of file G4LevelManager.hh.

Referenced by G4LevelManager(), and LifeTimeGamma().

std::vector<G4int> G4LevelManager::fSpin
private

Definition at line 118 of file G4LevelManager.hh.

Referenced by G4LevelManager(), and SpinParity().

const G4int G4LevelManager::nfloting = 13
staticprivate

Definition at line 122 of file G4LevelManager.hh.


The documentation for this class was generated from the following files: