All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ConstantStorage.cc
Go to the documentation of this file.
1 #include "ConstantStorage.hh"
2 using std::vector;
3 namespace TTbarAnalysis
4 {
15  vector<int> ConstantStorage::myEmptyPDGs;
16 
18 
19  const std::vector<int> & ConstantStorage::TAU_LEPTON_PDG()
20  {
21  return myTauLeptonPDGs;
22  }
23  const std::vector<int> & ConstantStorage::CHARMED_MESONS_PDG()
24  {
25  return myCharmedMesonsPDGs;
26  }
27  const std::vector<int> & ConstantStorage::STRANGE_MESONS_PDG()
28  {
29  return myStrangeMesonsPDGs;
30  }
31  const std::vector<int> & ConstantStorage::BOTTOM_MESONS_PDG()
32  {
33  return myBottomMesonsPDGs;
34  }
35  const std::vector<int> & ConstantStorage::BOTTOM_BARYONS_PDG()
36  {
37  return myBottomBaryonsPDGs;
38  }
39  const std::vector<int> & ConstantStorage::BOTTOM_HADRONS_PDG()
40  {
41  return myBottomHadronsPDGs;
42  }
43  const std::vector<int> & ConstantStorage::CHARMED_BARYONS_PDG()
44  {
45  return myCharmedBaryonsPDGs;
46  }
47  const std::vector<int> & ConstantStorage::CHARMED_HADRONS_PDG()
48  {
49  return myCharmedHadronsPDGs;
50  }
51  const std::vector<int> & ConstantStorage::TRACKABLE_PARTICLES_PDG()
52  {
54  }
56  {
58  }
59  const std::vector<int> & ConstantStorage::GET_PDG(PDGTYPE type)
60  {
61  switch(type)
62  {
63  case BOTTOM_MESONS:
64  return BOTTOM_MESONS_PDG();
65  case CHARMED_MESONS:
66  return CHARMED_MESONS_PDG();
67  case STRANGE_MESONS:
68  return STRANGE_MESONS_PDG();
69  case BOTTOM_BARYONS:
70  return BOTTOM_BARYONS_PDG();
71  case BOTTOM_HADRONS:
72  return BOTTOM_HADRONS_PDG();
73  case CHARMED_HADRONS:
74  return CHARMED_HADRONS_PDG();
75  case CHARMED_BARYONS:
76  return CHARMED_BARYONS_PDG();
77  case TAU_LEPTON:
78  return TAU_LEPTON_PDG();
80  return TRACKABLE_PARTICLES_PDG();
83  default:
85  }
86  }
87 
88 } /* TTbarAnalysis */
static const std::vector< int > & CHARMED_BARYONS_PDG()
static std::vector< int > myCharmedMesonsPDGs
static const std::vector< int > & STRANGE_MESONS_PDG()
static std::vector< int > myEmptyPDGs
static std::vector< int > myCharmedBaryonsPDGs
static const std::vector< int > & BOTTOM_HADRONS_PDG()
static const std::vector< int > & GET_PDG(PDGTYPE type)
static const std::vector< int > & CHARMED_HADRONS_PDG()
static std::vector< int > myBottomBaryonsPDGs
static class TTbarAnalysis::ConstantStorage::_init _initializer
static const std::vector< int > & TAU_LEPTON_PDG()
static std::vector< int > myTauLeptonPDGs
static const std::vector< int > & BOTTOM_MESONS_PDG()
static std::vector< int > myTrackableParticlesPDGs
static const std::vector< int > & CHARMED_MESONS_PDG()
static const std::vector< int > & BOTTOM_BARYONS_PDG()
static std::vector< int > myStrangeMesonsPDGs
static std::vector< int > myNonTrackableParticlesPDGs
static std::vector< int > myCharmedHadronsPDGs
static const std::vector< int > & TRACKABLE_PARTICLES_PDG()
static std::vector< int > myBottomHadronsPDGs
static std::vector< int > myBottomMesonsPDGs
static const std::vector< int > & NONTRACKABLE_PARTICLES_PDG()