9 #include <flowafterburner/flowAfterburner.h>
18 #include <CLHEP/Random/MTwistEngine.h>
19 #include <CLHEP/Random/RandomEngine.h>
30 namespace HepMC {
class GenEvent; }
32 CLHEP::HepRandomEngine *
engine =
nullptr;
34 set<string>
algoset = {
"MINBIAS",
"MINBIAS_V2_ONLY",
"CUSTOM"};
62 PHHepMCGenEventMap *genevtmap = findNode::getClass<PHHepMCGenEventMap>(topNode,
"PHHepMCGenEventMap");
67 HepMC::GenEvent *evt = genevt->
getEvent();
70 cout <<
PHWHERE <<
" no evt pointer under HEPMC Node found" << endl;
75 cout <<
"calling flowAfterburner with algorithm "
78 <<
", maxpt: " <<
maxpt << endl;
104 engine->saveStatus(savefile.c_str());
107 cout <<
PHWHERE <<
" Random engine not started yet" << endl;
114 engine->restoreStatus(savefile.c_str());
117 cout <<
PHWHERE <<
" Random engine not started yet" << endl;
122 cout <<
"FlowAfterBurner parameters:" << endl;
124 cout <<
"mineta: " <<
mineta <<
", maxeta: " <<
maxeta << endl;
125 cout <<
"minpt: " <<
minpt <<
", maxpt: " <<
maxpt << endl;
126 cout <<
"Implemented algorithms: MINBIAS (default), MINBIAS_V2_ONLY, CUSTOM"
140 cout <<
"algorithm " << name <<
" not in list of possible algorithms" << endl;
141 cout <<
"possible algorithms are" << endl;