Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:18

0001 #ifndef FastSimulation_Particle_pdg_functions_h
0002 #define FastSimulation_Particle_pdg_functions_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     FastSimulation/Particle
0006 // Class  :     pdg_functions
0007 //
0008 /**\class pdg_functions pdg_functions.h "FastSimulation/Particle/interface/pdg_functions.h"
0009 
0010  Description: [one line class summary]
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:  Christopher Jones
0018 //         Created:  Mon, 04 Mar 2019 19:49:58 GMT
0019 //
0020 
0021 // system include files
0022 #include "SimGeneral/HepPDTRecord/interface/ParticleDataTable.h"
0023 
0024 // user include files
0025 
0026 // forward declarations
0027 
0028 namespace pdg {
0029   constexpr static double kInvalidMass = -99999;
0030   double mass(int pdgID, const HepPDT::ParticleDataTable* pdt);
0031 
0032   constexpr static double kInvalidCtau = 1E99;
0033   double cTau(int pdgID, const HepPDT::ParticleDataTable* pdt);
0034 }  // namespace pdg
0035 
0036 #endif