11 #ifndef GENERATOROBJECTSATHENAPOOL_HEPMCDATAPOOL_H
12 #define GENERATOROBJECTSATHENAPOOL_HEPMCDATAPOOL_H
17 # pragma clang diagnostic push
18 # pragma clang diagnostic ignored "-Wkeyword-macro"
20 # define private public
21 # define protected public
30 # pragma clang diagnostic pop
49 part->m_production_vertex = 0;
50 part->m_end_vertex = 0;
58 HepMC::GenVertex* vtx =
reinterpret_cast<HepMC::GenVertex*
>(
p);
60 vtx->m_particles_in.clear();
61 vtx->m_particles_out.clear();
69 HepMC::GenEvent*
evt =
reinterpret_cast<HepMC::GenEvent*
>(
p);
70 evt->m_particle_barcodes.clear();
71 evt->m_vertex_barcodes.clear();
72 delete evt->m_pdf_info;
evt->m_pdf_info = 0;
107 static void clearEvent (HepMC::GenEvent*
evt)
114 return evt.nextElementPtr();
117 static void clearVertex (HepMC::GenVertex*
vtx)
119 *
vtx = HepMC::GenVertex();
152 return evt.nextElementPtr();
157 return vtx.nextElementPtr();
162 return part.nextElementPtr();
170 #endif // GENERATOROBJECTSATHENAPOOL_HEPMCDATAPOOL_H