CMS 3D CMS Logo

Classes | Public Member Functions | Private Attributes

PUEvent Class Reference

#include <PUEvent.h>

List of all members.

Classes

class  PUMinBiasEvt
class  PUParticle

Public Member Functions

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

Private Attributes

unsigned NMinBias_
unsigned NParticles_
std::vector
< PUEvent::PUMinBiasEvt
PUMinBiasEvts_
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.

: NParticles_(0), NMinBias_(0) {}
virtual PUEvent::~PUEvent ( ) [inline, virtual]

Definition at line 11 of file PUEvent.h.

{}

Member Function Documentation

void PUEvent::addPUMinBiasEvt ( const PUMinBiasEvt idx) [inline]

Definition at line 45 of file PUEvent.h.

References NMinBias_, and PUMinBiasEvts_.

                                                  {
    PUMinBiasEvts_.push_back(idx);
    ++NMinBias_;
  }
void PUEvent::addPUParticle ( const PUParticle ptc) [inline]

Definition at line 40 of file PUEvent.h.

References NParticles_, and PUParticles_.

                                              {
    PUParticles_.push_back(ptc);
    ++NParticles_;
  }
const unsigned PUEvent::nMinBias ( ) const [inline]

Definition at line 58 of file PUEvent.h.

References NMinBias_.

{ return NMinBias_; }
const unsigned PUEvent::nParticles ( ) const [inline]

Definition at line 56 of file PUEvent.h.

References NParticles_.

{ return NParticles_; }
void PUEvent::reset ( void  ) [inline]

Definition at line 12 of file PUEvent.h.

References NMinBias_, NParticles_, PUMinBiasEvts_, and PUParticles_.

               {
    PUParticles_.clear();
    PUMinBiasEvts_.clear();
    NParticles_ = 0;
    NMinBias_ = 0;  
  }
const std::vector<PUEvent::PUMinBiasEvt>& PUEvent::thePUMinBiasEvts ( ) [inline]

Definition at line 53 of file PUEvent.h.

References PUMinBiasEvts_.

    {return PUMinBiasEvts_;}
const std::vector<PUEvent::PUParticle>& PUEvent::thePUParticles ( ) [inline]

Definition at line 50 of file PUEvent.h.

References PUParticles_.

    {return PUParticles_;}

Member Data Documentation

unsigned PUEvent::NMinBias_ [private]

Definition at line 65 of file PUEvent.h.

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

unsigned PUEvent::NParticles_ [private]

Definition at line 64 of file PUEvent.h.

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

Definition at line 63 of file PUEvent.h.

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

Definition at line 62 of file PUEvent.h.

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