test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Attributes
NUEvent Class Reference

#include <NUEvent.h>

Classes

class  NUInteraction
 
class  NUParticle
 

Public Member Functions

void addNUInteraction (const NUInteraction &idx)
 
void addNUParticle (const NUParticle &ptc)
 
unsigned nInteractions () 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::NUParticleNUParticles_
 

Detailed Description

Definition at line 6 of file NUEvent.h.

Constructor & Destructor Documentation

NUEvent::NUEvent ( )
inline

Definition at line 10 of file NUEvent.h.

10 {}

Member Function Documentation

void NUEvent::addNUInteraction ( const NUInteraction idx)
inline

Definition at line 39 of file NUEvent.h.

References NUInteractions_.

39  {
40  NUInteractions_.push_back(idx);
41  }
std::vector< NUEvent::NUInteraction > NUInteractions_
Definition: NUEvent.h:56
void NUEvent::addNUParticle ( const NUParticle ptc)
inline

Definition at line 35 of file NUEvent.h.

References NUParticles_.

35  {
36  NUParticles_.push_back(ptc);
37  }
std::vector< NUEvent::NUParticle > NUParticles_
Definition: NUEvent.h:55
unsigned NUEvent::nInteractions ( ) const
inline

Definition at line 51 of file NUEvent.h.

References NUInteractions_.

51 { return NUInteractions_.size(); }
std::vector< NUEvent::NUInteraction > NUInteractions_
Definition: NUEvent.h:56
unsigned NUEvent::nParticles ( ) const
inline

Definition at line 49 of file NUEvent.h.

References NUParticles_.

49 { return NUParticles_.size(); }
std::vector< NUEvent::NUParticle > NUParticles_
Definition: NUEvent.h:55
void NUEvent::reset ( void  )
inline

Definition at line 11 of file NUEvent.h.

References NUInteractions_, and NUParticles_.

11  {
12  NUParticles_.clear();
13  NUInteractions_.clear();
14  }
std::vector< NUEvent::NUParticle > NUParticles_
Definition: NUEvent.h:55
std::vector< NUEvent::NUInteraction > NUInteractions_
Definition: NUEvent.h:56
const std::vector<NUEvent::NUInteraction>& NUEvent::theNUInteractions ( )
inline

Definition at line 46 of file NUEvent.h.

References NUInteractions_.

47  {return NUInteractions_;}
std::vector< NUEvent::NUInteraction > NUInteractions_
Definition: NUEvent.h:56
const std::vector<NUEvent::NUParticle>& NUEvent::theNUParticles ( )
inline

Definition at line 43 of file NUEvent.h.

References NUParticles_.

44  {return NUParticles_;}
std::vector< NUEvent::NUParticle > NUParticles_
Definition: NUEvent.h:55

Member Data Documentation

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().