#include <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 (const HepPDT::ParticleDataTable *pdt) |
static ParticleTable * | instance () |
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] |
ParticleTable * ParticleTable::instance | ( | const HepPDT::ParticleDataTable * | pdt | ) | [static] |
Definition at line 7 of file ParticleTable.cc.
References myself, and ParticleTable().
{ if (!myself) myself = new ParticleTable(pdt); return myself; }
static ParticleTable* ParticleTable::instance | ( | void | ) | [inline, static] |
Definition at line 15 of file ParticleTable.h.
References myself.
Referenced by PFSimParticleProducer::beginRun(), TauHadronDecayFilter::beginRun(), RawParticle::init(), and FamosManager::setupGeometryAndField().
{ return myself; }
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().
{return pdt_;}
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().