CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ParticleTable.h
Go to the documentation of this file.
1 #ifndef FastSimulation_Particle_ParticleTable_H
2 #define FastSimulation_Particle_ParticleTable_H
3 
4 // HepPDT header
6 
7 class ParticleTable {
8 
9 public:
10 
12  const HepPDT::ParticleDataTable* theTable() const {return pdt_;}
13 
15  static inline ParticleTable* instance() { return myself; }
16 
17 private:
18 
22 
23 };
24 
25 #endif // FastSimulation_Particle_ParticleTable_H
static ParticleTable * myself
Definition: ParticleTable.h:20
HepPDT::ParticleDataTable ParticleDataTable
ParticleTable(const HepPDT::ParticleDataTable *pdt)
Definition: ParticleTable.h:19
const HepPDT::ParticleDataTable * theTable() const
Get the pointer to the particle data table.
Definition: ParticleTable.h:12
static ParticleTable * instance()
Definition: ParticleTable.h:15
const HepPDT::ParticleDataTable * pdt_
Definition: ParticleTable.h:21