72static const double meter = 1.;
73static const double meter2 = meter*meter;
74static const double meter3 = meter*meter*meter;
76static const double millimeter = 0.001*meter;
77static const double millimeter2 = millimeter*millimeter;
78static const double millimeter3 = millimeter*millimeter*millimeter;
80static const double centimeter = 10.*millimeter;
81static const double centimeter2 = centimeter*centimeter;
82static const double centimeter3 = centimeter*centimeter*centimeter;
84static const double kilometer = 1000.*meter;
85static const double kilometer2 = kilometer*kilometer;
86static const double kilometer3 = kilometer*kilometer*kilometer;
88static const double parsec = 3.0856775807e+16*meter;
90static const double micrometer = 1.e-6 *meter;
91static const double nanometer = 1.e-9 *meter;
92static const double angstrom = 1.e-10*meter;
93static const double fermi = 1.e-15*meter;
95static const double barn = 1.e-28*meter2;
96static const double millibarn = 1.e-3 *barn;
97static const double microbarn = 1.e-6 *barn;
98static const double nanobarn = 1.e-9 *barn;
99static const double picobarn = 1.e-12*barn;
102static const double mm = millimeter;
103static const double mm2 = millimeter2;
104static const double mm3 = millimeter3;
106static const double cm = centimeter;
107static const double cm2 = centimeter2;
108static const double cm3 = centimeter3;
110static const double m = meter;
111static const double m2 = meter2;
112static const double m3 = meter3;
114static const double km = kilometer;
115static const double km2 = kilometer2;
116static const double km3 = kilometer3;
118static const double pc = parsec;
123static const double radian = 1.;
124static const double milliradian = 1.e-3*radian;
125static const double degree = (3.14159265358979323846/180.0)*radian;
127static const double steradian = 1.;
130static const double rad = radian;
131static const double mrad = milliradian;
132static const double sr = steradian;
133static const double deg = degree;
138static const double second = 1.;
139static const double nanosecond = 1.e-9 *second;
140static const double millisecond = 1.e-3 *second;
141static const double microsecond = 1.e-6 *second;
142static const double picosecond = 1.e-12*second;
144static const double hertz = 1./second;
145static const double kilohertz = 1.e+3*hertz;
146static const double megahertz = 1.e+6*hertz;
149static const double ns = nanosecond;
150static const double s = second;
151static const double ms = millisecond;
156static const double kilogram = 1.;
157static const double gram = 1.e-3*kilogram;
158static const double milligram = 1.e-3*gram;
161static const double kg = kilogram;
162static const double g = gram;
163static const double mg = milligram;
168static const double ampere = 1.;
169static const double milliampere = 1.e-3*ampere;
170static const double microampere = 1.e-6*ampere;
171static const double nanoampere = 1.e-9*ampere;
176static const double coulomb = ampere*second;
177static const double e_SI = 1.60217733e-19;
178static const double eplus = e_SI*coulomb ;
183static const double joule = kg*m*m/(s*s);
185static const double electronvolt = e_SI*joule;
186static const double kiloelectronvolt = 1.e+3*electronvolt;
187static const double megaelectronvolt = 1.e+6*electronvolt;
188static const double gigaelectronvolt = 1.e+9*electronvolt;
189static const double teraelectronvolt = 1.e+12*electronvolt;
190static const double petaelectronvolt = 1.e+15*electronvolt;
193static const double MeV = megaelectronvolt;
194static const double eV = electronvolt;
195static const double keV = kiloelectronvolt;
196static const double GeV = gigaelectronvolt;
197static const double TeV = teraelectronvolt;
198static const double PeV = petaelectronvolt;
203static const double watt = joule/second;
208static const double newton = joule/meter;
213#define pascal hep_pascal
214static const double hep_pascal = newton/m2;
215static const double bar = 100000*
pascal;
216static const double atmosphere = 101325*
pascal;
221static const double megavolt = megaelectronvolt/eplus;
222static const double kilovolt = 1.e-3*megavolt;
223static const double volt = 1.e-6*megavolt;
228static const double ohm = volt/ampere;
233static const double farad = coulomb/volt;
234static const double millifarad = 1.e-3*farad;
235static const double microfarad = 1.e-6*farad;
236static const double nanofarad = 1.e-9*farad;
237static const double picofarad = 1.e-12*farad;
242static const double weber = volt*second;
247static const double tesla = volt*second/meter2;
249static const double gauss = 1.e-4*tesla;
250static const double kilogauss = 1.e-1*tesla;
255static const double henry = weber/ampere;
260static const double kelvin = 1.;
265static const double mole = 1.;
270static const double becquerel = 1./second ;
271static const double curie = 3.7e+10 * becquerel;
276static const double gray = joule/kilogram ;
281static const double candela = 1.;
286static const double lumen = candela*steradian;
291static const double lux = lumen/meter2;
296static const double perCent = 0.01 ;
297static const double perThousand = 0.001;
298static const double perMillion = 0.000001;