38 #ifndef GAUDI_PHYSICAL_CONSTANTS_H
39 #define GAUDI_PHYSICAL_CONSTANTS_H
46 static const double pi = 3.14159265358979323846;
47 static const double twopi = 2*pi;
48 static const double halfpi = pi/2;
49 static const double pi2 = pi*pi;
51 static const double Avogadro = 6.0221367e+23/mole;
57 static const double c_light = 2.99792458e+8 * m/s;
58 static const double c_squared = c_light * c_light;
65 static const double h_Planck = 6.6260755e-34 * joule*s;
66 static const double hbar_Planck = h_Planck/twopi;
67 static const double hbarc = hbar_Planck * c_light;
68 static const double hbarc_squared = hbarc * hbarc;
70 static const double electron_charge = - eplus;
71 static const double e_squared = eplus * eplus;
77 static const double electron_mass_c2 = 0.51099906 * MeV;
78 static const double proton_mass_c2 = 938.27231 * MeV;
79 static const double neutron_mass_c2 = 939.56563 * MeV;
80 static const double amu_c2 = 931.49432 * MeV;
81 static const double amu = amu_c2/c_squared;
87 static const double mu0 = 4*pi*1.e-7 * henry/m;
88 static const double epsilon0 = 1./(c_squared*mu0);
93 static const double elm_coupling = e_squared/(4*pi*epsilon0);
94 static const double fine_structure_const = elm_coupling/hbarc;
95 static const double classic_electr_radius = elm_coupling/electron_mass_c2;
96 static const double electron_Compton_length = hbarc/electron_mass_c2;
97 static const double Bohr_radius = electron_Compton_length/fine_structure_const;
99 static const double alpha_rcl2 = fine_structure_const
100 *classic_electr_radius
101 *classic_electr_radius;
103 static const double twopi_mc2_rcl2 = twopi*electron_mass_c2
104 *classic_electr_radius
105 *classic_electr_radius;
107 static const double k_Boltzmann = 8.617385e-11 * MeV/kelvin;
109 static const double STP_Temperature = 273.15*kelvin;
110 static const double STP_Pressure = 1.*atmosphere;
111 static const double kGasThreshold = 10.*mg/cm3;
113 static const double universe_mean_density = 1.e-25*g/cm3;
This is a number of static methods for bootstrapping the Gaudi framework.