CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes

ParticleTable Class Reference

#include <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 (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) [inline, private]

Definition at line 19 of file ParticleTable.h.

Referenced by instance().

: pdt_(pdt) {;}

Member Function Documentation

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 ( ) [inline, static]

Definition at line 15 of file ParticleTable.h.

References myself.

Referenced by PFSimParticleProducer::beginRun(), and TauHadronDecayFilter::beginRun().

{ 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_;}

Member Data Documentation

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

Definition at line 20 of file ParticleTable.h.

Referenced by instance().

Definition at line 21 of file ParticleTable.h.

Referenced by theTable().