#include <G4tgrParameterMgr.hh>
Definition at line 50 of file G4tgrParameterMgr.hh.
void G4tgrParameterMgr::AddParameterNumber |
( |
const std::vector< G4String > & |
wl, |
|
|
G4bool |
mustBeNew = 0 |
|
) |
| |
Definition at line 72 of file G4tgrParameterMgr.cc.
85 G4cout <<
" G4tgrParameterMgr::AddParameterNumber() -"
86 <<
" parameter added " << wl[1]
87 <<
" = " << theParameterList[ wl[1] ] <<
G4endl;
static G4String ConvertToString(G4bool boolVal)
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
static G4double GetDouble(const G4String &str, G4double unitval=1.)
void CheckIfNewParameter(const std::vector< G4String > &wl, G4bool mustBeNew)
void G4tgrParameterMgr::AddParameterString |
( |
const std::vector< G4String > & |
wl, |
|
|
G4bool |
mustBeNew = 0 |
|
) |
| |
Definition at line 94 of file G4tgrParameterMgr.cc.
100 theParameterList[ wl[1] ] = wl[2];
105 G4cout <<
" G4tgrParameterMgr::AddParameterString() -"
106 <<
" parameter added " << wl[1]
107 <<
" = " << theParameterList[ wl[1] ] <<
G4endl;
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
void CheckIfNewParameter(const std::vector< G4String > &wl, G4bool mustBeNew)
void G4tgrParameterMgr::CheckIfNewParameter |
( |
const std::vector< G4String > & |
wl, |
|
|
G4bool |
mustBeNew |
|
) |
| |
Definition at line 113 of file G4tgrParameterMgr.cc.
118 G4mapss::iterator sdite = theParameterList.find( wl[1] );
119 if( sdite == theParameterList.end() )
121 existsAlready =
false;
125 existsAlready =
true;
132 G4String ErrMessage =
"Parameter already exists... " + wl[1];
138 G4String WarMessage =
"Parameter already exists... " + wl[1];
static void CheckWLsize(const std::vector< G4String > &wl, unsigned int nWCheck, WLSIZEtype st, const G4String &methodName)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void G4tgrParameterMgr::DumpList |
( |
| ) |
|
Definition at line 183 of file G4tgrParameterMgr.cc.
186 G4cout <<
" @@@@@@@@@@@@@@@@@@ Dumping parameter list " <<
G4endl;
187 G4mapss::const_iterator cite;
188 for( cite = theParameterList.begin();cite != theParameterList.end(); cite++ )
190 G4cout << (*cite).first <<
" = " << (*cite).second <<
G4endl;
G4GLOB_DLL std::ostream G4cout
Definition at line 150 of file G4tgrParameterMgr.cc.
154 G4mapss::iterator sdite = theParameterList.find( name );
155 if( sdite == theParameterList.end() )
160 G4String ErrMessage =
"Parameter not found in list: " +
name;
168 par = ((*sdite).second);
172 G4cout <<
" G4tgrParameterMgr::FindParameter() -"
173 <<
" parameter found " << name <<
" = " << par <<
G4endl;
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
The documentation for this class was generated from the following files: