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 () |
~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 () |
void | process () |
Static Public Member Functions | |
static void | read_event_from_HEPEVT (PhotosHEPEVTEvent *evt) |
static void | write_event_to_HEPEVT (PhotosHEPEVTEvent *evt) |
static void | read_event_from_HEPEVT (PhotosHEPEVTEvent *evt) |
static void | write_event_to_HEPEVT (PhotosHEPEVTEvent *evt) |
Private Member Functions | |
vector< PhotosParticle * > | filterParticles (vector< PhotosParticle * > particles) |
vector< PhotosParticle * > | filterParticles (vector< PhotosParticle * > particles) |
Private Attributes | |
std::vector< PhotosHEPEVTParticle * > | particle_list |
vector< PhotosBranch * > | m_branch_points |
Definition at line 28 of file src/eventRecordInterfaces/PhotosHEPEVTEvent.h.
~PhotosHEPEVTEvent | ( | ) |
Default constructor
Definition at line 38 of file PhotosHEPEVTEvent.cxx.
References Photos::setMomentumUnit().
~PhotosHEPEVTEvent | ( | ) |
Default destructor
Default constructor
void addParticle | ( | PhotosHEPEVTParticle * | p | ) |
Add particle at the end of event record
Definition at line 46 of file PhotosHEPEVTEvent.cxx.
References particle_list, PhotosHEPEVTParticle::setBarcode(), and PhotosHEPEVTParticle::setEvent().
void addParticle | ( | PhotosHEPEVTParticle * | p | ) |
Add particle at the end of event record
void clear | ( | ) |
Remove all particles from the event
Definition at line 86 of file PhotosHEPEVTEvent.cxx.
References particle_list.
void clear | ( | ) |
Remove all particles from the event
|
privateinherited |
Filter suppressed and invalid particles.
Definition at line 32 of file PhotosEvent.cxx.
References Log::Debug(), PhotosParticle::getDaughters(), PhotosParticle::getPdgID(), PhotosParticle::getStatus(), and PhotosParticle::STABLE.
|
privateinherited |
Filter suppressed and invalid particles.
References m_branch_points.
PhotosHEPEVTParticle * getParticle | ( | int | i | ) |
Get particle at index 'i'
Definition at line 54 of file PhotosHEPEVTEvent.cxx.
References particle_list.
PhotosHEPEVTParticle * getParticle | ( | int | i | ) |
Get particle at index 'i'
int getParticleCount | ( | ) |
Get higher-most index of the particles in event (nhep)
Definition at line 66 of file PhotosHEPEVTEvent.cxx.
References particle_list.
int getParticleCount | ( | ) |
Get higher-most index of the particles in event (nhep)
|
virtual |
Get an unfiltered list of particles from the event record
Implements PhotosEvent.
Definition at line 71 of file PhotosHEPEVTEvent.cxx.
References particle_list.
|
virtual |
Get an unfiltered list of particles from the event record
Implements PhotosEvent.
|
virtual |
Print out list of particles in the event
Implements PhotosEvent.
Definition at line 80 of file PhotosHEPEVTEvent.cxx.
References particle_list, and print().
|
virtual |
Print out list of particles in the event
Implements PhotosEvent.
|
inherited |
Process event
Definition at line 21 of file PhotosEvent.cxx.
References PhotosBranch::createBranches(), filterParticles(), getParticleList(), and m_branch_points.
|
inherited |
Process event
|
static |
Fill PhotosHEPEVTEvent from HEPEVT common block
Definition at line 92 of file PhotosHEPEVTEvent.cxx.
References addParticle(), and PhotosHEPEVTEvent().
|
static |
Fill PhotosHEPEVTEvent from HEPEVT common block
References PhotosHEPEVTEvent().
void setParticle | ( | int | i, |
PhotosHEPEVTParticle * | p ) |
Set particle at index 'i'
Definition at line 60 of file PhotosHEPEVTEvent.cxx.
References particle_list.
void setParticle | ( | int | i, |
PhotosHEPEVTParticle * | p ) |
Set particle at index 'i'
|
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(), getParticle(), getParticleCount(), PhotosHEPEVTParticle::getPdgID(), PhotosHEPEVTParticle::getPx(), PhotosHEPEVTParticle::getPy(), PhotosHEPEVTParticle::getPz(), PhotosHEPEVTParticle::getSecondMotherIndex(), PhotosHEPEVTParticle::getStatus(), and PhotosHEPEVTEvent().
|
static |
Write to HEPEVT common block content of PhotosHEPEVTEvent
References particle_list, and PhotosHEPEVTEvent().
|
privateinherited |
branch points which should be given to PHOTOS
Definition at line 44 of file include/Photos/PhotosEvent.h.
|
private |
List of all particles
Definition at line 68 of file include/Photos/PhotosHEPEVTEvent.h.