Geant4  10.01.p02
G4NuclearLevelStore Class Reference

#include <G4NuclearLevelStore.hh>

+ Collaboration diagram for G4NuclearLevelStore:

Public Member Functions

G4NuclearLevelManagerGetManager (G4int Z, G4int A)
 
G4LevelManagerGetLevelManager (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
 
typedef std::map< G4int,
G4LevelManager * > 
MapForHEP
 

Private Member Functions

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

Private Attributes

G4LevelReader reader
 
ManagersMap theManagers
 
MapForHEP managersForHEP
 
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 51 of file G4NuclearLevelStore.hh.

Member Typedef Documentation

Definition at line 79 of file G4NuclearLevelStore.hh.

Definition at line 80 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 managersForHEP, and theManagers.

Member Function Documentation

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

Definition at line 96 of file G4NuclearLevelStore.cc.

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

Referenced by G4RadioactiveDecaymessenger::SetNewValue().

+ Here is the caller graph for this function:

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

Definition at line 116 of file G4NuclearLevelStore.cc.

References A, and name.

Referenced by GetLevelManager(), and GetManager().

+ Here is the caller graph for this function:

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

Definition at line 75 of file G4NuclearLevelStore.hh.

References A.

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(), G4PromptPhotonEvaporation::G4PromptPhotonEvaporation(), G4RIsotopeTable::GetMeanLifeTime(), and G4RadioactiveDecaymessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4LevelManager * G4NuclearLevelStore::GetLevelManager ( G4int  Z,
G4int  A 
)

Definition at line 194 of file G4NuclearLevelStore.cc.

References A, dirName, G4MUTEXLOCK, G4MUTEXUNLOCK, GenerateFileName(), managersForHEP, and reader.

+ Here is the call graph for this function:

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

Definition at line 125 of file G4NuclearLevelStore.cc.

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

Referenced by G4RadioactiveDecay::AddDecayRateTable(), G4ContinuumGammaDeexcitation::CanDoTransition(), G4DiscreteGammaDeexcitation::CanDoTransition(), G4PromptPhotonEvaporation::GetEmissionProbability(), 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 54 of file G4NuclearLevelStore.hh.

Member Data Documentation

G4String G4NuclearLevelStore::dirName
private

Definition at line 85 of file G4NuclearLevelStore.hh.

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

MapForHEP G4NuclearLevelStore::managersForHEP
private

Definition at line 84 of file G4NuclearLevelStore.hh.

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

G4LevelReader G4NuclearLevelStore::reader
private

Definition at line 82 of file G4NuclearLevelStore.hh.

Referenced by GetLevelManager().

G4ThreadLocal G4NuclearLevelStore * G4NuclearLevelStore::theInstance = 0
staticprivate

Definition at line 87 of file G4NuclearLevelStore.hh.

Referenced by GetInstance().

ManagersMap G4NuclearLevelStore::theManagers
private

Definition at line 83 of file G4NuclearLevelStore.hh.

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

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

Definition at line 93 of file G4NuclearLevelStore.hh.

Referenced by AddUserEvaporationDataFile(), and GetManager().

G4bool G4NuclearLevelStore::userFiles
private

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