CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
ParticleTable Class Reference

#include <ParticleTable.h>

Public Member Functions

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

Static Public Member Functions

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

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)
inlineprivate

Definition at line 19 of file ParticleTable.h.

Referenced by instance().

19 : pdt_(pdt) {;}
const HepPDT::ParticleDataTable * pdt_
Definition: ParticleTable.h:21

Member Function Documentation

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

Definition at line 7 of file ParticleTable.cc.

References myself, and ParticleTable().

7  {
8  if (!myself) myself = new ParticleTable(pdt);
9  return myself;
10 }
static ParticleTable * myself
Definition: ParticleTable.h:20
ParticleTable(const HepPDT::ParticleDataTable *pdt)
Definition: ParticleTable.h:19
static ParticleTable* ParticleTable::instance ( )
inlinestatic

Definition at line 15 of file ParticleTable.h.

References myself.

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

15 { return myself; }
static ParticleTable * myself
Definition: ParticleTable.h:20
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().

12 {return pdt_;}
const HepPDT::ParticleDataTable * pdt_
Definition: ParticleTable.h:21

Member Data Documentation

ParticleTable * ParticleTable::myself =0
staticprivate

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