|
Geant4
10.02.p02
|
#include <G4ParameterManager.hh>
Collaboration diagram for G4ParameterManager:Public Member Functions | |
| G4ParameterManager (G4bool isMaster=true) | |
| virtual | ~G4ParameterManager () |
| template<typename T > | |
| void | CreateParameter (const G4String &name, T value, G4MergeMode mergeMode=G4MergeMode::kAddition) |
| template<typename T > | |
| void | RegisterParameter (G4Parameter< T > ¶meter) |
| template<typename T > | |
| G4Parameter< T > * | GetParameter (const G4String &name, G4bool warn=true) const |
| void | RegisterParameter (G4VParameter *parameter) |
| G4VParameter * | GetParameter (const G4String &name, G4bool warn=true) const |
| void | Merge () |
| void | Reset () |
Static Public Member Functions | |
| static G4ParameterManager * | Instance () |
Private Attributes | |
| const G4AnalysisManagerState | fState |
| std::map< G4String, G4VParameter * > | fMap |
| std::vector< G4VParameter * > | fParametersToDelete |
Static Private Attributes | |
| static G4ParameterManager * | fgMasterInstance = nullptr |
| static G4ThreadLocal G4ParameterManager * | fgInstance = nullptr |
Definition at line 45 of file G4ParameterManager.hh.
| G4ParameterManager::G4ParameterManager | ( | G4bool | isMaster = true | ) |
Definition at line 56 of file G4ParameterManager.cc.
References FatalException, fgInstance, fgMasterInstance, and G4Exception().
Referenced by Instance().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Definition at line 74 of file G4ParameterManager.cc.
References fParametersToDelete.
| void G4ParameterManager::CreateParameter | ( | const G4String & | name, |
| T | value, | ||
| G4MergeMode | mergeMode = G4MergeMode::kAddition |
||
| ) |
| G4Parameter<T>* G4ParameterManager::GetParameter | ( | const G4String & | name, |
| G4bool | warn = true |
||
| ) | const |
| G4VParameter * G4ParameterManager::GetParameter | ( | const G4String & | name, |
| G4bool | warn = true |
||
| ) | const |
Definition at line 94 of file G4ParameterManager.cc.
References fMap, G4Exception(), and JustWarning.
Here is the call graph for this function:
|
static |
Definition at line 45 of file G4ParameterManager.cc.
References fgInstance, G4ParameterManager(), and G4Threading::IsWorkerThread().
Referenced by B1RunAction::B1RunAction(), B3aRunAction::B3aRunAction(), B3aRunAction::BeginOfRunAction(), B1RunAction::BeginOfRunAction(), B3aRunAction::EndOfRunAction(), and B1RunAction::EndOfRunAction().
Here is the call graph for this function:
Here is the caller graph for this function:| void G4ParameterManager::Merge | ( | ) |
Definition at line 119 of file G4ParameterManager.cc.
References fgMasterInstance, fMap, G4cout, G4endl, G4Exception(), G4Threading::IsWorkerThread(), JustWarning, second, and G4TemplateAutoLock< M, L, U >::unlock().
Referenced by B3aRunAction::EndOfRunAction(), and B1RunAction::EndOfRunAction().
Here is the call graph for this function:
Here is the caller graph for this function:| void G4ParameterManager::RegisterParameter | ( | G4Parameter< T > & | parameter | ) |
Referenced by B1RunAction::B1RunAction(), and B3aRunAction::B3aRunAction().
Here is the caller graph for this function:| void G4ParameterManager::RegisterParameter | ( | G4VParameter * | parameter | ) |
Definition at line 87 of file G4ParameterManager.cc.
References fMap, and G4VParameter::GetName().
Here is the call graph for this function:| void G4ParameterManager::Reset | ( | ) |
Definition at line 154 of file G4ParameterManager.cc.
References fMap.
Referenced by B3aRunAction::BeginOfRunAction(), and B1RunAction::BeginOfRunAction().
Here is the caller graph for this function:
|
staticprivate |
Definition at line 83 of file G4ParameterManager.hh.
Referenced by G4ParameterManager(), and Instance().
|
staticprivate |
Definition at line 82 of file G4ParameterManager.hh.
Referenced by G4ParameterManager(), and Merge().
|
private |
Definition at line 87 of file G4ParameterManager.hh.
Referenced by GetParameter(), Merge(), RegisterParameter(), and Reset().
|
private |
Definition at line 88 of file G4ParameterManager.hh.
Referenced by ~G4ParameterManager().
|
private |
Definition at line 86 of file G4ParameterManager.hh.