2 # ==================================================================
5 # This module defines physical units and constants used in HEP,
6 # which are imported from CLHEP library.
9 # ==================================================================
17 millimeter2 = millimeter*millimeter
18 millimeter3 = millimeter*millimeter*millimeter
20 centimeter = 10.*millimeter
21 centimeter2 = centimeter*centimeter
22 centimeter3 = centimeter*centimeter*centimeter
24 meter = 1000.*millimeter
26 meter3 = meter*meter*meter
28 kilometer = 1000.*meter
29 kilometer2 = kilometer*kilometer
30 kilometer3 = kilometer*kilometer*kilometer
32 parsec = 3.0856775807e+16*meter
34 micrometer = 1.e-6 *meter
35 nanometer = 1.e-9 *meter
36 angstrom = 1.e-10*meter
40 millibarn = 1.e-3 *barn
41 microbarn = 1.e-6 *barn
42 nanobarn = 1.e-9 *barn
43 picobarn = 1.e-12*barn
68 milliradian = 1.e-3*radian
69 degree = (3.14159265358979323846/180.0)*radian
83 second = 1.e+9 *nanosecond
84 millisecond = 1.e-3 *second
85 microsecond = 1.e-6 *second
86 picosecond = 1.e-12*second
89 kilohertz = 1.e+3*hertz
90 megahertz = 1.e+6*hertz
101 e_SI = 1.60217733e-19
107 megaelectronvolt = 1.
108 electronvolt = 1.e-6*megaelectronvolt
109 kiloelectronvolt = 1.e-3*megaelectronvolt
110 gigaelectronvolt = 1.e+3*megaelectronvolt
111 teraelectronvolt = 1.e+6*megaelectronvolt
112 petaelectronvolt = 1.e+9*megaelectronvolt
114 joule = electronvolt/e_SI
117 MeV = megaelectronvolt
119 keV = kiloelectronvolt
120 GeV = gigaelectronvolt
121 TeV = teraelectronvolt
122 PeV = petaelectronvolt
127 kilogram = joule*second*second/(meter*meter)
128 gram = 1.e-3*kilogram
129 milligram = 1.e-3*gram
151 atmosphere = 101325*pascal
156 ampere = coulomb/second
157 milliampere = 1.e-3*ampere
158 microampere = 1.e-6*ampere
159 nanoampere = 1.e-9*ampere
164 megavolt = megaelectronvolt/eplus
165 kilovolt = 1.e-3*megavolt
166 volt = 1.e-6*megavolt
177 millifarad = 1.e-3*farad
178 microfarad = 1.e-6*farad
179 nanofarad = 1.e-9*farad
180 picofarad = 1.e-12*farad
190 tesla = volt*second/meter2
193 kilogauss = 1.e-1*tesla
213 becquerel = 1./second
214 curie = 3.7e+10 * becquerel
219 gray = joule/kilogram
229 lumen = candela*steradian
241 perMillion = 0.000001
247 pi = 3.14159265358979323846
253 Avogadro = 6.0221367e+23/mole
257 c_light = 2.99792458e+8 * m/s
258 c_squared = c_light * c_light
263 h_Planck = 6.6260755e-34 * joule*s
264 hbar_Planck = h_Planck/twopi
265 hbarc = hbar_Planck * c_light
266 hbarc_squared = hbarc * hbarc
269 electron_charge = - eplus
270 e_squared = eplus * eplus
274 electron_mass_c2 = 0.51099906 * MeV
275 proton_mass_c2 = 938.27231 * MeV
276 neutron_mass_c2 = 939.56563 * MeV
277 amu_c2 = 931.49432 * MeV
278 amu = amu_c2/c_squared
282 mu0 = 4*pi*1.e-7 * henry/m
283 epsilon0 = 1./(c_squared*mu0)
286 elm_coupling = e_squared/(4*pi*epsilon0)
287 fine_structure_const = elm_coupling/hbarc
288 classic_electr_radius = elm_coupling/electron_mass_c2
289 electron_Compton_length = hbarc/electron_mass_c2
290 Bohr_radius = electron_Compton_length/fine_structure_const
292 alpha_rcl2 = fine_structure_const * classic_electr_radius \
293 * classic_electr_radius
294 twopi_mc2_rcl2 = twopi * electron_mass_c2 \
295 * classic_electr_radius \
296 * classic_electr_radius
299 k_Boltzmann = 8.617385e-11 * MeV/kelvin
302 STP_Temperature = 273.15*kelvin
303 STP_Pressure = 1.*atmosphere
304 kGasThreshold = 10.*mg/cm3
307 universe_mean_density = 1.e-25*g/cm3