StRoot
1
|
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 () |
Public Member Functions inherited from Photospp::PhotosEvent | |
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) |
Definition at line 28 of file PhotosHEPEVTEvent.h.
Photospp::PhotosHEPEVTEvent::~PhotosHEPEVTEvent | ( | ) |
Default destructor
Definition at line 33 of file PhotosHEPEVTEvent.cxx.
Photospp::PhotosHEPEVTEvent::PhotosHEPEVTEvent | ( | ) |
Default constructor
Definition at line 38 of file PhotosHEPEVTEvent.cxx.
References Photospp::Photos::setMomentumUnit().
Photospp::PhotosHEPEVTEvent::~PhotosHEPEVTEvent | ( | ) |
Default destructor
Photospp::PhotosHEPEVTEvent::PhotosHEPEVTEvent | ( | ) |
Default constructor
void Photospp::PhotosHEPEVTEvent::addParticle | ( | PhotosHEPEVTParticle * | p | ) |
Add particle at the end of event record
Definition at line 46 of file PhotosHEPEVTEvent.cxx.
References Photospp::PhotosHEPEVTParticle::setBarcode(), and Photospp::PhotosHEPEVTParticle::setEvent().
Referenced by read_event_from_HEPEVT(), and Photospp::PhotosHEPEVTParticle::setMothers().
void Photospp::PhotosHEPEVTEvent::addParticle | ( | PhotosHEPEVTParticle * | p | ) |
Add particle at the end of event record
void Photospp::PhotosHEPEVTEvent::clear | ( | ) |
Remove all particles from the event
void Photospp::PhotosHEPEVTEvent::clear | ( | void | ) |
Remove all particles from the event
Definition at line 86 of file PhotosHEPEVTEvent.cxx.
PhotosHEPEVTParticle * Photospp::PhotosHEPEVTEvent::getParticle | ( | int | i | ) |
Get particle at index 'i'
Definition at line 54 of file PhotosHEPEVTEvent.cxx.
Referenced by Photospp::PhotosHEPEVTParticle::addDaughter(), Photospp::PhotosHEPEVTParticle::checkMomentumConservation(), Photospp::PhotosHEPEVTParticle::getDaughters(), Photospp::PhotosHEPEVTParticle::getMothers(), and write_event_to_HEPEVT().
PhotosHEPEVTParticle* Photospp::PhotosHEPEVTEvent::getParticle | ( | int | i | ) |
Get particle at index 'i'
int Photospp::PhotosHEPEVTEvent::getParticleCount | ( | ) |
Get higher-most index of the particles in event (nhep)
Definition at line 66 of file PhotosHEPEVTEvent.cxx.
Referenced by Photospp::PhotosHEPEVTParticle::getDaughters(), and write_event_to_HEPEVT().
int Photospp::PhotosHEPEVTEvent::getParticleCount | ( | ) |
Get higher-most index of the particles in event (nhep)
|
virtual |
Get an unfiltered list of particles from the event record
Implements Photospp::PhotosEvent.
Definition at line 71 of file PhotosHEPEVTEvent.cxx.
|
virtual |
Get an unfiltered list of particles from the event record
Implements Photospp::PhotosEvent.
|
virtual |
Print out list of particles in the event
Implements Photospp::PhotosEvent.
Definition at line 80 of file PhotosHEPEVTEvent.cxx.
|
virtual |
Print out list of particles in the event
Implements Photospp::PhotosEvent.
|
static |
Fill PhotosHEPEVTEvent from HEPEVT common block
Definition at line 92 of file PhotosHEPEVTEvent.cxx.
References addParticle().
|
static |
Fill PhotosHEPEVTEvent from HEPEVT common block
void Photospp::PhotosHEPEVTEvent::setParticle | ( | int | i, |
PhotosHEPEVTParticle * | p | ||
) |
Set particle at index 'i'
void Photospp::PhotosHEPEVTEvent::setParticle | ( | int | i, |
PhotosHEPEVTParticle * | p | ||
) |
Set particle at index 'i'
Definition at line 60 of file PhotosHEPEVTEvent.cxx.
Referenced by Photospp::PhotosHEPEVTParticle::addDaughter().
|
static |
Write to HEPEVT common block content of PhotosHEPEVTEvent
|
static |
Write to HEPEVT common block content of PhotosHEPEVTEvent
Definition at line 118 of file PhotosHEPEVTEvent.cxx.
References Photospp::PhotosHEPEVTParticle::getDaughterRangeEnd(), Photospp::PhotosHEPEVTParticle::getDaughterRangeStart(), Photospp::PhotosHEPEVTParticle::getE(), Photospp::PhotosHEPEVTParticle::getFirstMotherIndex(), Photospp::PhotosHEPEVTParticle::getMass(), getParticle(), getParticleCount(), Photospp::PhotosHEPEVTParticle::getPdgID(), Photospp::PhotosHEPEVTParticle::getPx(), Photospp::PhotosHEPEVTParticle::getPy(), Photospp::PhotosHEPEVTParticle::getPz(), Photospp::PhotosHEPEVTParticle::getSecondMotherIndex(), and Photospp::PhotosHEPEVTParticle::getStatus().