CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/FastSimulation/Particle/interface/ParticleTable.h

Go to the documentation of this file.
00001 #ifndef FastSimulation_Particle_ParticleTable_H
00002 #define FastSimulation_Particle_ParticleTable_H
00003 
00004 // HepPDT header
00005 #include "SimGeneral/HepPDTRecord/interface/ParticleDataTable.h"
00006 
00007 class ParticleTable {
00008 
00009 public:
00010 
00012   const HepPDT::ParticleDataTable* theTable() const {return pdt_;}
00013 
00014   static ParticleTable* instance(const HepPDT::ParticleDataTable* pdt);
00015   static inline ParticleTable* instance() { return myself; }
00016 
00017 private:
00018 
00019   ParticleTable(const HepPDT::ParticleDataTable* pdt) : pdt_(pdt) {;}
00020   static ParticleTable* myself;
00021   const HepPDT::ParticleDataTable * pdt_;
00022 
00023 };
00024 
00025 #endif // FastSimulation_Particle_ParticleTable_H