23 #include <Event/Event.h>
25 #pragma GCC diagnostic push
26 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
27 #include <HepMC/GenEvent.h>
28 #pragma GCC diagnostic pop
30 #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());
100 Event *evt = findNode::getClass<Event>(topNode,
"PRDF");