66 #ifndef G4UNITSTEST_HH
67 #define G4UNITSTEST_HH
72 static const double meter = 1.;
88 static const double parsec = 3.0856775807e+16*
meter;
110 static const double m =
meter;
123 static const double radian = 1.;
125 static const double degree = (3.14159265358979323846/180.0)*
radian;
138 static const double second = 1.;
150 static const double s =
second;
162 static const double g =
gram;
168 static const double ampere = 1.;
177 static const double e_SI = 1.60217733e-19;
213 #define pascal hep_pascal // a trick to avoid warnings
214 static const double hep_pascal = newton/m2;
215 static const double bar = 100000*
pascal;
216 static const double atmosphere = 101325*
pascal;
221 static const double megavolt = megaelectronvolt/eplus;
222 static const double kilovolt = 1.e-3*megavolt;
223 static const double volt = 1.e-6*megavolt;
228 static const double ohm = volt/ampere;
233 static const double farad = coulomb/volt;
234 static const double millifarad = 1.e-3*farad;
235 static const double microfarad = 1.e-6*farad;
236 static const double nanofarad = 1.e-9*farad;
237 static const double picofarad = 1.e-12*farad;
242 static const double weber = volt*second;
247 static const double tesla = volt*second/meter2;
249 static const double gauss = 1.e-4*tesla;
250 static const double kilogauss = 1.e-1*tesla;
255 static const double henry = weber/ampere;
260 static const double kelvin = 1.;
265 static const double mole = 1.;
270 static const double becquerel = 1./second ;
271 static const double curie = 3.7e+10 * becquerel;
276 static const double gray = joule/kilogram ;
281 static const double candela = 1.;
286 static const double lumen = candela*steradian;
291 static const double lux = lumen/meter2;
296 static const double perCent = 0.01 ;
297 static const double perThousand = 0.001;
298 static const double perMillion = 0.000001;