Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-07 04:36:19

0001 #ifndef FASTSIM_CONSTANTS_H
0002 #define FASTSIM_CONSTANTS_H
0003 
0004 ///////////////////////////////////////////////
0005 // Author: L. Vanelderen, S. Kurz
0006 // Date: 29 May 2017
0007 //////////////////////////////////////////////////////////
0008 
0009 namespace fastsim {
0010   //! Definition of constants needed for the SimplifiedGeometryPropagator package.
0011   namespace Constants {
0012     static double constexpr speedOfLight = 29.9792458;  //!< Speed of light [cm / ns]
0013     static double constexpr eMass = 0.0005109990615;    //!< Electron mass[GeV]
0014     static double constexpr muMass = 0.1056583745;      //!< Muon mass [GeV]
0015     static double constexpr epsilonDistance_ = 1.0e-7;  //!< some epsilon for numerical comparisons
0016     static double constexpr NA = 6.022e+23;             //!< Avogadro's number
0017   };  // namespace Constants
0018 }  // namespace fastsim
0019 
0020 #endif