#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 () |
Private Attributes | |
std::vector < NUEvent::NUInteraction > | NUInteractions_ |
std::vector< NUEvent::NUParticle > | NUParticles_ |
void NUEvent::addNUInteraction | ( | const NUInteraction & | idx | ) | [inline] |
Definition at line 39 of file NUEvent.h.
References NUInteractions_.
{ NUInteractions_.push_back(idx); }
void NUEvent::addNUParticle | ( | const NUParticle & | ptc | ) | [inline] |
const unsigned NUEvent::nInteractions | ( | ) | const [inline] |
Definition at line 51 of file NUEvent.h.
References NUInteractions_.
{ return NUInteractions_.size(); }
const unsigned NUEvent::nParticles | ( | ) | const [inline] |
void NUEvent::reset | ( | void | ) | [inline] |
Definition at line 11 of file NUEvent.h.
References NUInteractions_, and NUParticles_.
{ NUParticles_.clear(); NUInteractions_.clear(); }
const std::vector<NUEvent::NUInteraction>& NUEvent::theNUInteractions | ( | ) | [inline] |
const std::vector<NUEvent::NUParticle>& NUEvent::theNUParticles | ( | ) | [inline] |
std::vector<NUEvent::NUInteraction> NUEvent::NUInteractions_ [private] |
Definition at line 56 of file NUEvent.h.
Referenced by addNUInteraction(), nInteractions(), reset(), and theNUInteractions().
std::vector<NUEvent::NUParticle> NUEvent::NUParticles_ [private] |
Definition at line 55 of file NUEvent.h.
Referenced by addNUParticle(), nParticles(), reset(), and theNUParticles().