48 G4tgrParameterMgr::G4tgrParameterMgr()
54 G4tgrParameterMgr::~G4tgrParameterMgr()
85 G4cout <<
" G4tgrParameterMgr::AddParameterNumber() -"
86 <<
" parameter added " << wl[1]
87 <<
" = " << theParameterList[ wl[1] ] <<
G4endl;
100 theParameterList[ wl[1] ] = wl[2];
105 G4cout <<
" G4tgrParameterMgr::AddParameterString() -"
106 <<
" parameter added " << wl[1]
107 <<
" = " << theParameterList[ wl[1] ] <<
G4endl;
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];
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;
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;