Public Member Functions | |
PhotosHepMCEvent (HepMC::GenEvent *event) | |
HepMC::GenEvent * | getEvent () |
std::vector< PhotosParticle * > | getParticleList () |
void | print () |
void | process () |
Private Attributes | |
HepMC::GenEvent * | m_event |
std::vector< PhotosParticle * > | particles |
Definition at line 29 of file PhotosHepMCEvent.h.
PhotosHepMCEvent | ( | HepMC::GenEvent * | event | ) |
Constructor which keeps a pointer to the HepMC::GenEvent
Definition at line 10 of file PhotosHepMCEvent.cxx.
References PhotosHepMCEvent::m_event, and PhotosHepMCEvent::particles.
HepMC::GenEvent * getEvent | ( | ) |
Returns the HepMC::GenEvent
Definition at line 31 of file PhotosHepMCEvent.cxx.
References PhotosHepMCEvent::m_event.
vector< PhotosParticle * > getParticleList | ( | ) | [virtual] |
Returns the list of particles
Implements PhotosEvent.
Definition at line 42 of file PhotosHepMCEvent.cxx.
References PhotosHepMCEvent::particles.
void print | ( | ) | [virtual] |
Prints event summary
Implements PhotosEvent.
Definition at line 36 of file PhotosHepMCEvent.cxx.
References PhotosHepMCEvent::m_event.
void process | ( | ) | [inherited] |
Process event
Definition at line 21 of file PhotosEvent.cxx.
References PhotosBranch::createBranches(), PhotosEvent::filterParticles(), PhotosEvent::getParticleList(), and PhotosEvent::m_branch_points.
HepMC::GenEvent* m_event [private] |
The event
Definition at line 47 of file PhotosHepMCEvent.h.
std::vector<PhotosParticle *> particles [private] |
Particle list
Definition at line 49 of file PhotosHepMCEvent.h.