7 #include <phparameter/PHParameters.h>
56 std::set<std::string> nodes;
72 if (detector_suffix ==
"NONE")
74 detector_suffix =
Name();
88 for (
auto thisnode : nodes)
150 std::ostringstream mappingfilename;
151 const char* calibroot = getenv(
"CALIBRATIONROOT");
154 mappingfilename << calibroot;
158 std::cout <<
"no CALIBRATIONROOT environment variable" << std::endl;
162 mappingfilename <<
"/ForwardHcal/mapping/towerMap_FHCAL_v005.txt";
180 std::cout <<
Name() <<
" Parameters: " << std::endl;
183 std::cout <<
"Need to execute BeginRun() before parameter printout is meaningful" << std::endl;
184 std::cout <<
"To do so either run one or more events or on the command line execute: " << std::endl;
185 std::cout <<
"Fun4AllServer *se = Fun4AllServer::instance();" << std::endl;
186 std::cout <<
"PHG4Reco *g4 = (PHG4Reco *) se->getSubsysReco(\"PHG4RECO\");" << std::endl;
187 std::cout <<
"g4->InitRun(se->topNode());" << std::endl;
188 std::cout <<
"PHG4ForwardHcalSubsystem *fhcal = (PHG4ForwardHcalSubsystem *) g4->getSubsystem(\"" <<
Name() <<
"\");" << std::endl;
189 std::cout <<
"fhcal->Print()" << std::endl;