25 #include <HepMC/GenEvent.h>
26 #include <HepMC/HeavyIon.h>
62 RunHeader *runheader = findNode::getClass<RunHeader>(topNode,
"RunHeader");
70 EventHeader *evtheader = findNode::getClass<EventHeader>(topNode,
"EventHeader");
71 PHHepMCGenEventMap *genevtmap = findNode::getClass<PHHepMCGenEventMap>(topNode,
"PHHepMCGenEventMap");
81 HepMC::GenEvent *hepmcevt = genevt->
getEvent();
85 HepMC::HeavyIon *hi = hepmcevt->heavy_ion();
92 evtheader->
set_npart(hi->Npart_targ() + hi->Npart_proj());
111 FlagSave *flagsave = findNode::getClass<FlagSave>(se->
topNode(),
"Flags");
115 std::cout <<
"Saving recoConst Flags: " << std::endl;