#include <NUEvent.h>
Classes | |
class | NUInteraction |
class | NUParticle |
Public Member Functions | |
void | addNUInteraction (const NUInteraction &idx) |
void | addNUParticle (const NUParticle &ptc) |
const unsigned | nInteractions () const |
const unsigned | nParticles () const |
NUEvent () | |
void | reset () |
const std::vector < NUEvent::NUInteraction > & | theNUInteractions () |
const std::vector < NUEvent::NUParticle > & | theNUParticles () |
virtual | ~NUEvent () |
Private Attributes | |
unsigned | NInteractions_ |
unsigned | NParticles_ |
std::vector < NUEvent::NUInteraction > | NUInteractions_ |
std::vector< NUEvent::NUParticle > | NUParticles_ |
NUEvent::NUEvent | ( | ) | [inline] |
Definition at line 10 of file NUEvent.h.
: NParticles_(0), NInteractions_(0) {}
void NUEvent::addNUInteraction | ( | const NUInteraction & | idx | ) | [inline] |
Definition at line 45 of file NUEvent.h.
References NInteractions_, and NUInteractions_.
{ NUInteractions_.push_back(idx); ++NInteractions_; }
void NUEvent::addNUParticle | ( | const NUParticle & | ptc | ) | [inline] |
Definition at line 40 of file NUEvent.h.
References NParticles_, and NUParticles_.
{ NUParticles_.push_back(ptc); ++NParticles_; }
const unsigned NUEvent::nInteractions | ( | ) | const [inline] |
const unsigned NUEvent::nParticles | ( | ) | const [inline] |
void NUEvent::reset | ( | void | ) | [inline] |
Definition at line 12 of file NUEvent.h.
References NInteractions_, NParticles_, NUInteractions_, and NUParticles_.
{ NUParticles_.clear(); NUInteractions_.clear(); NParticles_ = 0; NInteractions_ = 0; }
const std::vector<NUEvent::NUInteraction>& NUEvent::theNUInteractions | ( | ) | [inline] |
const std::vector<NUEvent::NUParticle>& NUEvent::theNUParticles | ( | ) | [inline] |
unsigned NUEvent::NInteractions_ [private] |
Definition at line 65 of file NUEvent.h.
Referenced by addNUInteraction(), nInteractions(), and reset().
unsigned NUEvent::NParticles_ [private] |
Definition at line 64 of file NUEvent.h.
Referenced by addNUParticle(), nParticles(), and reset().
std::vector<NUEvent::NUInteraction> NUEvent::NUInteractions_ [private] |
Definition at line 63 of file NUEvent.h.
Referenced by addNUInteraction(), reset(), and theNUInteractions().
std::vector<NUEvent::NUParticle> NUEvent::NUParticles_ [private] |
Definition at line 62 of file NUEvent.h.
Referenced by addNUParticle(), reset(), and theNUParticles().