CMS 3D CMS Logo

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::NUInteractionNUInteractions_
 
std::vector< NUEvent::NUParticleNUParticles_
 

Detailed Description

Definition at line 6 of file NUEvent.h.

Constructor & Destructor Documentation

◆ NUEvent()

NUEvent::NUEvent ( )
inline

Definition at line 8 of file NUEvent.h.

8 {}

Member Function Documentation

◆ addNUInteraction()

void NUEvent::addNUInteraction ( const NUInteraction idx)
inline

Definition at line 33 of file NUEvent.h.

References heavyIonCSV_trainingSettings::idx, and NUInteractions_.

33 { NUInteractions_.push_back(idx); }
std::vector< NUEvent::NUInteraction > NUInteractions_
Definition: NUEvent.h:45

◆ addNUParticle()

void NUEvent::addNUParticle ( const NUParticle ptc)
inline

Definition at line 31 of file NUEvent.h.

References NUParticles_.

31 { NUParticles_.push_back(ptc); }
std::vector< NUEvent::NUParticle > NUParticles_
Definition: NUEvent.h:44

◆ nInteractions()

unsigned NUEvent::nInteractions ( ) const
inline

Definition at line 41 of file NUEvent.h.

References NUInteractions_.

41 { return NUInteractions_.size(); }
std::vector< NUEvent::NUInteraction > NUInteractions_
Definition: NUEvent.h:45

◆ nParticles()

unsigned NUEvent::nParticles ( ) const
inline

Definition at line 39 of file NUEvent.h.

References NUParticles_.

39 { return NUParticles_.size(); }
std::vector< NUEvent::NUParticle > NUParticles_
Definition: NUEvent.h:44

◆ reset()

void NUEvent::reset ( void  )
inline

Definition at line 9 of file NUEvent.h.

References NUInteractions_, and NUParticles_.

9  {
10  NUParticles_.clear();
11  NUInteractions_.clear();
12  }
std::vector< NUEvent::NUParticle > NUParticles_
Definition: NUEvent.h:44
std::vector< NUEvent::NUInteraction > NUInteractions_
Definition: NUEvent.h:45

◆ theNUInteractions()

const std::vector<NUEvent::NUInteraction>& NUEvent::theNUInteractions ( )
inline

Definition at line 37 of file NUEvent.h.

References NUInteractions_.

37 { return NUInteractions_; }
std::vector< NUEvent::NUInteraction > NUInteractions_
Definition: NUEvent.h:45

◆ theNUParticles()

const std::vector<NUEvent::NUParticle>& NUEvent::theNUParticles ( )
inline

Definition at line 35 of file NUEvent.h.

References NUParticles_.

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

Member Data Documentation

◆ NUInteractions_

std::vector<NUEvent::NUInteraction> NUEvent::NUInteractions_
private

Definition at line 45 of file NUEvent.h.

Referenced by addNUInteraction(), nInteractions(), reset(), and theNUInteractions().

◆ NUParticles_

std::vector<NUEvent::NUParticle> NUEvent::NUParticles_
private

Definition at line 44 of file NUEvent.h.

Referenced by addNUParticle(), nParticles(), reset(), and theNUParticles().