Geant4  10.02
G4LevelManager Class Reference

#include <G4LevelManager.hh>

Public Member Functions

 G4LevelManager (const std::vector< G4float > &energies, const std::vector< G4float > &lifetime, const std::vector< G4float > &lifetimegamma, const std::vector< G4int > &spin, 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
 
const G4NucLevelNearestLevel (G4double energy, size_t index=0) const
 
G4float NearestLevelEnergy (G4double energy, size_t index=0) const
 
G4float LifeTime (size_t i) const
 
G4float LifeTimeGamma (size_t i) const
 
G4int Spin (size_t i) const
 

Private Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 56 of file G4LevelManager.hh.

Constructor & Destructor Documentation

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

Definition at line 45 of file G4LevelManager.cc.

References fLevelEnergy, and nTransitions.

G4LevelManager::~G4LevelManager ( )

Definition at line 58 of file G4LevelManager.cc.

References fLevels, and nTransitions.

G4LevelManager::G4LevelManager ( const G4LevelManager right)
private

Member Function Documentation

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

Definition at line 117 of file G4LevelManager.hh.

References fLevels, and nTransitions.

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

+ Here is the caller graph for this function:

G4float G4LevelManager::LevelEnergy ( size_t  i) const
inline

Definition at line 123 of file G4LevelManager.hh.

References fLevelEnergy, and nTransitions.

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

+ Here is the caller graph for this function:

G4float G4LevelManager::LifeTime ( size_t  i) const
inline

Definition at line 172 of file G4LevelManager.hh.

References fLifeTime, and nTransitions.

Referenced by G4PhotonEvaporation::GenerateGamma().

+ Here is the caller graph for this function:

G4float G4LevelManager::LifeTimeGamma ( size_t  i) const
inline

Definition at line 178 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 129 of file G4LevelManager.hh.

References fLevelEnergy, and nTransitions.

Referenced by 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 161 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 167 of file G4LevelManager.hh.

References LevelEnergy(), and NearestLevelIndex().

Referenced by G4PhotonEvaporation::GetFinalLevelEnergy().

+ 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
inline

Definition at line 135 of file G4LevelManager.hh.

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

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

+ 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 112 of file G4LevelManager.hh.

References nTransitions.

G4bool G4LevelManager::operator!= ( const G4LevelManager right) const
private
const G4LevelManager& G4LevelManager::operator= ( const G4LevelManager right)
private
G4bool G4LevelManager::operator== ( const G4LevelManager right) const
private
G4int G4LevelManager::Spin ( size_t  i) const
inline

Definition at line 184 of file G4LevelManager.hh.

References fSpin, and nTransitions.

Member Data Documentation

const std::vector<G4float> G4LevelManager::fLevelEnergy
private

Definition at line 103 of file G4LevelManager.hh.

Referenced by G4LevelManager(), LevelEnergy(), MaxLevelEnergy(), and NearestLevelIndex().

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

Definition at line 107 of file G4LevelManager.hh.

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

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

Definition at line 104 of file G4LevelManager.hh.

Referenced by LifeTime().

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

Definition at line 105 of file G4LevelManager.hh.

Referenced by LifeTimeGamma().

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

Definition at line 106 of file G4LevelManager.hh.

Referenced by Spin().

size_t G4LevelManager::nTransitions
private

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