15 static const Double_t millimeter = 1./10.;
16 static const Double_t millimeter2 = millimeter*millimeter;
17 static const Double_t millimeter3 = millimeter*millimeter*millimeter;
19 static const Double_t centimeter = 10.*millimeter;
20 static const Double_t centimeter2 = centimeter*centimeter;
21 static const Double_t centimeter3 = centimeter*centimeter*centimeter;
23 static const Double_t
meter = 1000.*millimeter;
27 static const Double_t kilometer = 1000.*
meter;
28 static const Double_t kilometer2 = kilometer*kilometer;
29 static const Double_t kilometer3 = kilometer*kilometer*kilometer;
31 static const Double_t parsec = 3.0856775807e+16*
meter;
33 static const Double_t micrometer = 1.e-6 *
meter;
34 static const Double_t nanometer = 1.e-9 *
meter;
35 static const Double_t angstrom = 1.e-10*
meter;
36 static const Double_t fermi = 1.e-15*
meter;
38 static const Double_t barn = 1.e-28*meter2;
39 static const Double_t millibarn = 1.e-3 *barn;
40 static const Double_t microbarn = 1.e-6 *barn;
41 static const Double_t nanobarn = 1.e-9 *barn;
42 static const Double_t picobarn = 1.e-12*barn;
45 static const Double_t nm = nanometer;
46 static const Double_t um = micrometer;
48 static const Double_t
mm = millimeter;
49 static const Double_t mm2 = millimeter2;
50 static const Double_t mm3 = millimeter3;
52 static const Double_t
cm = centimeter;
53 static const Double_t cm2 = centimeter2;
54 static const Double_t cm3 = centimeter3;
56 static const Double_t
m =
meter;
57 static const Double_t m2 = meter2;
58 static const Double_t m3 = meter3;
60 static const Double_t km = kilometer;
61 static const Double_t km2 = kilometer2;
62 static const Double_t km3 = kilometer3;
64 static const Double_t pc = parsec;
69 static const Double_t radian = 1.;
70 static const Double_t milliradian = 1.e-3*radian;
71 static const Double_t degree = (3.14159265358979323846/180.0)*radian;
73 static const Double_t steradian = 1.;
76 static const Double_t rad = radian;
77 static const Double_t mrad = milliradian;
78 static const Double_t sr = steradian;
79 static const Double_t deg = degree;
84 static const Double_t nanosecond = 1.;
85 static const Double_t second = 1.e+9 *nanosecond;
86 static const Double_t millisecond = 1.e-3 *second;
87 static const Double_t microsecond = 1.e-6 *second;
88 static const Double_t picosecond = 1.e-12*second;
90 static const Double_t hertz = 1./second;
91 static const Double_t kilohertz = 1.e+3*hertz;
92 static const Double_t megahertz = 1.e+6*hertz;
95 static const Double_t ns = nanosecond;
96 static const Double_t s = second;
97 static const Double_t ms = millisecond;
102 static const Double_t eplus = 1. ;
103 static const Double_t e_SI = 1.602176487e-19;
104 static const Double_t coulomb = eplus/e_SI;
109 static const Double_t megaelectronvolt = 1. ;
110 static const Double_t electronvolt = 1.e-6*megaelectronvolt;
111 static const Double_t kiloelectronvolt = 1.e-3*megaelectronvolt;
112 static const Double_t gigaelectronvolt = 1.e+3*megaelectronvolt;
113 static const Double_t teraelectronvolt = 1.e+6*megaelectronvolt;
114 static const Double_t petaelectronvolt = 1.e+9*megaelectronvolt;
116 static const Double_t joule = electronvolt/e_SI;
119 static const Double_t MeV = megaelectronvolt;
120 static const Double_t eV = electronvolt;
121 static const Double_t keV = kiloelectronvolt;
122 static const Double_t GeV = gigaelectronvolt;
123 static const Double_t TeV = teraelectronvolt;
124 static const Double_t PeV = petaelectronvolt;
129 static const Double_t kilogram = joule*second*second/(
meter*
meter);
130 static const Double_t gram = 1.e-3*kilogram;
131 static const Double_t milligram = 1.e-3*gram;
134 static const Double_t kg = kilogram;
135 static const Double_t g = gram;
136 static const Double_t mg = milligram;
141 static const Double_t watt = joule/second;
146 static const Double_t newton = joule/
meter;
151 #define pascal hep_pascal
152 static const Double_t hep_pascal = newton/m2;
153 static const Double_t bar = 100000*
pascal;
154 static const Double_t atmosphere = 101325*
pascal;
159 static const Double_t ampere = coulomb/second;
160 static const Double_t milliampere = 1.e-3*ampere;
161 static const Double_t microampere = 1.e-6*ampere;
162 static const Double_t nanoampere = 1.e-9*ampere;
167 static const Double_t megavolt = megaelectronvolt/eplus;
168 static const Double_t kilovolt = 1.e-3*megavolt;
169 static const Double_t volt = 1.e-6*megavolt;
174 static const Double_t ohm = volt/ampere;
179 static const Double_t farad = coulomb/volt;
180 static const Double_t millifarad = 1.e-3*farad;
181 static const Double_t microfarad = 1.e-6*farad;
182 static const Double_t nanofarad = 1.e-9*farad;
183 static const Double_t picofarad = 1.e-12*farad;
188 static const Double_t weber = volt*second;
199 static const Double_t gauss = 1.e-4*
tesla;
204 static const Double_t henry = weber/ampere;
209 static const Double_t kelvin = 1.;
214 static const Double_t mole = 1.;
219 static const Double_t becquerel = 1./second ;
220 static const Double_t curie = 3.7e+10 * becquerel;
221 static const Double_t kilobecquerel = 1.e+3*becquerel;
222 static const Double_t megabecquerel = 1.e+6*becquerel;
223 static const Double_t gigabecquerel = 1.e+9*becquerel;
224 static const Double_t millicurie = 1.e-3*curie;
225 static const Double_t microcurie = 1.e-6*curie;
226 static const Double_t Bq = becquerel;
227 static const Double_t kBq = kilobecquerel;
228 static const Double_t MBq = megabecquerel;
229 static const Double_t GBq = gigabecquerel;
230 static const Double_t Ci = curie;
231 static const Double_t mCi = millicurie;
232 static const Double_t uCi = microcurie;
237 static const Double_t gray = joule/kilogram ;
238 static const Double_t kilogray = 1.e+3*gray;
239 static const Double_t milligray = 1.e-3*gray;
240 static const Double_t microgray = 1.e-6*gray;
245 static const Double_t candela = 1.;
250 static const Double_t lumen = candela*steradian;
255 static const Double_t lux = lumen/meter2;
260 static const Double_t perCent = 0.01 ;
261 static const Double_t perThousand = 0.001;
262 static const Double_t perMillion = 0.000001;
268 static const Double_t pi = 3.14159265358979323846;
269 static const Double_t twopi = 2.*pi;
270 static const Double_t halfpi = pi/2.;
271 static const Double_t pi2 = pi*pi;
274 static const Double_t Avogadro = 6.0221367e+23/mole;
278 static const Double_t c_light = 2.99792458e+8 *
m/s;
279 static const Double_t c_squared = c_light * c_light;
284 static const Double_t h_Planck = 6.6260755e-34 * joule*s;
285 static const Double_t hbar_Planck = h_Planck/twopi;
286 static const Double_t hbarc = hbar_Planck * c_light;
287 static const Double_t hbarc_squared = hbarc * hbarc;
290 static const Double_t electron_charge = - eplus;
291 static const Double_t e_squared = eplus * eplus;
295 static const Double_t electron_mass_c2 = 0.51099906 * MeV;
296 static const Double_t proton_mass_c2 = 938.27231 * MeV;
297 static const Double_t neutron_mass_c2 = 939.56563 * MeV;
298 static const Double_t amu_c2 = 931.49432 * MeV;
299 static const Double_t amu = amu_c2/c_squared;
303 static const Double_t mu0 = 4*pi*1.e-7 * henry/
m;
304 static const Double_t epsilon0 = 1./(c_squared*mu0);
307 static const Double_t elm_coupling = e_squared/(4*pi*epsilon0);
308 static const Double_t fine_structure_const = elm_coupling/hbarc;
309 static const Double_t classic_electr_radius = elm_coupling/electron_mass_c2;
310 static const Double_t electron_Compton_length = hbarc/electron_mass_c2;
311 static const Double_t Bohr_radius = electron_Compton_length/fine_structure_const;
313 static const Double_t alpha_rcl2 = fine_structure_const * classic_electr_radius * classic_electr_radius;
314 static const Double_t twopi_mc2_rcl2 = twopi * electron_mass_c2 * classic_electr_radius * classic_electr_radius;
317 static const Double_t k_Boltzmann = 8.617385e-11 * MeV/kelvin;
320 static const Double_t STP_Temperature = 273.15*kelvin;
321 static const Double_t STP_Pressure = 1.*atmosphere;
322 static const Double_t kGasThreshold = 10.*mg/cm3;
325 static const Double_t universe_mean_density = 1.e-25*g/cm3;
331 static const Double_t snd_freq = 160.316*megahertz;
332 static const Double_t snd_TDC2ns = (1E9/snd_freq)*ns;