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 () |
Static Public Member Functions | |
static void | read_event_from_HEPEVT (PhotosHEPEVTEvent *evt) |
static void | write_event_to_HEPEVT (PhotosHEPEVTEvent *evt) |
Private Attributes | |
std::vector < PhotosHEPEVTParticle * > | particle_list |
Definition at line 28 of file PhotosHEPEVTEvent.h.
~PhotosHEPEVTEvent | ( | ) |
Default destructor
Definition at line 33 of file PhotosHEPEVTEvent.cxx.
References PhotosHEPEVTEvent::particle_list.
Default constructor
Definition at line 38 of file PhotosHEPEVTEvent.cxx.
References Photos::setMomentumUnit().
void addParticle | ( | PhotosHEPEVTParticle * | p | ) |
Add particle at the end of event record
Definition at line 46 of file PhotosHEPEVTEvent.cxx.
References PhotosHEPEVTEvent::particle_list, PhotosHEPEVTParticle::setBarcode(), and PhotosHEPEVTParticle::setEvent().
void clear | ( | ) |
Remove all particles from the event
Definition at line 86 of file PhotosHEPEVTEvent.cxx.
References PhotosHEPEVTEvent::particle_list.
PhotosHEPEVTParticle * getParticle | ( | int | i | ) |
Get particle at index 'i'
Definition at line 54 of file PhotosHEPEVTEvent.cxx.
References PhotosHEPEVTEvent::particle_list.
int getParticleCount | ( | ) |
Get higher-most index of the particles in event (nhep)
Definition at line 66 of file PhotosHEPEVTEvent.cxx.
References PhotosHEPEVTEvent::particle_list.
|
virtual |
Get an unfiltered list of particles from the event record
Implements PhotosEvent.
Definition at line 71 of file PhotosHEPEVTEvent.cxx.
References PhotosHEPEVTEvent::particle_list.
|
virtual |
Print out list of particles in the event
Implements PhotosEvent.
Definition at line 80 of file PhotosHEPEVTEvent.cxx.
References PhotosHEPEVTEvent::particle_list.
|
inherited |
Process event
Definition at line 21 of file PhotosEvent.cxx.
References PhotosBranch::createBranches(), PhotosEvent::filterParticles(), PhotosEvent::getParticleList(), and PhotosEvent::m_branch_points.
|
static |
Fill PhotosHEPEVTEvent from HEPEVT common block
Definition at line 92 of file PhotosHEPEVTEvent.cxx.
References PhotosHEPEVTEvent::addParticle().
void setParticle | ( | int | i, |
PhotosHEPEVTParticle * | p | ||
) |
Set particle at index 'i'
Definition at line 60 of file PhotosHEPEVTEvent.cxx.
References PhotosHEPEVTEvent::particle_list.
|
static |
Write to HEPEVT common block content of PhotosHEPEVTEvent
Definition at line 118 of file PhotosHEPEVTEvent.cxx.
References PhotosHEPEVTParticle::getDaughterRangeEnd(), PhotosHEPEVTParticle::getDaughterRangeStart(), PhotosHEPEVTParticle::getE(), PhotosHEPEVTParticle::getFirstMotherIndex(), PhotosHEPEVTParticle::getMass(), PhotosHEPEVTEvent::getParticle(), PhotosHEPEVTEvent::getParticleCount(), PhotosHEPEVTParticle::getPdgID(), PhotosHEPEVTParticle::getPx(), PhotosHEPEVTParticle::getPy(), PhotosHEPEVTParticle::getPz(), PhotosHEPEVTParticle::getSecondMotherIndex(), and PhotosHEPEVTParticle::getStatus().
|
private |
List of all particles
Definition at line 68 of file PhotosHEPEVTEvent.h.