44 #ifndef HEP_SYSTEM_OF_UNITS_H
45 #define HEP_SYSTEM_OF_UNITS_H
68 static const double parsec = 3.0856775807e+16*
meter;
93 static const double m =
meter;
106 static const double radian = 1.;
108 static const double degree = (3.14159265358979323846/180.0)*
radian;
133 static const double s =
second;
139 static const double eplus = 1. ;
140 static const double e_SI = 1.602176487e-19;
172 static const double g =
gram;
188 #define pascal hep_pascal // a trick to avoid warnings
189 static const double hep_pascal = newton/m2;
190 static const double bar = 100000*
pascal;
191 static const double atmosphere = 101325*
pascal;
196 static const double ampere = coulomb/second;
197 static const double milliampere = 1.e-3*ampere;
198 static const double microampere = 1.e-6*ampere;
199 static const double nanoampere = 1.e-9*ampere;
204 static const double megavolt = megaelectronvolt/eplus;
205 static const double kilovolt = 1.e-3*megavolt;
206 static const double volt = 1.e-6*megavolt;
211 static const double ohm = volt/ampere;
216 static const double farad = coulomb/volt;
217 static const double millifarad = 1.e-3*farad;
218 static const double microfarad = 1.e-6*farad;
219 static const double nanofarad = 1.e-9*farad;
220 static const double picofarad = 1.e-12*farad;
225 static const double weber = volt*second;
230 static const double tesla = volt*second/meter2;
232 static const double gauss = 1.e-4*tesla;
233 static const double kilogauss = 1.e-1*tesla;
238 static const double henry = weber/ampere;
243 static const double kelvin = 1.;
248 static const double mole = 1.;
253 static const double becquerel = 1./second ;
254 static const double curie = 3.7e+10 * becquerel;
259 static const double gray = joule/kilogram ;
260 static const double kilogray = 1.e+3*gray;
261 static const double milligray = 1.e-3*gray;
262 static const double microgray = 1.e-6*gray;
267 static const double candela = 1.;
272 static const double lumen = candela*steradian;
277 static const double lux = lumen/meter2;
282 static const double perCent = 0.01 ;
283 static const double perThousand = 0.001;
284 static const double perMillion = 0.000001;