3 #include <phparameter/PHParameters.h>
4 #include <phparameter/PHParametersContainer.h>
6 #include <pdbcalbase/PdbParameterMapContainer.h>
48 int isSuperDetector = 0;
52 paramscontainer = findNode::getClass<PHParametersContainer>(parNode, g4geonodename);
60 parNode->addNode(DetNode);
137 std::cout <<
Name() << std::endl;
154 std::cout <<
"double parameter " << name <<
" not implemented" << std::endl;
155 std::cout <<
"implemented double parameters are:" << std::endl;
158 std::cout << iter->first << std::endl;
175 std::cout <<
"integer parameter " << name <<
" not implemented" << std::endl;
176 std::cout <<
"implemented integer parameters are:" << std::endl;
177 for (std::map<const std::string, int>::const_iterator iter =
default_int.begin(); iter !=
default_int.end(); ++iter)
179 std::cout << iter->first << std::endl;
195 std::cout <<
"string parameter " << name <<
" not implemented" << std::endl;
196 std::cout <<
"implemented string parameters are:" << std::endl;
199 std::cout << iter->first << std::endl;
214 for (std::map<const std::string, double>::const_iterator iter =
dparams.begin(); iter !=
dparams.end(); ++iter)
218 for (std::map<const std::string, int>::const_iterator iter =
iparams.begin(); iter !=
iparams.end(); ++iter)
222 for (std::map<const std::string, std::string>::const_iterator iter =
cparams.begin(); iter !=
cparams.end(); ++iter)
237 std::cout <<
"trying to overwrite default double " << name <<
" "
252 std::cout <<
"trying to overwrite default int " << name <<
" "
267 std::cout <<
"trying to overwrite default string " << name <<
" "
288 for (std::map<const std::string, int>::const_iterator iter =
default_int.begin(); iter !=
default_int.end(); ++iter)
311 std::cout <<
"problem committing to DB" << std::endl;
329 std::cout <<
"problem reading from DB" << std::endl;
346 std::cout <<
PHWHERE <<
"filetype " << ftyp <<
" not implemented" << std::endl;
360 std::cout <<
"problem saving to " << extension <<
" file " << std::endl;
377 std::cout <<
PHWHERE <<
"filetype " << ftyp <<
" not implemented" << std::endl;
383 std::cout <<
"problem reading from " << extension <<
" file " << std::endl;