CMS 3D CMS Logo

ParticleTable Class Reference

#include <FastSimulation/Particle/interface/ParticleTable.h>

List of all members.

Public Member Functions

const HepPDT::ParticleDataTabletheTable () const
 Get the pointer to the particle data table.

Static Public Member Functions

static ParticleTableinstance ()
static ParticleTableinstance (const HepPDT::ParticleDataTable *pdt)

Private Member Functions

 ParticleTable (const HepPDT::ParticleDataTable *pdt)

Private Attributes

const HepPDT::ParticleDataTablepdt_

Static Private Attributes

static ParticleTablemyself = 0


Detailed Description

Definition at line 7 of file ParticleTable.h.


Constructor & Destructor Documentation

ParticleTable::ParticleTable ( const HepPDT::ParticleDataTable pdt  )  [inline, private]

Definition at line 19 of file ParticleTable.h.

Referenced by instance().

00019 : pdt_(pdt) {;}


Member Function Documentation

static ParticleTable* ParticleTable::instance ( void   )  [inline, static]

Definition at line 15 of file ParticleTable.h.

References myself.

Referenced by PFSimParticleProducer::beginJob(), TauHadronDecayFilter::beginJob(), RawParticle::init(), and FamosManager::setupGeometryAndField().

00015 { return myself; }

ParticleTable * ParticleTable::instance ( const HepPDT::ParticleDataTable pdt  )  [static]

Definition at line 7 of file ParticleTable.cc.

References myself, and ParticleTable().

00007                                                           {
00008   if (!myself) myself = new ParticleTable(pdt);
00009   return myself;
00010 }

const HepPDT::ParticleDataTable* ParticleTable::theTable (  )  const [inline]

Get the pointer to the particle data table.

Definition at line 12 of file ParticleTable.h.

References pdt_.

Referenced by RawParticle::setID().

00012 {return pdt_;}


Member Data Documentation

ParticleTable * ParticleTable::myself = 0 [static, private]

Definition at line 20 of file ParticleTable.h.

Referenced by instance().

const HepPDT::ParticleDataTable* ParticleTable::pdt_ [private]

Definition at line 21 of file ParticleTable.h.

Referenced by theTable().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:29:27 2009 for CMSSW by  doxygen 1.5.4