5 #include <phparameter/PHParameters.h>
30 , m_SteppingAction(nullptr)
67 std::set<std::string> nodes;
78 std::ostringstream nodename;
85 nodename <<
"G4HIT_" <<
Name();
87 nodes.insert(nodename.str());
97 nodename <<
"G4HIT_ACTIVEGAS_" <<
Name();
99 nodes.insert(nodename.str());
102 for (std::string node : nodes)
104 PHG4HitContainer *g4_hits = findNode::getClass<PHG4HitContainer>(topNode, node.c_str());
179 std::cout <<
Name() <<
" Parameters: " << std::endl;
182 std::cout <<
"Need to execute BeginRun() before parameter printout is meaningful" << std::endl;
183 std::cout <<
"To do so either run one or more events or on the command line execute: " << std::endl;
184 std::cout <<
"Fun4AllServer *se = Fun4AllServer::instance();" << std::endl;
185 std::cout <<
"PHG4Reco *g4 = (PHG4Reco *) se->getSubsysReco(\"PHG4RECO\");" << std::endl;
186 std::cout <<
"g4->InitRun(se->topNode());" << std::endl;
187 std::cout <<
"PHG4ECAPToFSubsystem *trd = (PHG4ECAPToFSubsystem *) g4->getSubsystem(\"" <<
Name() <<
"\");" << std::endl;
188 std::cout <<
"trd->Print()" << std::endl;