85 G4cout <<
" G4tgrParameterMgr::AddParameterNumber() -"
86 <<
" parameter added " << wl[1]
105 G4cout <<
" G4tgrParameterMgr::AddParameterString() -"
106 <<
" parameter added " << wl[1]
121 existsAlready =
false;
125 existsAlready =
true;
132 G4String ErrMessage =
"Parameter already exists... " + wl[1];
138 G4String WarMessage =
"Parameter already exists... " + wl[1];
160 G4String ErrMessage =
"Parameter not found in list: " +
name;
168 par = ((*sdite).second);
172 G4cout <<
" G4tgrParameterMgr::FindParameter() -"
173 <<
" parameter found " << name <<
" = " << par <<
G4endl;
186 G4cout <<
" @@@@@@@@@@@@@@@@@@ Dumping parameter list " <<
G4endl;
187 G4mapss::const_iterator cite;
190 G4cout << (*cite).first <<
" = " << (*cite).second <<
G4endl;
G4String FindParameter(const G4String &name, G4bool exists=true)
static void CheckWLsize(const std::vector< G4String > &wl, unsigned int nWCheck, WLSIZEtype st, const G4String &methodName)
static G4String ConvertToString(G4bool boolVal)
void AddParameterString(const std::vector< G4String > &wl, G4bool mustBeNew=0)
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
static G4tgrParameterMgr * GetInstance()
static G4ThreadLocal G4tgrParameterMgr * theInstance
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4double GetDouble(const G4String &str, G4double unitval=1.)
void CheckIfNewParameter(const std::vector< G4String > &wl, G4bool mustBeNew)
void AddParameterNumber(const std::vector< G4String > &wl, G4bool mustBeNew=0)