CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
double cTau(int pdgID, const HepPDT::ParticleDataTable *pdt)
HepPDT::ParticleDataTable ParticleDataTable
double mass(int pdgID, const HepPDT::ParticleDataTable *pdt)
static constexpr double kInvalidCtau
Definition: pdg_functions.h:32
static constexpr double kInvalidMass
Definition: pdg_functions.h:29