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.

33 { NUInteractions_.push_back(idx); }

References heavyIonCSV_trainingSettings::idx, and NUInteractions_.

◆ addNUParticle()

void NUEvent::addNUParticle ( const NUParticle ptc)
inline

Definition at line 31 of file NUEvent.h.

31 { NUParticles_.push_back(ptc); }

References NUParticles_.

◆ nInteractions()

unsigned NUEvent::nInteractions ( ) const
inline

Definition at line 41 of file NUEvent.h.

41 { return NUInteractions_.size(); }

References NUInteractions_.

◆ nParticles()

unsigned NUEvent::nParticles ( ) const
inline

Definition at line 39 of file NUEvent.h.

39 { return NUParticles_.size(); }

References NUParticles_.

◆ reset()

void NUEvent::reset ( void  )
inline

Definition at line 9 of file NUEvent.h.

9  {
10  NUParticles_.clear();
11  NUInteractions_.clear();
12  }

References NUInteractions_, and NUParticles_.

◆ theNUInteractions()

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

Definition at line 37 of file NUEvent.h.

37 { return NUInteractions_; }

References NUInteractions_.

◆ theNUParticles()

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

Definition at line 35 of file NUEvent.h.

35 { return NUParticles_; }

References NUParticles_.

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

NUEvent::NUParticles_
std::vector< NUEvent::NUParticle > NUParticles_
Definition: NUEvent.h:44
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
NUEvent::NUInteractions_
std::vector< NUEvent::NUInteraction > NUInteractions_
Definition: NUEvent.h:45