57 : fState(
"Parameter", isMaster),
64 <<
"G4ParameterAnalysisManager already exists."
65 <<
"Cannot create another instance.";
66 G4Exception(
"G4ParameterAnalysisManager::G4ParameterAnalysisManager()",
97 auto it =
fMap.find(name);
98 if ( it ==
fMap.end() ) {
101 description <<
" " <<
"parameter " << name <<
" does not exist.";
129 <<
" " <<
"No master G4ParameterManager instance exists."
131 <<
" " <<
"Parameters will not be merged.";
143 auto it =
fMap.begin();
148 itMaster.second->Merge(*((it++)->
second));
158 for (
auto it :
fMap ) {
std::ostringstream G4ExceptionDescription
virtual ~G4ParameterManager()
static G4ParameterManager * fgMasterInstance
static G4ParameterManager * Instance()
std::vector< G4VParameter * > fParametersToDelete
#define G4MUTEX_INITIALIZER
G4GLOB_DLL std::ostream G4cout
std::map< G4String, G4VParameter * > fMap
static G4ThreadLocal G4ParameterManager * fgInstance
static const double second
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4Parameter< T > * GetParameter(const G4String &name, G4bool warn=true) const
G4ParameterManager(G4bool isMaster=true)
void RegisterParameter(G4Parameter< T > ¶meter)