1 #ifndef CLASSIC_Physics_HH
2 #define CLASSIC_Physics_HH
31 constexpr
double pi = 3.14159265358979323846;
40 constexpr
double e = 2.7182818284590452354;
43 constexpr
double log10e = 0.43429448190325182765;
52 constexpr
double c = 299792458.0;
55 constexpr
double mu_0 = 1.25663706212e-06;
61 constexpr
double h_bar = 6.582119569e-25;
64 constexpr
double Avo = 6.02214076e23;
67 constexpr
double kB = 8.617333262e-5;
70 constexpr
double E_ryd = 13.605693122994e-9;
73 constexpr
double a0 = 5.29177210903e-11;
76 constexpr
double q_e = 1.602176634e-19;
79 constexpr
double alpha = 7.2973525693e-03;
82 constexpr
double amu = 0.93149410242;
85 constexpr
double m_e = 0.51099895000e-03;
88 constexpr
double r_e = 2.8179403262e-15;
91 constexpr
double lamda_e = 3.8615926796e-13;
94 constexpr
double a_e = 1.15965218128e-03;
97 constexpr
double m_p = 0.93827208816e+00;
100 constexpr
double r_p = 1.53469857e-18;
106 constexpr
double a_p = 1.792847386e+00;
121 constexpr
double m_mu = 0.1056583755;
124 constexpr
double m_d = 2.013553212745 *
amu;
130 constexpr
double m_h = 1.00782503224 *
amu;
138 constexpr
double PMASS = 1.67262192369e-27;
140 constexpr
double EMASS = 9.1093837015e-31;
145 constexpr
double Ia = 17.045148e+03;
147 constexpr
double e0m = 1.75882001076e+11;
153 #endif // CLASSIC_Physics_HH
constexpr double u_two_pi
The value of .
constexpr double kB
Boltzman's constant in eV/K.
constexpr double e
The value of .
constexpr double m_hm
The H- rest mass in GeV.
constexpr double m_d
The deuteron rest mass in GeV.
constexpr double m_u
The uranium rest mass in GeV.
constexpr double two_pi
The value of .
constexpr double m_p
The proton rest mass in GeV.
constexpr double r_p
The classical proton radius in m.
constexpr double m_mu
The muon rest mass in GeV.
constexpr double rad2deg
The conversion factor from radians to degrees.
constexpr double lamda_e
The reduced Compton wave length for electrons in m.
constexpr double r_e
The classical electron radius in m.
constexpr double m_e
The electron rest mass in GeV.
constexpr double m_h3p
The H3+ rest mass in GeV.
constexpr double alpha
The fine structure constant, no dimension.
constexpr double E_ryd
Rydberg's energy (Rydberg's constant times hc) in GeV.
constexpr double pi
The value of .
constexpr double mu_0
The permeability of vacuum in Vs/Am.
constexpr double c
The velocity of light in m/s.
constexpr double a0
Bohr radius in m.
constexpr double lamda_p
The reduced Compton wave length for protons in m.
constexpr double m_h2p
The H2+ rest mass in GeV.
constexpr double log10e
The logarithm of $e$ to the base 10.
constexpr double h_bar
The reduced Planck constant in GeVs.
constexpr double q_e
The elementary charge in As.
constexpr double m_h
The hydrogen atom rest mass in GeV.
constexpr double deg2rad
The conversion factor from degrees to radians.
constexpr double amu
The atomic mass unit energy equivalent in GeV.
constexpr double a_p
The magnetic momentum anomaly for protons, no dimension.
constexpr double m_xe
The xenon rest mass in GeV.
constexpr double epsilon_0
The permittivity of vacuum in As/Vm.
constexpr double m_c
The carbon rest mass in GeV.
constexpr double z_p
The charge of proton.
constexpr double Avo
The Avogadro's number.
constexpr double a_e
The magnetic momentum anomaly for electrons, no dimension.