3 #ifndef HEP_PHYSICAL_CONSTANTS_H
5 #define HEP_PHYSICAL_CONSTANTS_H
11 #include "SystemOfUnits.h"
13 #ifndef ST_NO_NAMESPACES
14 using namespace units;
20 static const double pi = TMath::Pi();
21 static const double twopi = 2*pi;
22 static const double halfpi = pi/2;
23 static const double pi2 = pi*pi;
28 static const double Avogadro = 6.0221367e+23/mole;
34 static const double c_light = 2.99792458e+8 * meter/second;
35 static const double c_squared = c_light * c_light;
42 static const double h_Planck = 6.6260755e-34 * joule*second;
43 static const double hbar_Planck = h_Planck/twopi;
44 static const double hbarc = hbar_Planck * c_light;
45 static const double hbarc_squared = hbarc * hbarc;
50 static const double electron_charge = - eplus;
51 static const double e_squared = eplus * eplus;
57 static const double electron_mass_c2 = 0.51099906 * MeV;
58 static const double proton_mass_c2 = 938.27231 * MeV;
59 static const double neutron_mass_c2 = 939.56563 * MeV;
60 static const double amu_c2 = 931.49432 * MeV;
63 static const double kaon_0_short_mass_c2 = 497.672 * MeV;
64 static const double pion_plus_mass_c2 = 139.5700 * MeV;
65 static const double pion_minus_mass_c2 = 139.5700 * MeV;
66 static const double lambda_mass_c2 = 1115.684 * MeV;
67 static const double antilambda_mass_c2 = 1115.684 * MeV;
68 static const double xi_minus_mass_c2 = 1321.32 * MeV;
75 static const double mu0 = 4*pi*1.e-7 * henry/meter;
76 static const double epsilon0 = 1./(c_squared*mu0);
81 static const double elm_coupling = e_squared/(4*pi*epsilon0);
82 static const double fine_structure_const = elm_coupling/hbarc;
83 static const double classic_electr_radius = elm_coupling/electron_mass_c2;
84 static const double electron_Compton_length = hbarc/electron_mass_c2;
85 static const double Bohr_radius = electron_Compton_length/fine_structure_const;
87 static const double alpha_rcl2 = fine_structure_const
88 *classic_electr_radius
89 *classic_electr_radius;
91 static const double twopi_mc2_rcl2 = twopi*electron_mass_c2
92 *classic_electr_radius
93 *classic_electr_radius;
97 static const double k_Boltzmann = 8.617385e-11 * MeV/kelvin;
102 static const double STP_Temperature = 273.15*kelvin;
103 static const double STP_Pressure = 1.*atmosphere;
104 static const double kGasThreshold = 1.e-2*gram/centimeter3;
106 inline int dummyPhysicalConstants()
124 +kaon_0_short_mass_c2
133 +fine_structure_const
134 +classic_electr_radius
135 +electron_Compton_length
148 #endif // #ifdef _VANILLA_ROOT_