CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Attributes
PUEvent Class Reference

#include <PUEvent.h>

Classes

class  PUMinBiasEvt
 
class  PUParticle
 

Public Member Functions

void addPUMinBiasEvt (const PUMinBiasEvt &idx)
 
void addPUParticle (const PUParticle &ptc)
 
unsigned nMinBias () const
 
unsigned nParticles () const
 
 PUEvent ()
 
void reset ()
 
const std::vector< PUEvent::PUMinBiasEvt > & thePUMinBiasEvts ()
 
const std::vector< PUEvent::PUParticle > & thePUParticles ()
 

Private Attributes

std::vector< PUEvent::PUMinBiasEvtPUMinBiasEvts_
 
std::vector< PUEvent::PUParticlePUParticles_
 

Detailed Description

Definition at line 6 of file PUEvent.h.

Constructor & Destructor Documentation

◆ PUEvent()

PUEvent::PUEvent ( )
inline

Definition at line 8 of file PUEvent.h.

8 {}

Member Function Documentation

◆ addPUMinBiasEvt()

void PUEvent::addPUMinBiasEvt ( const PUMinBiasEvt idx)
inline

Definition at line 33 of file PUEvent.h.

33 { PUMinBiasEvts_.push_back(idx); }

References heavyIonCSV_trainingSettings::idx, and PUMinBiasEvts_.

◆ addPUParticle()

void PUEvent::addPUParticle ( const PUParticle ptc)
inline

Definition at line 31 of file PUEvent.h.

31 { PUParticles_.push_back(ptc); }

References PUParticles_.

◆ nMinBias()

unsigned PUEvent::nMinBias ( ) const
inline

Definition at line 41 of file PUEvent.h.

41 { return PUMinBiasEvts_.size(); }

References PUMinBiasEvts_.

◆ nParticles()

unsigned PUEvent::nParticles ( ) const
inline

Definition at line 39 of file PUEvent.h.

39 { return PUParticles_.size(); }

References PUParticles_.

◆ reset()

void PUEvent::reset ( void  )
inline

Definition at line 9 of file PUEvent.h.

9  {
10  PUParticles_.clear();
11  PUMinBiasEvts_.clear();
12  }

References PUMinBiasEvts_, and PUParticles_.

◆ thePUMinBiasEvts()

const std::vector<PUEvent::PUMinBiasEvt>& PUEvent::thePUMinBiasEvts ( )
inline

Definition at line 37 of file PUEvent.h.

37 { return PUMinBiasEvts_; }

References PUMinBiasEvts_.

◆ thePUParticles()

const std::vector<PUEvent::PUParticle>& PUEvent::thePUParticles ( )
inline

Definition at line 35 of file PUEvent.h.

35 { return PUParticles_; }

References PUParticles_.

Member Data Documentation

◆ PUMinBiasEvts_

std::vector<PUEvent::PUMinBiasEvt> PUEvent::PUMinBiasEvts_
private

Definition at line 45 of file PUEvent.h.

Referenced by addPUMinBiasEvt(), nMinBias(), reset(), and thePUMinBiasEvts().

◆ PUParticles_

std::vector<PUEvent::PUParticle> PUEvent::PUParticles_
private

Definition at line 44 of file PUEvent.h.

Referenced by addPUParticle(), nParticles(), reset(), and thePUParticles().

heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
PUEvent::PUMinBiasEvts_
std::vector< PUEvent::PUMinBiasEvt > PUMinBiasEvts_
Definition: PUEvent.h:45
PUEvent::PUParticles_
std::vector< PUEvent::PUParticle > PUParticles_
Definition: PUEvent.h:44