00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042 from GaudiKernel.SystemOfUnits import *
00043
00044
00045
00046
00047 pi = 3.14159265358979323846
00048 twopi = 2*pi
00049 halfpi = pi/2
00050 pi2 = pi*pi
00051
00052
00053
00054
00055 Avogadro = 6.0221367e+23/mole
00056
00057
00058
00059
00060
00061 c_light = 2.99792458e+8 * m/s
00062 c_squared = c_light * c_light
00063
00064
00065
00066
00067
00068
00069 h_Planck = 6.6260755e-34 * joule*s
00070 hbar_Planck = h_Planck/twopi
00071 hbarc = hbar_Planck * c_light
00072 hbarc_squared = hbarc * hbarc
00073
00074
00075
00076
00077 electron_charge = - eplus
00078 e_squared = eplus * eplus
00079
00080
00081
00082
00083
00084 electron_mass_c2 = 0.51099906 * MeV
00085 proton_mass_c2 = 938.27231 * MeV
00086 neutron_mass_c2 = 939.56563 * MeV
00087 amu_c2 = 931.49432 * MeV
00088 amu = amu_c2/c_squared
00089
00090
00091
00092
00093
00094 mu0 = 4*pi*1.e-7 * henry/m
00095 epsilon0 = 1./(c_squared*mu0)
00096
00097
00098
00099
00100 elm_coupling = e_squared/(4*pi*epsilon0)
00101 fine_structure_const = elm_coupling/hbarc
00102 classic_electr_radius = elm_coupling/electron_mass_c2
00103 electron_Compton_length = hbarc/electron_mass_c2
00104 Bohr_radius = electron_Compton_length/fine_structure_const
00105
00106 alpha_rcl2 = fine_structure_const*classic_electr_radius*classic_electr_radius
00107
00108 twopi_mc2_rcl2 = twopi*electron_mass_c2*classic_electr_radius*classic_electr_radius
00109
00110
00111
00112 k_Boltzmann = 8.617385e-11 * MeV/kelvin
00113
00114
00115
00116
00117 STP_Temperature = 273.15*kelvin
00118 STP_Pressure = 1.*atmosphere
00119 kGasThreshold = 10.*mg/cm3
00120
00121
00122
00123
00124 universe_mean_density = 1.e-25*g/cm3