File indexing completed on 2025-02-22 11:02:47
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030 #ifndef HEP_PHYSICAL_CONSTANTS_H
0031 #ifndef __CINT__
0032 #define HEP_PHYSICAL_CONSTANTS_H
0033
0034 #include "SystemOfUnits.h"
0035 #include "TMath.h"
0036
0037 #ifndef ST_NO_NAMESPACES
0038 using namespace units;
0039 #endif
0040
0041
0042
0043
0044 static const double pi = TMath::Pi();
0045 static const double twopi = 2*pi;
0046 static const double halfpi = pi/2;
0047 static const double pi2 = pi*pi;
0048
0049
0050
0051
0052 static const double Avogadro = 6.0221367e+23/mole;
0053
0054
0055
0056
0057
0058 static const double c_light = 2.99792458e+8 * meter/second;
0059 static const double c_squared = c_light * c_light;
0060
0061
0062
0063
0064
0065
0066 static const double h_Planck = 6.6260755e-34 * joule*second;
0067 static const double hbar_Planck = h_Planck/twopi;
0068 static const double hbarc = hbar_Planck * c_light;
0069 static const double hbarc_squared = hbarc * hbarc;
0070
0071
0072
0073
0074 static const double electron_charge = - eplus;
0075 static const double e_squared = eplus * eplus;
0076
0077
0078
0079
0080
0081 static const double electron_mass_c2 = 0.51099906 * MeV;
0082 static const double proton_mass_c2 = 938.27231 * MeV;
0083 static const double neutron_mass_c2 = 939.56563 * MeV;
0084 static const double amu_c2 = 931.49432 * MeV;
0085
0086
0087 static const double kaon_0_short_mass_c2 = 497.672 * MeV;
0088 static const double pion_plus_mass_c2 = 139.5700 * MeV;
0089 static const double pion_minus_mass_c2 = 139.5700 * MeV;
0090 static const double lambda_mass_c2 = 1115.684 * MeV;
0091 static const double antilambda_mass_c2 = 1115.684 * MeV;
0092 static const double xi_minus_mass_c2 = 1321.32 * MeV;
0093
0094
0095
0096
0097
0098
0099 static const double mu0 = 4*pi*1.e-7 * henry/meter;
0100 static const double epsilon0 = 1./(c_squared*mu0);
0101
0102
0103
0104
0105 static const double elm_coupling = e_squared/(4*pi*epsilon0);
0106 static const double fine_structure_const = elm_coupling/hbarc;
0107 static const double classic_electr_radius = elm_coupling/electron_mass_c2;
0108 static const double electron_Compton_length = hbarc/electron_mass_c2;
0109 static const double Bohr_radius = electron_Compton_length/fine_structure_const;
0110
0111 static const double alpha_rcl2 = fine_structure_const
0112 *classic_electr_radius
0113 *classic_electr_radius;
0114
0115 static const double twopi_mc2_rcl2 = twopi*electron_mass_c2
0116 *classic_electr_radius
0117 *classic_electr_radius;
0118
0119
0120
0121 static const double k_Boltzmann = 8.617385e-11 * MeV/kelvin;
0122
0123
0124
0125
0126 static const double STP_Temperature = 273.15*kelvin;
0127 static const double STP_Pressure = 1.*atmosphere;
0128 static const double kGasThreshold = 1.e-2*gram/centimeter3;
0129 #endif
0130
0131 #endif
0132
0133
0134
0135
0136