2 # ==================================================================
5 # This module defines physical units and constants used in HEP,
6 # which are imported from CLHEP library.
9 # ==================================================================
16 millimeter2 = millimeter*millimeter
17 millimeter3 = millimeter*millimeter*millimeter
19 centimeter = 10.*millimeter
20 centimeter2 = centimeter*centimeter
21 centimeter3 = centimeter*centimeter*centimeter
23 meter = 1000.*millimeter
25 meter3 = meter*meter*meter
27 kilometer = 1000.*meter
28 kilometer2 = kilometer*kilometer
29 kilometer3 = kilometer*kilometer*kilometer
31 parsec = 3.0856775807e+16*meter
33 micrometer = 1.e-6 *meter
34 nanometer = 1.e-9 *meter
35 angstrom = 1.e-10*meter
39 millibarn = 1.e-3 *barn
40 microbarn = 1.e-6 *barn
41 nanobarn = 1.e-9 *barn
42 picobarn = 1.e-12*barn
67 milliradian = 1.e-3*radian
68 degree = (3.14159265358979323846/180.0)*radian
82 second = 1.e+9 *nanosecond
83 millisecond = 1.e-3 *second
84 microsecond = 1.e-6 *second
85 picosecond = 1.e-12*second
88 kilohertz = 1.e+3*hertz
89 megahertz = 1.e+6*hertz
100 e_SI = 1.60217733e-19
106 megaelectronvolt = 1.
107 electronvolt = 1.e-6*megaelectronvolt
108 kiloelectronvolt = 1.e-3*megaelectronvolt
109 gigaelectronvolt = 1.e+3*megaelectronvolt
110 teraelectronvolt = 1.e+6*megaelectronvolt
111 petaelectronvolt = 1.e+9*megaelectronvolt
113 joule = electronvolt/e_SI
116 MeV = megaelectronvolt
118 keV = kiloelectronvolt
119 GeV = gigaelectronvolt
120 TeV = teraelectronvolt
121 PeV = petaelectronvolt
126 kilogram = joule*second*second/(meter*meter)
127 gram = 1.e-3*kilogram
128 milligram = 1.e-3*gram
150 atmosphere = 101325*pascal
155 ampere = coulomb/second
156 milliampere = 1.e-3*ampere
157 microampere = 1.e-6*ampere
158 nanoampere = 1.e-9*ampere
163 megavolt = megaelectronvolt/eplus
164 kilovolt = 1.e-3*megavolt
165 volt = 1.e-6*megavolt
176 millifarad = 1.e-3*farad
177 microfarad = 1.e-6*farad
178 nanofarad = 1.e-9*farad
179 picofarad = 1.e-12*farad
189 tesla = volt*second/meter2
192 kilogauss = 1.e-1*tesla
212 becquerel = 1./second
213 curie = 3.7e+10 * becquerel
218 gray = joule/kilogram
228 lumen = candela*steradian
240 perMillion = 0.000001
246 pi = 3.14159265358979323846
252 Avogadro = 6.0221367e+23/mole
256 c_light = 2.99792458e+8 * m/s
257 c_squared = c_light * c_light
262 h_Planck = 6.6260755e-34 * joule*s
263 hbar_Planck = h_Planck/twopi
264 hbarc = hbar_Planck * c_light
265 hbarc_squared = hbarc * hbarc
268 electron_charge = - eplus
269 e_squared = eplus * eplus
273 electron_mass_c2 = 0.51099906 * MeV
274 proton_mass_c2 = 938.27231 * MeV
275 neutron_mass_c2 = 939.56563 * MeV
276 amu_c2 = 931.49432 * MeV
277 amu = amu_c2/c_squared
281 mu0 = 4*pi*1.e-7 * henry/m
282 epsilon0 = 1./(c_squared*mu0)
285 elm_coupling = e_squared/(4*pi*epsilon0)
286 fine_structure_const = elm_coupling/hbarc
287 classic_electr_radius = elm_coupling/electron_mass_c2
288 electron_Compton_length = hbarc/electron_mass_c2
289 Bohr_radius = electron_Compton_length/fine_structure_const
291 alpha_rcl2 = fine_structure_const * classic_electr_radius \
292 * classic_electr_radius
293 twopi_mc2_rcl2 = twopi * electron_mass_c2 \
294 * classic_electr_radius \
295 * classic_electr_radius
298 k_Boltzmann = 8.617385e-11 * MeV/kelvin
301 STP_Temperature = 273.15*kelvin
302 STP_Pressure = 1.*atmosphere
303 kGasThreshold = 10.*mg/cm3
306 universe_mean_density = 1.e-25*g/cm3