3 #include <phparameter/PHParameters.h>
4 #include <phparameter/PHParametersContainer.h>
6 #include <pdbcalbase/PdbParameterMapContainer.h>
47 string g4geonodename =
"G4GEO_";
48 string paramnodename =
"G4GEOPARAM_";
50 int isSuperDetector = 0;
54 paramscontainer = findNode::getClass<PHParametersContainer>(parNode, g4geonodename);
62 parNode->addNode(DetNode);
132 cout <<
Name() << endl;
149 cout <<
"double parameter " << name <<
" not implemented" << endl;
150 cout <<
"implemented double parameters are:" << endl;
153 cout << iter->first << endl;
170 cout <<
"integer parameter " << name <<
" not implemented" << endl;
171 cout <<
"implemented integer parameters are:" << endl;
172 for (map<const string, int>::const_iterator iter =
default_int.begin(); iter !=
default_int.end(); ++iter)
174 cout << iter->first << endl;
190 cout <<
"string parameter " << name <<
" not implemented" << endl;
191 cout <<
"implemented string parameters are:" << endl;
194 cout << iter->first << endl;
209 for (map<const string, double>::const_iterator iter =
dparams.begin(); iter !=
dparams.end(); ++iter)
213 for (map<const string, int>::const_iterator iter =
iparams.begin(); iter !=
iparams.end(); ++iter)
217 for (map<const string, string>::const_iterator iter =
cparams.begin(); iter !=
cparams.end(); ++iter)
232 cout <<
"trying to overwrite default double " << name <<
" "
247 cout <<
"trying to overwrite default int " << name <<
" "
262 cout <<
"trying to overwrite default string " << name <<
" "
283 for (map<const string, int>::const_iterator iter =
default_int.begin(); iter !=
default_int.end(); ++iter)
306 cout <<
"problem committing to DB" << endl;
324 cout <<
"problem reading from DB" << endl;
341 cout <<
PHWHERE <<
"filetype " << ftyp <<
" not implemented" << endl;
355 cout <<
"problem saving to " << extension <<
" file " << endl;
372 cout <<
PHWHERE <<
"filetype " << ftyp <<
" not implemented" << endl;
378 cout <<
"problem reading from " << extension <<
" file " << endl;