#include <FastSimulation/Particle/interface/ParticleTable.h>
Public Member Functions | |
const HepPDT::ParticleDataTable * | theTable () const |
Get the pointer to the particle data table. | |
Static Public Member Functions | |
static ParticleTable * | instance () |
static ParticleTable * | instance (const HepPDT::ParticleDataTable *pdt) |
Private Member Functions | |
ParticleTable (const HepPDT::ParticleDataTable *pdt) | |
Private Attributes | |
const HepPDT::ParticleDataTable * | pdt_ |
Static Private Attributes | |
static ParticleTable * | myself = 0 |
Definition at line 7 of file ParticleTable.h.
ParticleTable::ParticleTable | ( | const HepPDT::ParticleDataTable * | pdt | ) | [inline, private] |
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_;}
ParticleTable * ParticleTable::myself = 0 [static, private] |
const HepPDT::ParticleDataTable* ParticleTable::pdt_ [private] |