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

Definition at line 10 of file PUEvent.h.

10 {}

Member Function Documentation

void PUEvent::addPUMinBiasEvt ( const PUMinBiasEvt idx)
inline

Definition at line 39 of file PUEvent.h.

References PUMinBiasEvts_.

39  {
40  PUMinBiasEvts_.push_back(idx);
41  }
std::vector< PUEvent::PUMinBiasEvt > PUMinBiasEvts_
Definition: PUEvent.h:56
void PUEvent::addPUParticle ( const PUParticle ptc)
inline

Definition at line 35 of file PUEvent.h.

References PUParticles_.

35  {
36  PUParticles_.push_back(ptc);
37  }
std::vector< PUEvent::PUParticle > PUParticles_
Definition: PUEvent.h:55
unsigned PUEvent::nMinBias ( ) const
inline

Definition at line 51 of file PUEvent.h.

References PUMinBiasEvts_.

51 { return PUMinBiasEvts_.size(); }
std::vector< PUEvent::PUMinBiasEvt > PUMinBiasEvts_
Definition: PUEvent.h:56
unsigned PUEvent::nParticles ( ) const
inline

Definition at line 49 of file PUEvent.h.

References PUParticles_.

49 { return PUParticles_.size(); }
std::vector< PUEvent::PUParticle > PUParticles_
Definition: PUEvent.h:55
void PUEvent::reset ( void  )
inline

Definition at line 11 of file PUEvent.h.

References PUMinBiasEvts_, and PUParticles_.

11  {
12  PUParticles_.clear();
13  PUMinBiasEvts_.clear();
14  }
std::vector< PUEvent::PUParticle > PUParticles_
Definition: PUEvent.h:55
std::vector< PUEvent::PUMinBiasEvt > PUMinBiasEvts_
Definition: PUEvent.h:56
const std::vector<PUEvent::PUMinBiasEvt>& PUEvent::thePUMinBiasEvts ( )
inline

Definition at line 46 of file PUEvent.h.

References PUMinBiasEvts_.

47  {return PUMinBiasEvts_;}
std::vector< PUEvent::PUMinBiasEvt > PUMinBiasEvts_
Definition: PUEvent.h:56
const std::vector<PUEvent::PUParticle>& PUEvent::thePUParticles ( )
inline

Definition at line 43 of file PUEvent.h.

References PUParticles_.

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

Member Data Documentation

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

Definition at line 56 of file PUEvent.h.

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

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

Definition at line 55 of file PUEvent.h.

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