Geant4  10.02.p02
G4NuclearLevelStore Class Reference

#include <G4NuclearLevelStore.hh>

+ Collaboration diagram for G4NuclearLevelStore:

Public Member Functions

G4NuclearLevelManagerGetManager (G4int Z, G4int A)
 
 ~G4NuclearLevelStore ()
 
void AddUserEvaporationDataFile (G4int Z, G4int A, const G4String &filename)
 

Static Public Member Functions

static G4NuclearLevelStoreGetInstance ()
 

Private Types

typedef std::map< G4int,
G4NuclearLevelManager * > 
ManagersMap
 

Private Member Functions

 G4NuclearLevelStore ()
 
G4int GenerateKey (G4int Z, G4int A) const
 
G4String GenerateFileName (G4int Z, G4int A) const
 

Private Attributes

ManagersMap theManagers
 
G4String dirName
 
G4bool userFiles
 
std::map< G4int, G4StringtheUserDataFiles
 

Static Private Attributes

static G4ThreadLocal
G4NuclearLevelStore
theInstance = 0
 

Friends

class G4ThreadLocalSingleton< G4NuclearLevelStore >
 

Detailed Description

Definition at line 49 of file G4NuclearLevelStore.hh.

Member Typedef Documentation

Definition at line 75 of file G4NuclearLevelStore.hh.

Constructor & Destructor Documentation

G4NuclearLevelStore::G4NuclearLevelStore ( )
private

Definition at line 62 of file G4NuclearLevelStore.cc.

References dirName, G4cout, and userFiles.

G4NuclearLevelStore::~G4NuclearLevelStore ( )

Definition at line 78 of file G4NuclearLevelStore.cc.

References theManagers.

Member Function Documentation

void G4NuclearLevelStore::AddUserEvaporationDataFile ( G4int  Z,
G4int  A,
const G4String filename 
)

Definition at line 93 of file G4NuclearLevelStore.cc.

References A(), G4cout, G4endl, theUserDataFiles, and userFiles.

Referenced by G4RadioactiveDecaymessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4String G4NuclearLevelStore::GenerateFileName ( G4int  Z,
G4int  A 
) const
private

Definition at line 113 of file G4NuclearLevelStore.cc.

References A(), and name.

Referenced by GetManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4NuclearLevelStore::GenerateKey ( G4int  Z,
G4int  A 
) const
inlineprivate

Definition at line 71 of file G4NuclearLevelStore.hh.

References A().

+ Here is the call graph for this function:

G4NuclearLevelStore * G4NuclearLevelStore::GetInstance ( void  )
static

Definition at line 47 of file G4NuclearLevelStore.cc.

References G4ThreadLocalSingleton< T >::Instance(), and theInstance.

Referenced by G4RadioactiveDecay::AddDecayRateTable(), G4ContinuumGammaDeexcitation::G4ContinuumGammaDeexcitation(), G4DiscreteGammaDeexcitation::G4DiscreteGammaDeexcitation(), G4RIsotopeTable::GetMeanLifeTime(), and G4RadioactiveDecaymessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4NuclearLevelManager * G4NuclearLevelStore::GetManager ( G4int  Z,
G4int  A 
)

Definition at line 122 of file G4NuclearLevelStore.cc.

References A(), dirName, G4MUTEXLOCK, G4MUTEXUNLOCK, GenerateFileName(), theManagers, theUserDataFiles, and userFiles.

Referenced by G4RadioactiveDecay::AddDecayRateTable(), G4ContinuumGammaDeexcitation::CanDoTransition(), G4DiscreteGammaDeexcitation::CanDoTransition(), and G4RIsotopeTable::GetMeanLifeTime().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Friends And Related Function Documentation

Definition at line 52 of file G4NuclearLevelStore.hh.

Member Data Documentation

G4String G4NuclearLevelStore::dirName
private

Definition at line 79 of file G4NuclearLevelStore.hh.

Referenced by G4NuclearLevelStore(), and GetManager().

G4ThreadLocal G4NuclearLevelStore * G4NuclearLevelStore::theInstance = 0
staticprivate

Definition at line 81 of file G4NuclearLevelStore.hh.

Referenced by GetInstance().

ManagersMap G4NuclearLevelStore::theManagers
private

Definition at line 77 of file G4NuclearLevelStore.hh.

Referenced by GetManager(), and ~G4NuclearLevelStore().

std::map<G4int, G4String> G4NuclearLevelStore::theUserDataFiles
private

Definition at line 87 of file G4NuclearLevelStore.hh.

Referenced by AddUserEvaporationDataFile(), and GetManager().

G4bool G4NuclearLevelStore::userFiles
private

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