Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:31:59

0001 #ifndef PPS_UNITS
0002 #define PPS_UNITS
0003 #include <cmath>
0004 
0005 static const double ProtonMass = 0.93827;
0006 static const double ProtonMassSQ = pow(ProtonMass, 2);
0007 static const double c_light_s = 2.99792458e+8;  // m/s;
0008 static const double s_to_ns = 1.e9;
0009 static const double c_light_ns = c_light_s / s_to_ns;
0010 static const double urad = 1. / 1000000.;  //micro rad
0011 static const double um_to_mm = 0.001;
0012 static const double um_to_cm = 0.0001;
0013 static const double mm_to_um = 1000.;
0014 static const double mm_to_cm = 0.1;
0015 static const double mm_to_m = 0.001;
0016 static const double cm_to_um = 10000.;
0017 static const double cm_to_mm = 10.;
0018 static const double cm_to_m = 0.01;
0019 static const double m_to_cm = 100.;
0020 static const double m_to_mm = 1000.;
0021 static const double m_to_um = 1000000.;
0022 #endif