Public Member Functions | |
~PhotosHEPEVTEvent () | |
PhotosHEPEVTEvent () | |
void | addParticle (PhotosHEPEVTParticle *p) |
PhotosHEPEVTParticle * | getParticle (int i) |
void | setParticle (int i, PhotosHEPEVTParticle *p) |
int | getParticleCount () |
std::vector< PhotosParticle * > | getParticleList () |
void | print () |
void | clear () |
void | process () |
Private Attributes | |
std::vector < PhotosHEPEVTParticle * > | particle_list |
Definition at line 51 of file PhotosHEPEVTEvent.h.
~PhotosHEPEVTEvent | ( | ) |
Default destructor
Definition at line 4 of file PhotosHEPEVTEvent.cxx.
Default constructor
Definition at line 9 of file PhotosHEPEVTEvent.cxx.
void addParticle | ( | PhotosHEPEVTParticle * | p | ) |
Add particle at the end of event record
Definition at line 11 of file PhotosHEPEVTEvent.cxx.
void clear | ( | ) |
Remove all particles from the event
Definition at line 51 of file PhotosHEPEVTEvent.cxx.
PhotosHEPEVTParticle * getParticle | ( | int | i | ) |
Get particle at index 'i'
Definition at line 19 of file PhotosHEPEVTEvent.cxx.
int getParticleCount | ( | ) |
Get higher-most index of the particles in event (nhep)
Definition at line 31 of file PhotosHEPEVTEvent.cxx.
std::vector< PhotosParticle * > getParticleList | ( | ) | [virtual] |
Get an unfiltered list of particles from the event record
Implements PhotosEvent.
Definition at line 36 of file PhotosHEPEVTEvent.cxx.
void print | ( | ) | [virtual] |
Print out list of particles in the event
Implements PhotosEvent.
Definition at line 45 of file PhotosHEPEVTEvent.cxx.
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.
void setParticle | ( | int | i, | |
PhotosHEPEVTParticle * | p | |||
) |
Set particle at index 'i'
Definition at line 25 of file PhotosHEPEVTEvent.cxx.
std::vector<PhotosHEPEVTParticle*> particle_list [private] |
List of all particles
Definition at line 93 of file PhotosHEPEVTEvent.h.