6 #include <phparameter/PHParameters.h>
55 std::set<std::string> nodes;
72 if (detector_suffix ==
"NONE")
74 detector_suffix =
Name();
88 for (
auto thisnode : nodes)
127 std::ostringstream mappingfilename;
128 const char* calibroot = getenv(
"CALIBRATIONROOT");
131 mappingfilename << calibroot;
135 std::cout <<
"no CALIBRATIONROOT environment variable" << std::endl;
138 mappingfilename <<
"BarrelEcal/mapping/towerMap_BEMC_v001.txt";
165 std::cout <<
Name() <<
" Parameters: " << std::endl;
168 std::cout <<
"Need to execute BeginRun() before parameter printout is meaningful" << std::endl;
169 std::cout <<
"To do so either run one or more events or on the command line execute: " << std::endl;
170 std::cout <<
"Fun4AllServer *se = Fun4AllServer::instance();" << std::endl;
171 std::cout <<
"PHG4Reco *g4 = (PHG4Reco *) se->getSubsysReco(\"PHG4RECO\");" << std::endl;
172 std::cout <<
"g4->InitRun(se->topNode());" << std::endl;
173 std::cout <<
"PHG4BarrelEcalSubsystem *fhcal = (PHG4BarrelEcalSubsystem *) g4->getSubsystem(\"" <<
Name() <<
"\");" << std::endl;
174 std::cout <<
"fhcal->Print()" << std::endl;