Geant4  10.02
G4RIsotopeTable Class Reference

#include <G4RIsotopeTable.hh>

+ Inheritance diagram for G4RIsotopeTable:
+ Collaboration diagram for G4RIsotopeTable:

Public Types

typedef std::vector
< G4IsotopeProperty * > 
G4IsotopeList
 
typedef std::vector< G4StringG4IsotopeNameList
 

Public Member Functions

 G4RIsotopeTable ()
 
virtual ~G4RIsotopeTable ()
 
virtual G4bool FindIsotope (G4IsotopeProperty *property)
 
virtual G4IsotopePropertyGetIsotope (G4int Z, G4int A, G4double E)
 
void AddUserDecayDataFile (G4int Z, G4int A, G4String filename)
 
- Public Member Functions inherited from G4VIsotopeTable
 G4VIsotopeTable ()
 
 G4VIsotopeTable (const G4String &)
 
 G4VIsotopeTable (const G4VIsotopeTable &)
 
G4VIsotopeTableoperator= (const G4VIsotopeTable &)
 
virtual ~G4VIsotopeTable ()
 
virtual G4IsotopePropertyGetIsotopeByIsoLvl (G4int Z, G4int A, G4int level=0)
 
G4int GetVerboseLevel () const
 
void SetVerboseLevel (G4int level)
 
void DumpTable (G4int Zmin=1, G4int Zmax=118)
 
const G4StringGetName () const
 

Protected Member Functions

 G4RIsotopeTable (const G4RIsotopeTable &right)
 
G4RIsotopeTableoperator= (const G4RIsotopeTable &right)
 

Private Member Functions

G4String GetIsotopeName (G4int Z, G4int A, G4double E)
 
G4double GetMeanLifeTime (G4int Z, G4int A, G4double &E)
 
G4IsotopePropertyGetIsotope (G4int index) const
 
G4int GetVerboseLevel () const
 
G4int Entries () const
 

Private Attributes

G4IsotopeList fIsotopeList
 
G4IsotopeNameList fIsotopeNameList
 
std::map< G4int, G4StringtheUserRadioactiveDataFiles
 

Static Private Attributes

static const G4double levelTolerance = 2.0*keV
 

Detailed Description

Definition at line 64 of file G4RIsotopeTable.hh.

Member Typedef Documentation

Definition at line 72 of file G4RIsotopeTable.hh.

Definition at line 73 of file G4RIsotopeTable.hh.

Constructor & Destructor Documentation

G4RIsotopeTable::G4RIsotopeTable ( )

Definition at line 84 of file G4RIsotopeTable.cc.

References theUserRadioactiveDataFiles.

G4RIsotopeTable::G4RIsotopeTable ( const G4RIsotopeTable right)
protected
G4RIsotopeTable::~G4RIsotopeTable ( )
virtual

Definition at line 91 of file G4RIsotopeTable.cc.

References fIsotopeList, and fIsotopeNameList.

Member Function Documentation

void G4RIsotopeTable::AddUserDecayDataFile ( G4int  Z,
G4int  A,
G4String  filename 
)

Definition at line 281 of file G4RIsotopeTable.cc.

References G4cout, G4endl, and theUserRadioactiveDataFiles.

G4int G4RIsotopeTable::Entries ( ) const
inlineprivate

Definition at line 137 of file G4RIsotopeTable.hh.

References fIsotopeNameList.

Referenced by GetIsotope().

+ Here is the caller graph for this function:

G4bool G4RIsotopeTable::FindIsotope ( G4IsotopeProperty property)
virtual

Definition at line 105 of file G4RIsotopeTable.cc.

G4IsotopeProperty * G4RIsotopeTable::GetIsotope ( G4int  Z,
G4int  A,
G4double  E 
)
virtual

Implements G4VIsotopeTable.

Definition at line 113 of file G4RIsotopeTable.cc.

References Entries(), fIsotopeList, fIsotopeNameList, G4cout, G4endl, GetIsotopeName(), GetMeanLifeTime(), GetVerboseLevel(), G4IsotopeProperty::SetAtomicMass(), G4IsotopeProperty::SetAtomicNumber(), G4IsotopeProperty::SetDecayTable(), G4IsotopeProperty::SetEnergy(), G4IsotopeProperty::SetiSpin(), and G4IsotopeProperty::SetLifeTime().

+ Here is the call graph for this function:

G4IsotopeProperty * G4RIsotopeTable::GetIsotope ( G4int  index) const
inlineprivate

Definition at line 140 of file G4RIsotopeTable.hh.

References Entries(), and fIsotopeList.

+ Here is the call graph for this function:

G4String G4RIsotopeTable::GetIsotopeName ( G4int  Z,
G4int  A,
G4double  E 
)
private

Definition at line 159 of file G4RIsotopeTable.cc.

References G4cout, G4endl, GetVerboseLevel(), keV, and name.

Referenced by GetIsotope(), and GetMeanLifeTime().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4RIsotopeTable::GetMeanLifeTime ( G4int  Z,
G4int  A,
G4double E 
)
private

Definition at line 173 of file G4RIsotopeTable.cc.

References a, A(), G4cout, G4endl, G4Exception(), G4NuclearLevelStore::GetInstance(), GetIsotopeName(), G4NuclearLevelStore::GetManager(), GetVerboseLevel(), G4NuclearLevel::HalfLife(), JustWarning, keV, levelTolerance, G4NuclearLevelManager::NearestLevel(), s, G4String::strip(), and theUserRadioactiveDataFiles.

Referenced by GetIsotope().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4RIsotopeTable::GetVerboseLevel ( ) const
private

Definition at line 99 of file G4RIsotopeTable.cc.

References G4ParticleTable::GetParticleTable(), and G4ParticleTable::GetVerboseLevel().

Referenced by GetIsotope(), GetIsotopeName(), and GetMeanLifeTime().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4RIsotopeTable& G4RIsotopeTable::operator= ( const G4RIsotopeTable right)
protected

Member Data Documentation

G4IsotopeList G4RIsotopeTable::fIsotopeList
private

Definition at line 128 of file G4RIsotopeTable.hh.

Referenced by GetIsotope(), and ~G4RIsotopeTable().

G4IsotopeNameList G4RIsotopeTable::fIsotopeNameList
private

Definition at line 129 of file G4RIsotopeTable.hh.

Referenced by Entries(), GetIsotope(), and ~G4RIsotopeTable().

const G4double G4RIsotopeTable::levelTolerance = 2.0*keV
staticprivate

Definition at line 130 of file G4RIsotopeTable.hh.

Referenced by GetMeanLifeTime().

std::map<G4int, G4String> G4RIsotopeTable::theUserRadioactiveDataFiles
private

Definition at line 133 of file G4RIsotopeTable.hh.

Referenced by AddUserDecayDataFile(), G4RIsotopeTable(), and GetMeanLifeTime().


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