CMS 3D CMS Logo

pdg_functions.h
Go to the documentation of this file.
1 #ifndef FastSimulation_Particle_pdg_functions_h
2 #define FastSimulation_Particle_pdg_functions_h
3 // -*- C++ -*-
4 //
5 // Package: FastSimulation/Particle
6 // Class : pdg_functions
7 //
16 //
17 // Original Author: Christopher Jones
18 // Created: Mon, 04 Mar 2019 19:49:58 GMT
19 //
20 
21 // system include files
23 
24 // user include files
25 
26 // forward declarations
27 
28 namespace pdg {
29  constexpr static double kInvalidMass = -99999;
30  double mass(int pdgID, const HepPDT::ParticleDataTable* pdt);
31 
32  constexpr static double kInvalidCtau = 1E99;
33  double cTau(int pdgID, const HepPDT::ParticleDataTable* pdt);
34 } // namespace pdg
35 
36 #endif
pdg::kInvalidMass
constexpr static double kInvalidMass
Definition: pdg_functions.h:29
pdg::kInvalidCtau
constexpr static double kInvalidCtau
Definition: pdg_functions.h:32
pdg::mass
double mass(int pdgID, const HepPDT::ParticleDataTable *pdt)
Definition: pdg_functions.cc:18
ParticleDataTable.h
pdg::cTau
double cTau(int pdgID, const HepPDT::ParticleDataTable *pdt)
Definition: pdg_functions.cc:26
pdg
Definition: pdg_functions.h:28
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition: ParticleDataTable.h:8