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

{}

Member Function Documentation

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

Definition at line 39 of file PUEvent.h.

References PUMinBiasEvts_.

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

Definition at line 35 of file PUEvent.h.

References PUParticles_.

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

Definition at line 51 of file PUEvent.h.

References PUMinBiasEvts_.

{ return PUMinBiasEvts_.size(); }
unsigned PUEvent::nParticles ( ) const [inline]

Definition at line 49 of file PUEvent.h.

References PUParticles_.

{ return PUParticles_.size(); }
void PUEvent::reset ( void  ) [inline]

Definition at line 11 of file PUEvent.h.

References PUMinBiasEvts_, and PUParticles_.

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

Definition at line 46 of file PUEvent.h.

References PUMinBiasEvts_.

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

Definition at line 43 of file PUEvent.h.

References PUParticles_.

    {return PUParticles_;}

Member Data Documentation

Definition at line 56 of file PUEvent.h.

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

Definition at line 55 of file PUEvent.h.

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