#include <PUEvent.h>
Classes | |
class | PUMinBiasEvt |
class | PUParticle |
Public Member Functions | |
void | addPUMinBiasEvt (const PUMinBiasEvt &idx) |
void | addPUParticle (const PUParticle &ptc) |
const unsigned | nMinBias () const |
const unsigned | nParticles () const |
PUEvent () | |
void | reset () |
const std::vector < PUEvent::PUMinBiasEvt > & | thePUMinBiasEvts () |
const std::vector < PUEvent::PUParticle > & | thePUParticles () |
virtual | ~PUEvent () |
Private Attributes | |
unsigned | NMinBias_ |
unsigned | NParticles_ |
std::vector < PUEvent::PUMinBiasEvt > | PUMinBiasEvts_ |
std::vector< PUEvent::PUParticle > | PUParticles_ |
PUEvent::PUEvent | ( | ) | [inline] |
Definition at line 10 of file PUEvent.h.
: NParticles_(0), NMinBias_(0) {}
void PUEvent::addPUMinBiasEvt | ( | const PUMinBiasEvt & | idx | ) | [inline] |
Definition at line 45 of file PUEvent.h.
References NMinBias_, and PUMinBiasEvts_.
{ PUMinBiasEvts_.push_back(idx); ++NMinBias_; }
void PUEvent::addPUParticle | ( | const PUParticle & | ptc | ) | [inline] |
Definition at line 40 of file PUEvent.h.
References NParticles_, and PUParticles_.
{ PUParticles_.push_back(ptc); ++NParticles_; }
const unsigned PUEvent::nMinBias | ( | ) | const [inline] |
const unsigned PUEvent::nParticles | ( | ) | const [inline] |
void PUEvent::reset | ( | void | ) | [inline] |
Definition at line 12 of file PUEvent.h.
References NMinBias_, NParticles_, PUMinBiasEvts_, and PUParticles_.
{ PUParticles_.clear(); PUMinBiasEvts_.clear(); NParticles_ = 0; NMinBias_ = 0; }
const std::vector<PUEvent::PUMinBiasEvt>& PUEvent::thePUMinBiasEvts | ( | ) | [inline] |
const std::vector<PUEvent::PUParticle>& PUEvent::thePUParticles | ( | ) | [inline] |
unsigned PUEvent::NMinBias_ [private] |
Definition at line 65 of file PUEvent.h.
Referenced by addPUMinBiasEvt(), nMinBias(), and reset().
unsigned PUEvent::NParticles_ [private] |
Definition at line 64 of file PUEvent.h.
Referenced by addPUParticle(), nParticles(), and reset().
std::vector<PUEvent::PUMinBiasEvt> PUEvent::PUMinBiasEvts_ [private] |
Definition at line 63 of file PUEvent.h.
Referenced by addPUMinBiasEvt(), reset(), and thePUMinBiasEvts().
std::vector<PUEvent::PUParticle> PUEvent::PUParticles_ [private] |
Definition at line 62 of file PUEvent.h.
Referenced by addPUParticle(), reset(), and thePUParticles().