2#include "PhotosHepMCParticle.h"
3#include "PhotosHepMCEvent.h"
13 HepMC::GenEvent::particle_const_iterator part_itr =
m_event->particles_begin();
14 for( ; part_itr!=
m_event->particles_end(); part_itr++)
20 switch(
m_event->momentum_unit()) {
21 case HepMC::Units::GEV:
24 case HepMC::Units::MEV:
28 Log::Error()<<
"PhotosHepMCEvent: undefined unit, important for pair emission only"<<endl;
34PhotosHepMCEvent::~PhotosHepMCEvent()
PhotosHepMCEvent(HepMC::GenEvent *event)
std::vector< PhotosParticle * > getParticleList()
HepMC::GenEvent * getEvent()
HepMC::GenEvent * m_event
std::vector< PhotosParticle * > particles
static void setMomentumUnit(MomentumUnits unit)