33 #ifndef TGEANT4_PHYSICAL_CONSTANTS_H
34 #define TGEANT4_PHYSICAL_CONSTANTS_H
38 namespace TGeant4Unit {
43 static constexpr
double Avogadro = 6.02214179e+23 / mole;
49 static constexpr
double c_light = 2.99792458e+8 * m / s;
50 static constexpr
double c_squared = c_light * c_light;
57 static constexpr
double h_Planck = 6.62606896e-34 * joule * s;
58 static constexpr
double hbar_Planck = h_Planck / twopi;
59 static constexpr
double hbarc = hbar_Planck * c_light;
60 static constexpr
double hbarc_squared = hbarc * hbarc;
65 static constexpr
double electron_charge = -eplus;
66 static constexpr
double e_squared = eplus * eplus;
73 static constexpr
double electron_mass_c2 = 0.510998910 * MeV;
74 static constexpr
double proton_mass_c2 = 938.272013 * MeV;
75 static constexpr
double neutron_mass_c2 = 939.56536 * MeV;
76 static constexpr
double amu_c2 = 931.494028 * MeV;
77 static constexpr
double amu = amu_c2 / c_squared;
83 static constexpr
double mu0 = 4 * pi * 1.e-7 * henry / m;
84 static constexpr
double epsilon0 = 1. / (c_squared * mu0);
89 static constexpr
double elm_coupling = e_squared / (4 * pi * epsilon0);
90 static constexpr
double fine_structure_const = elm_coupling / hbarc;
91 static constexpr
double classic_electr_radius = elm_coupling / electron_mass_c2;
92 static constexpr
double electron_Compton_length = hbarc / electron_mass_c2;
93 static constexpr
double Bohr_radius = electron_Compton_length / fine_structure_const;
95 static constexpr
double alpha_rcl2 = fine_structure_const * classic_electr_radius * classic_electr_radius;
97 static constexpr
double twopi_mc2_rcl2 = twopi * electron_mass_c2 * classic_electr_radius * classic_electr_radius;
101 static constexpr
double k_Boltzmann = 8.617343e-11 * MeV / kelvin;
106 static constexpr
double STP_Temperature = 273.15 * kelvin;
107 static constexpr
double STP_Pressure = 1. * atmosphere;
108 static constexpr
double kGasThreshold = 10. * mg / cm3;
113 static constexpr
double universe_mean_density = 1.e-25 * g / cm3;