CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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.

References heavyIonCSV_trainingSettings::idx, and PUMinBiasEvts_.

33 { PUMinBiasEvts_.push_back(idx); }
std::vector< PUEvent::PUMinBiasEvt > PUMinBiasEvts_
Definition: PUEvent.h:45

◆ addPUParticle()

void PUEvent::addPUParticle ( const PUParticle ptc)
inline

Definition at line 31 of file PUEvent.h.

References PUParticles_.

31 { PUParticles_.push_back(ptc); }
std::vector< PUEvent::PUParticle > PUParticles_
Definition: PUEvent.h:44

◆ nMinBias()

unsigned PUEvent::nMinBias ( ) const
inline

Definition at line 41 of file PUEvent.h.

References PUMinBiasEvts_.

41 { return PUMinBiasEvts_.size(); }
std::vector< PUEvent::PUMinBiasEvt > PUMinBiasEvts_
Definition: PUEvent.h:45

◆ nParticles()

unsigned PUEvent::nParticles ( ) const
inline

Definition at line 39 of file PUEvent.h.

References PUParticles_.

39 { return PUParticles_.size(); }
std::vector< PUEvent::PUParticle > PUParticles_
Definition: PUEvent.h:44

◆ reset()

void PUEvent::reset ( void  )
inline

Definition at line 9 of file PUEvent.h.

References PUMinBiasEvts_, and PUParticles_.

9  {
10  PUParticles_.clear();
11  PUMinBiasEvts_.clear();
12  }
std::vector< PUEvent::PUParticle > PUParticles_
Definition: PUEvent.h:44
std::vector< PUEvent::PUMinBiasEvt > PUMinBiasEvts_
Definition: PUEvent.h:45

◆ thePUMinBiasEvts()

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

Definition at line 37 of file PUEvent.h.

References PUMinBiasEvts_.

37 { return PUMinBiasEvts_; }
std::vector< PUEvent::PUMinBiasEvt > PUMinBiasEvts_
Definition: PUEvent.h:45

◆ thePUParticles()

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

Definition at line 35 of file PUEvent.h.

References PUParticles_.

35 { return PUParticles_; }
std::vector< PUEvent::PUParticle > PUParticles_
Definition: PUEvent.h:44

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