Munits.h
Go to the documentation of this file.
1 /**
2  \namespace Munits
3
4  \brief A namespace containing the MINOS system of units.
5
6  This system of units is a modified version of GEANT4's G4UnitsTest
7  (which is itself a modified version of SystemOfUnits.h)
8
9  The basic units are those of the International System:
10
11  meter
12  second
13  kilogram
14  ampere
15  degree kelvin
16  the amount of substance (mole)
17  luminous intensity (candela)
20
21
22  The SI numerical value of the positron charge is defined here,
23  as it is needed for conversion factor : positron charge = e_SI (coulomb)
24
25  But, you shouldn't care what the basic MINOS units are. Instead
26  learn these rules to deal with values that have units:
27
28  0) All variables are assumed hold values with Munits already applied.
29  NEVER multiply a variable by an Munit.
30
31  1) To store or pass a literal value, ALWAYS multiply by an Munit:
32
33  \code
34  double energy = 1.0*Munits::GeV;
35  obj.SetTimeCut(10.0*Munits:ns);
36
37  root [1] .x mymacro.C(731*Munits:km)
38  \endcode
39
40  2) To express a value with a given unit, divide by an Munit. NEVER
41  store the result.
42
43  \code
44  void print_energy(double energy) {
45  cout << "The energy is " << energy/Munits::GeV << " GeV\n";
46  }
47  //...
48  print_energy(1200*Munits::MeV);
49  \endcode
50
51 */
52
53 /*
54
55  "\$Id: Munits.h,v 1.1 2011/04/08 16:36:35 rhatcher Exp \$
56
57  2001-02-07 R. Hatcher
58  update value for e_SI from EPJ C volume 15 (2000) page 73
59  2001-03-29 R. Hatcher
60  modified [X]eV to use GeV as base unit
61  left "joule" relevant to MKS
62  -- do NOT attempt joule <-> [X]eV conversion!
63  new Char_t * base_length_name and base_energy_name
64  character strings with name of base unit (meter,GeV)
65 */
66
67 #ifndef MUNITS_H
68 #define MUNITS_H
69
70 //#define JOULE_AS_BASE
71
72 // Typedef's for Double_t
73 #ifndef ROOT_Rtypes
74 #if !defined(__CINT__) || defined(__MAKECINT__)
75 #include "Rtypes.h"
76 #endif
77 #endif
78
79
80 namespace Munits
81 {
82
83  /// Convert from Munits temperature to Celcius
84  double ToCelcius(double temperature);
85  /// Convert from Munits temperature to Kelvin
86  double ToKelvin(double temperature);
87  /// Convert from Munits temperature to Fahrenheit
88  double ToFahrenheit(double temperature);
89  /// Convert from Celcius temperature to Munits
90  double FromCelcius(double degrees_celcius);
91  /// Convert from Kelvin temperature to Munits
92  double FromKelvin(double degrees_kelvin);
93  /// Convert from Fahrenheit temperature to Munits
94  double FromFahrenheit(double degrees_fahrenheit);
95
96 //
97 // Length [L]
98 //
99 static const Char_t* const base_length_name = "meter";
100
101 static constexpr Double_t meter = 1.;
102 static constexpr Double_t meter2 = meter*meter;
103 static constexpr Double_t meter3 = meter*meter*meter;
104
105 static constexpr Double_t millimeter = 0.001*meter;
106 static constexpr Double_t millimeter2 = millimeter*millimeter;
107 static constexpr Double_t millimeter3 = millimeter*millimeter*millimeter;
108
109 static constexpr Double_t centimeter = 10.*millimeter;
110 static constexpr Double_t centimeter2 = centimeter*centimeter;
111 static constexpr Double_t centimeter3 = centimeter*centimeter*centimeter;
112
113 static constexpr Double_t kilometer = 1000.*meter;
114 static constexpr Double_t kilometer2 = kilometer*kilometer;
115 static constexpr Double_t kilometer3 = kilometer*kilometer*kilometer;
116
117 static constexpr Double_t micrometer = 1.e-6 *meter;
118 static constexpr Double_t nanometer = 1.e-9 *meter;
119 static constexpr Double_t angstrom = 1.e-10*meter;
120 static constexpr Double_t fermi = 1.e-15*meter;
121
122 static constexpr Double_t inch = 2.54*centimeter;
123 static constexpr Double_t mil = 0.001*inch;
124 static constexpr Double_t foot = 12*inch;
125
126 static constexpr Double_t barn = 1.e-28*meter2;
127 static constexpr Double_t millibarn = 1.e-3 *barn;
128 static constexpr Double_t microbarn = 1.e-6 *barn;
129 static constexpr Double_t nanobarn = 1.e-9 *barn;
130 static constexpr Double_t picobarn = 1.e-12*barn;
131
132 // symbols
133 static constexpr Double_t nm = nanometer;
134 static constexpr Double_t micron = micrometer;
135
136 static constexpr Double_t mm = millimeter;
137 static constexpr Double_t mm2 = millimeter2;
138 static constexpr Double_t mm3 = millimeter3;
139
140 static constexpr Double_t cm = centimeter;
141 static constexpr Double_t cm2 = centimeter2;
142 static constexpr Double_t cm3 = centimeter3;
143
144 static constexpr Double_t m = meter;
145 static constexpr Double_t m2 = meter2;
146 static constexpr Double_t m3 = meter3;
147
148 static constexpr Double_t km = kilometer;
149 static constexpr Double_t km2 = kilometer2;
150 static constexpr Double_t km3 = kilometer3;
151
152 //
153 // Angle
154 //
155 static constexpr Double_t radian = 1.;
157 static constexpr Double_t degree = (3.14159265358979323846/180.0)*radian;
158
159 static constexpr Double_t steradian = 1.;
160
161 // symbols
164 static constexpr Double_t sr = steradian;
165 static constexpr Double_t deg = degree;
166
167 //
168 // Time [T]
169 //
170 static const Char_t* const base_time_name = "second";
171
172 static constexpr Double_t second = 1.;
173 static constexpr Double_t nanosecond = 1.e-9 *second;
174 static constexpr Double_t millisecond = 1.e-3 *second;
175 static constexpr Double_t microsecond = 1.e-6 *second;
176 static constexpr Double_t picosecond = 1.e-12*second;
177
178 static constexpr Double_t hertz = 1./second;
179 static constexpr Double_t kilohertz = 1.e+3*hertz;
180 static constexpr Double_t megahertz = 1.e+6*hertz;
181
182 static constexpr Double_t minute = 60*second;
183 static constexpr Double_t hour = 60*minute;
184 static constexpr Double_t day = 24*hour;
185 static constexpr Double_t year = 365.2422*day;
186 static constexpr Double_t snowmass_year = 1.0E7*second;
187
188
189 // symbols
190 static constexpr Double_t ns = nanosecond;
191 static constexpr Double_t s = second;
192 static constexpr Double_t ms = millisecond;
193
194 //
195 // Mass [E][T^2][L^-2]
196 //
197 static const Char_t* const base_mass_name = "kilogram";
198
199 static constexpr Double_t kilogram = 1.;
200 static constexpr Double_t gram = 1.e-3*kilogram;
201 static constexpr Double_t milligram = 1.e-3*gram;
202 static constexpr Double_t tonne = 1000.*kilogram;
203 static constexpr Double_t kilotonne = 1000.*tonne;
204
205 static constexpr Double_t pound = 0.45359237*kilogram;
206
207 // symbols
208 static constexpr Double_t kg = kilogram;
209 static constexpr Double_t g = gram;
210 static constexpr Double_t mg = milligram;
211 static constexpr Double_t kt = kilotonne;
212
213 //
214 // Electric current [Q][T^-1]
215 //
216 static const Char_t* const base_current_name = "Ampere";
217
218 static constexpr Double_t ampere = 1.;
219 static constexpr Double_t milliampere = 1.e-3*ampere;
220 static constexpr Double_t microampere = 1.e-6*ampere;
221 static constexpr Double_t nanoampere = 1.e-9*ampere;
222
223 //
224 // Electric charge [Q]
225 //
226 static const Char_t* const base_charge_name = "Coulomb";
227
228 static constexpr Double_t coulomb = ampere*second;
229 //static constexpr Double_t e_SI = 1.60217733e-19; // old charge in coulomb
230 static constexpr Double_t e_SI = 1.602176462e-19; // positron charge in coulomb
231 static constexpr Double_t eplus = e_SI*coulomb; // positron charge
232
233 static constexpr Double_t femptocoloumb = coulomb*1e-15; // fempto coulomb
234 static constexpr Double_t picocoloumb = coulomb*1e-12; // pico coulomb
235
236 static constexpr Double_t fC = femptocoloumb;
237 static constexpr Double_t pC = picocoloumb;
238
239
240 // c = 299.792458 mm/ns
241 // c^2 = 898.7404 (mm/ns)^2
242 //
243 static constexpr Double_t c_light = 2.99792458e+8 * m/s;
244 static constexpr Double_t c_squared = c_light * c_light;
245 static constexpr Double_t c_2 = c_squared;
246 static constexpr Double_t c_4 = c_2 * c_2;
247 //
248 // Energy [E]
249 //
250 #ifdef JOULE_AS_BASE
251 static const Char_t* const base_energy_name = "joule";
252
253 static constexpr Double_t joule = kg*m*m/(s*s);
254
255 static constexpr Double_t electronvolt = e_SI*joule;
256 static constexpr Double_t kiloelectronvolt = 1.e+3*electronvolt;
257 static constexpr Double_t megaelectronvolt = 1.e+6*electronvolt;
258 static constexpr Double_t gigaelectronvolt = 1.e+9*electronvolt;
259 static constexpr Double_t teraelectronvolt = 1.e+12*electronvolt;
260 static constexpr Double_t petaelectronvolt = 1.e+15*electronvolt;
261
262 // both macro and microscopic energies are consistent
263 static constexpr Double_t hep2baseEnergy = 1.0;
264 static constexpr Double_t hep2baseMass = 1.0;
265 static constexpr Double_t hep2baseMomentum = 1.0;
266
267 #else
268 static const Char_t* const base_energy_name = "GeV";
269
270 static constexpr Double_t electronvolt = 1.e-9;
271 static constexpr Double_t kiloelectronvolt = 1.e-6;
272 static constexpr Double_t megaelectronvolt = 1.e-3;
273 static constexpr Double_t gigaelectronvolt = 1;
274 static constexpr Double_t teraelectronvolt = 1.e+3;
275 static constexpr Double_t petaelectronvolt = 1.e+6;
276
277 //rwh: leave joule still defined in MKS units:
278 // assume no one is going to convert from GeV to joules ...
279 static constexpr Double_t joule = kg*m*m/(s*s);
280
281 // macro (MKS) and microscopic (GeV) energies are inconsistent
282 static constexpr Double_t hep2baseEnergy = e_SI*1.e+9;
283 static constexpr Double_t hep2baseMomentum = hep2baseEnergy / c_light;
284 static constexpr Double_t hep2baseMass = hep2baseEnergy / c_squared;
285 #endif
286
287 // symbols
288 static constexpr Double_t eV = electronvolt;
289 static constexpr Double_t keV = kiloelectronvolt;
290 static constexpr Double_t MeV = megaelectronvolt;
291 static constexpr Double_t GeV = gigaelectronvolt;
292 static constexpr Double_t TeV = teraelectronvolt;
293 static constexpr Double_t PeV = petaelectronvolt;
294
295 //
296 // Power [E][T^-1]
297 //
298 static constexpr Double_t watt = joule/second; // watt = 6.24150 e+3 * MeV/ns
299
300 //
301 // Force [E][L^-1]
302 //
303 static constexpr Double_t newton = joule/meter; // newton = 6.24150 e+9 * MeV/mm
304
305 //
306 // Pressure [E][L^-3]
307 //
308 //RWH: remove this "trick" as it forces rootcint to need +P or -p flag
309 // change two usages below to direct use of hep_pascal
310 //#define pascal hep_pascal // a trick to avoid warnings
311
312 static constexpr Double_t hep_pascal = newton/m2; // pascal = 6.24150 e+3 * MeV/mm3
313 static constexpr Double_t bar = 100000*hep_pascal; // bar = 6.24150 e+8 * MeV/mm3
314 static constexpr Double_t atmosphere = 101325*hep_pascal; // atm = 6.32420 e+8 * MeV/mm3
315
316 //
317 // Electric potential [E][Q^-1]
318 //
319 #ifdef JOULE_AS_BASE
320 static const Char_t* const base_epotential_name = "volt";
321
322 static constexpr Double_t megavolt = megaelectronvolt/eplus;
323 static constexpr Double_t kilovolt = 1.e-3*megavolt;
324 static constexpr Double_t volt = 1.e-6*megavolt;
325 #else
326 static const Char_t* const base_epotential_name = "volt";
327
328 static constexpr Double_t volt = kg*m*m/(ampere*s*s*s);
329 static constexpr Double_t kilovolt = 1.e+3*volt;
330 static constexpr Double_t megavolt = 1.e+6*volt;
331 #endif
332 static constexpr Double_t millivolt = 1.e-3*volt;
333 static constexpr Double_t microvolt = 1.e-6*volt;
334 //
335 // Electric resistance [E][T][Q^-2]
336 //
337 static constexpr Double_t ohm = volt/ampere; // ohm = 1.60217e-16*(MeV/eplus)/(eplus/ns)
338
339 //
340 // Electric capacitance [Q^2][E^-1]
341 //
342 static constexpr Double_t farad = coulomb/volt; // farad = 6.24150e+24 * eplus/Megavolt
347
348 //
349 // Magnetic Flux [T][E][Q^-1]
350 //
351 static constexpr Double_t weber = volt*second; // weber = 1000*megavolt*ns
352
353 //
354 // Magnetic Field [T][E][Q^-1][L^-2]
355 //
356 static const Char_t* const base_bfield_name = "Tesla";
357
358 static constexpr Double_t tesla = volt*second/meter2; // tesla =0.001*megavolt*ns/mm2
359
360 static constexpr Double_t gauss = 1.e-4*tesla;
361 static constexpr Double_t kilogauss = 1.e-1*tesla;
362
363 //
364 // Inductance [T^2][E][Q^-2]
365 //
366 static constexpr Double_t henry = weber/ampere; // henry = 1.60217e-7*MeV*(ns/eplus)**2
367
368 //
369 // Temperature
370 //
371 static constexpr Double_t kelvin = 1.;
372
373 /// Triple point
374 static constexpr Double_t standard_temperature = 273.15;
375
376 //
377 // Amount of substance
378 //
379 static constexpr Double_t mole = 1.;
380
381 //
382 // Activity [T^-1]
383 //
384 static constexpr Double_t becquerel = 1./second ;
385 static constexpr Double_t curie = 3.7e+10 * becquerel;
386
387 //
388 // Absorbed dose [L^2][T^-2]
389 //
390 static constexpr Double_t gray = joule/kilogram ;
391
392 //
393 // Luminous intensity [I]
394 //
395 static constexpr Double_t candela = 1.;
396
397 //
398 // Luminous flux [I]
399 //
400 static constexpr Double_t lumen = candela*steradian;
401
402 //
403 // Illuminance [I][L^-2]
404 //
405 static constexpr Double_t lux = lumen/meter2;
406
407 //
408 // Miscellaneous
409 //
410 static constexpr Double_t perCent = 0.01 ;
411 static constexpr Double_t perThousand = 0.001;
412 static constexpr Double_t perMillion = 0.000001;
413
414 // Make available to CINT
415 // Munits is a namespace with "static constexpr" values, not a class
416 // so no need for: ClassDef(Munits,0)
417
418 } // end namespace Munits
419
420 #endif /* MUNITS_H */
Definition: Munits.h:342
static constexpr Double_t kilogram
Definition: Munits.h:199
static constexpr Double_t megahertz
Definition: Munits.h:180
static constexpr Double_t m3
Definition: Munits.h:146
static constexpr Double_t ms
Definition: Munits.h:192
static constexpr Double_t lumen
Definition: Munits.h:400
static constexpr Double_t fermi
Definition: Munits.h:120
static constexpr Double_t nanobarn
Definition: Munits.h:129
static constexpr Double_t deg
Definition: Munits.h:165
static constexpr Double_t meter2
Definition: Munits.h:102
static constexpr Double_t nanoampere
Definition: Munits.h:221
static const Char_t *const base_charge_name
Definition: Munits.h:226
static constexpr Double_t mm3
Definition: Munits.h:138
static constexpr Double_t picocoloumb
Definition: Munits.h:234
static constexpr Double_t pC
Definition: Munits.h:237
static constexpr Double_t PeV
Definition: Munits.h:293
static constexpr Double_t c_light
Definition: Munits.h:243
static constexpr Double_t cm2
Definition: Munits.h:141
static constexpr Double_t s
Definition: Munits.h:191
static constexpr Double_t mole
Definition: Munits.h:379
static constexpr Double_t perCent
Definition: Munits.h:410
Definition: Munits.h:156
static constexpr Double_t standard_temperature
Triple point.
Definition: Munits.h:374
static constexpr Double_t nm
Definition: Munits.h:133
static constexpr Double_t kilometer3
Definition: Munits.h:115
static constexpr Double_t nanosecond
Definition: Munits.h:173
static constexpr Double_t km2
Definition: Munits.h:149
static constexpr Double_t perThousand
Definition: Munits.h:411
Definition: Munits.h:345
static constexpr Double_t bar
Definition: Munits.h:313
Definition: Munits.h:159
static constexpr Double_t candela
Definition: Munits.h:395
static constexpr Double_t kg
Definition: Munits.h:208
static constexpr Double_t kilohertz
Definition: Munits.h:179
double FromCelcius(double degrees_celcius)
Convert from Celcius temperature to Munits.
Definition: Munits.cxx:19
static constexpr Double_t tonne
Definition: Munits.h:202
static constexpr Double_t MeV
Definition: Munits.h:290
static constexpr Double_t picosecond
Definition: Munits.h:176
static constexpr Double_t picobarn
Definition: Munits.h:130
static constexpr Double_t c_2
Definition: Munits.h:245
static constexpr Double_t fC
Definition: Munits.h:236
static constexpr Double_t kilometer
Definition: Munits.h:113
static constexpr Double_t TeV
Definition: Munits.h:292
static constexpr Double_t c_4
Definition: Munits.h:246
static constexpr Double_t km
Definition: Munits.h:148
static constexpr Double_t meter
Definition: Munits.h:101
static constexpr Double_t electronvolt
Definition: Munits.h:270
static constexpr Double_t microbarn
Definition: Munits.h:128
static constexpr Double_t millimeter3
Definition: Munits.h:107
double ToCelcius(double temperature)
Convert from Munits temperature to Celcius.
Definition: Munits.cxx:9
Definition: Munits.h:344
static constexpr Double_t petaelectronvolt
Definition: Munits.h:275
static constexpr Double_t kelvin
Definition: Munits.h:371
static constexpr Double_t atmosphere
Definition: Munits.h:314
double FromFahrenheit(double degrees_fahrenheit)
Convert from Fahrenheit temperature to Munits.
Definition: Munits.cxx:29
static constexpr Double_t foot
Definition: Munits.h:124
static constexpr Double_t millimeter
Definition: Munits.h:105
static constexpr Double_t centimeter3
Definition: Munits.h:111
static const Char_t *const base_mass_name
Definition: Munits.h:197
static constexpr Double_t curie
Definition: Munits.h:385
const XML_Char * s
Definition: expat.h:262
static constexpr Double_t gigaelectronvolt
Definition: Munits.h:273
static constexpr Double_t e_SI
Definition: Munits.h:230
A namespace containing the MINOS system of units.
static constexpr Double_t watt
Definition: Munits.h:298
static constexpr Double_t c_squared
Definition: Munits.h:244
static constexpr Double_t henry
Definition: Munits.h:366
Definition: Munits.h:346
static const Char_t *const base_energy_name
Definition: Munits.h:268
static constexpr Double_t weber
Definition: Munits.h:351
static constexpr Double_t millimeter2
Definition: Munits.h:106
static constexpr Double_t microsecond
Definition: Munits.h:175
static constexpr Double_t second
Definition: Munits.h:172
static constexpr Double_t eV
Definition: Munits.h:288
static constexpr Double_t angstrom
Definition: Munits.h:119
static constexpr Double_t snowmass_year
Definition: Munits.h:186
static constexpr Double_t hertz
Definition: Munits.h:178
static constexpr Double_t inch
Definition: Munits.h:122
static constexpr Double_t GeV
Definition: Munits.h:291
static constexpr Double_t mil
Definition: Munits.h:123
static constexpr Double_t micron
Definition: Munits.h:134
static constexpr Double_t megaelectronvolt
Definition: Munits.h:272
static constexpr Double_t hour
Definition: Munits.h:183
double ToFahrenheit(double temperature)
Convert from Munits temperature to Fahrenheit.
Definition: Munits.cxx:14
static constexpr Double_t kilovolt
Definition: Munits.h:329
static constexpr Double_t femptocoloumb
Definition: Munits.h:233
static constexpr Double_t millibarn
Definition: Munits.h:127
static constexpr Double_t coulomb
Definition: Munits.h:228
static constexpr Double_t megavolt
Definition: Munits.h:330
static constexpr Double_t gauss
Definition: Munits.h:360
static constexpr Double_t hep2baseMomentum
Definition: Munits.h:283
Definition: Munits.h:162
static constexpr Double_t becquerel
Definition: Munits.h:384
static constexpr Double_t kilotonne
Definition: Munits.h:203
static constexpr Double_t g
Definition: Munits.h:209
static constexpr Double_t centimeter2
Definition: Munits.h:110
static constexpr Double_t day
Definition: Munits.h:184
static constexpr Double_t perMillion
Definition: Munits.h:412
static constexpr Double_t mm
Definition: Munits.h:136
static constexpr Double_t ohm
Definition: Munits.h:337
static constexpr Double_t m
Definition: Munits.h:144
static constexpr Double_t hep_pascal
Definition: Munits.h:312
static constexpr Double_t hep2baseMass
Definition: Munits.h:284
static constexpr Double_t cm3
Definition: Munits.h:142
static constexpr Double_t newton
Definition: Munits.h:303
static constexpr Double_t m2
Definition: Munits.h:145
static const Char_t *const base_current_name
Definition: Munits.h:216
static const Char_t *const base_time_name
Definition: Munits.h:170
static constexpr Double_t volt
Definition: Munits.h:328
static constexpr Double_t hep2baseEnergy
Definition: Munits.h:282
Definition: Munits.h:163
static constexpr Double_t centimeter
Definition: Munits.h:109
static constexpr Double_t kiloelectronvolt
Definition: Munits.h:271
static constexpr Double_t milligram
Definition: Munits.h:201
double ToKelvin(double temperature)
Convert from Munits temperature to Kelvin.
Definition: Munits.cxx:4
static constexpr Double_t lux
Definition: Munits.h:405
static constexpr Double_t nanometer
Definition: Munits.h:118
static constexpr Double_t millisecond
Definition: Munits.h:174
static const Char_t *const base_length_name
Definition: Munits.h:99
static constexpr Double_t ns
Definition: Munits.h:190
static constexpr Double_t ampere
Definition: Munits.h:218
static constexpr Double_t meter3
Definition: Munits.h:103
static const Char_t *const base_bfield_name
Definition: Munits.h:356
static const Char_t *const base_epotential_name
Definition: Munits.h:326
static constexpr Double_t eplus
Definition: Munits.h:231
static constexpr Double_t kt
Definition: Munits.h:211
static constexpr Double_t barn
Definition: Munits.h:126
static constexpr Double_t keV
Definition: Munits.h:289
static constexpr Double_t gray
Definition: Munits.h:390
static constexpr Double_t mm2
Definition: Munits.h:137
static constexpr Double_t km3
Definition: Munits.h:150
static constexpr Double_t pound
Definition: Munits.h:205
Float_t e
Definition: plot.C:35
Definition: Munits.h:343
static constexpr Double_t mg
Definition: Munits.h:210
static constexpr Double_t degree
Definition: Munits.h:157
Definition: Munits.h:155
static constexpr Double_t millivolt
Definition: Munits.h:332
static constexpr Double_t teraelectronvolt
Definition: Munits.h:274
static constexpr Double_t joule
Definition: Munits.h:279
static constexpr Double_t cm
Definition: Munits.h:140
static constexpr Double_t microvolt
Definition: Munits.h:333
static constexpr Double_t micrometer
Definition: Munits.h:117
static constexpr Double_t milliampere
Definition: Munits.h:219
static constexpr Double_t tesla
Definition: Munits.h:358
static constexpr Double_t sr
Definition: Munits.h:164
double FromKelvin(double degrees_kelvin)
Convert from Kelvin temperature to Munits.
Definition: Munits.cxx:24
static constexpr Double_t gram
Definition: Munits.h:200
static constexpr Double_t microampere
Definition: Munits.h:220
static constexpr Double_t minute
Definition: Munits.h:182
static constexpr Double_t year
Definition: Munits.h:185
static constexpr Double_t kilometer2
Definition: Munits.h:114
static constexpr Double_t kilogauss
Definition: Munits.h:361