FairRoot/PandaRoot
|
#include <PhotosHEPEVTEvent.h>
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 () |
Private Attributes | |
std::vector < PhotosHEPEVTParticle * > | particle_list |
Definition at line 51 of file PhotosHEPEVTEvent.h.
Photospp::PhotosHEPEVTEvent::~PhotosHEPEVTEvent | ( | ) |
Default destructor
Definition at line 7 of file PhotosHEPEVTEvent.cxx.
References i, and particle_list.
Photospp::PhotosHEPEVTEvent::PhotosHEPEVTEvent | ( | ) |
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 14 of file PhotosHEPEVTEvent.cxx.
References particle_list, Photospp::PhotosHEPEVTParticle::setBarcode(), and Photospp::PhotosHEPEVTParticle::setEvent().
Referenced by make_simple_tau_event(), and Photospp::PhotosHEPEVTParticle::setMothers().
void Photospp::PhotosHEPEVTEvent::addParticle | ( | PhotosHEPEVTParticle * | p | ) |
Add particle at the end of event record
void Photospp::PhotosHEPEVTEvent::clear | ( | void | ) |
Remove all particles from the event
Definition at line 54 of file PhotosHEPEVTEvent.cxx.
References i, and particle_list.
void Photospp::PhotosHEPEVTEvent::clear | ( | ) |
Remove all particles from the event
PhotosHEPEVTParticle * Photospp::PhotosHEPEVTEvent::getParticle | ( | int | i | ) |
Get particle at index 'i'
Definition at line 22 of file PhotosHEPEVTEvent.cxx.
References i, and particle_list.
Referenced by Photospp::PhotosHEPEVTParticle::addDaughter(), Photospp::PhotosHEPEVTParticle::checkMomentumConservation(), checkMomentumConservationInEvent(), Photospp::PhotosHEPEVTParticle::getDaughters(), and Photospp::PhotosHEPEVTParticle::getMothers().
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 34 of file PhotosHEPEVTEvent.cxx.
References particle_list.
Referenced by checkMomentumConservationInEvent(), and Photospp::PhotosHEPEVTParticle::getDaughters().
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 39 of file PhotosHEPEVTEvent.cxx.
References i, and particle_list.
|
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 48 of file PhotosHEPEVTEvent.cxx.
References i, Photospp::Log::Info(), and particle_list.
|
virtual |
Print out list of particles in the event
Implements Photospp::PhotosEvent.
|
inherited |
Process event
|
inherited |
Process event
Definition at line 21 of file PhotosEvent.cxx.
References Photospp::PhotosBranch::createBranches(), Photospp::PhotosEvent::filterParticles(), Photospp::PhotosEvent::getParticleList(), i, and Photospp::PhotosEvent::m_branch_points.
Referenced by main().
void Photospp::PhotosHEPEVTEvent::setParticle | ( | int | i, |
PhotosHEPEVTParticle * | p | ||
) |
Set particle at index 'i'
Definition at line 28 of file PhotosHEPEVTEvent.cxx.
References i, p, and particle_list.
Referenced by Photospp::PhotosHEPEVTParticle::addDaughter().
void Photospp::PhotosHEPEVTEvent::setParticle | ( | int | i, |
PhotosHEPEVTParticle * | p | ||
) |
Set particle at index 'i'
|
private |
List of all particles
Definition at line 93 of file PhotosHEPEVTEvent.h.
Referenced by addParticle(), clear(), getParticle(), getParticleCount(), getParticleList(), print(), setParticle(), and ~PhotosHEPEVTEvent().