Functions | Variables
Munits Namespace Reference

A namespace containing the MINOS system of units. More...

Functions

double ToCelcius (double temperature)
 Convert from Munits temperature to Celcius. More...
 
double ToKelvin (double temperature)
 Convert from Munits temperature to Kelvin. More...
 
double ToFahrenheit (double temperature)
 Convert from Munits temperature to Fahrenheit. More...
 
double FromCelcius (double degrees_celcius)
 Convert from Celcius temperature to Munits. More...
 
double FromKelvin (double degrees_kelvin)
 Convert from Kelvin temperature to Munits. More...
 
double FromFahrenheit (double degrees_fahrenheit)
 Convert from Fahrenheit temperature to Munits. More...
 

Variables

static const Char_t *const base_length_name = "meter"
 
static constexpr Double_t meter = 1.
 
static constexpr Double_t meter2 = meter*meter
 
static constexpr Double_t meter3 = meter*meter*meter
 
static constexpr Double_t millimeter = 0.001*meter
 
static constexpr Double_t millimeter2 = millimeter*millimeter
 
static constexpr Double_t millimeter3 = millimeter*millimeter*millimeter
 
static constexpr Double_t centimeter = 10.*millimeter
 
static constexpr Double_t centimeter2 = centimeter*centimeter
 
static constexpr Double_t centimeter3 = centimeter*centimeter*centimeter
 
static constexpr Double_t kilometer = 1000.*meter
 
static constexpr Double_t kilometer2 = kilometer*kilometer
 
static constexpr Double_t kilometer3 = kilometer*kilometer*kilometer
 
static constexpr Double_t micrometer = 1.e-6 *meter
 
static constexpr Double_t nanometer = 1.e-9 *meter
 
static constexpr Double_t angstrom = 1.e-10*meter
 
static constexpr Double_t fermi = 1.e-15*meter
 
static constexpr Double_t inch = 2.54*centimeter
 
static constexpr Double_t mil = 0.001*inch
 
static constexpr Double_t foot = 12*inch
 
static constexpr Double_t barn = 1.e-28*meter2
 
static constexpr Double_t millibarn = 1.e-3 *barn
 
static constexpr Double_t microbarn = 1.e-6 *barn
 
static constexpr Double_t nanobarn = 1.e-9 *barn
 
static constexpr Double_t picobarn = 1.e-12*barn
 
static constexpr Double_t nm = nanometer
 
static constexpr Double_t micron = micrometer
 
static constexpr Double_t mm = millimeter
 
static constexpr Double_t mm2 = millimeter2
 
static constexpr Double_t mm3 = millimeter3
 
static constexpr Double_t cm = centimeter
 
static constexpr Double_t cm2 = centimeter2
 
static constexpr Double_t cm3 = centimeter3
 
static constexpr Double_t m = meter
 
static constexpr Double_t m2 = meter2
 
static constexpr Double_t m3 = meter3
 
static constexpr Double_t km = kilometer
 
static constexpr Double_t km2 = kilometer2
 
static constexpr Double_t km3 = kilometer3
 
static constexpr Double_t radian = 1.
 
static constexpr Double_t milliradian = 1.e-3*radian
 
static constexpr Double_t degree = (3.14159265358979323846/180.0)*radian
 
static constexpr Double_t steradian = 1.
 
static constexpr Double_t rad = radian
 
static constexpr Double_t mrad = milliradian
 
static constexpr Double_t sr = steradian
 
static constexpr Double_t deg = degree
 
static const Char_t *const base_time_name = "second"
 
static constexpr Double_t second = 1.
 
static constexpr Double_t nanosecond = 1.e-9 *second
 
static constexpr Double_t millisecond = 1.e-3 *second
 
static constexpr Double_t microsecond = 1.e-6 *second
 
static constexpr Double_t picosecond = 1.e-12*second
 
static constexpr Double_t hertz = 1./second
 
static constexpr Double_t kilohertz = 1.e+3*hertz
 
static constexpr Double_t megahertz = 1.e+6*hertz
 
static constexpr Double_t minute = 60*second
 
static constexpr Double_t hour = 60*minute
 
static constexpr Double_t day = 24*hour
 
static constexpr Double_t year = 365.2422*day
 
static constexpr Double_t snowmass_year = 1.0E7*second
 
static constexpr Double_t ns = nanosecond
 
static constexpr Double_t s = second
 
static constexpr Double_t ms = millisecond
 
static const Char_t *const base_mass_name = "kilogram"
 
static constexpr Double_t kilogram = 1.
 
static constexpr Double_t gram = 1.e-3*kilogram
 
static constexpr Double_t milligram = 1.e-3*gram
 
static constexpr Double_t tonne = 1000.*kilogram
 
static constexpr Double_t kilotonne = 1000.*tonne
 
static constexpr Double_t pound = 0.45359237*kilogram
 
static constexpr Double_t kg = kilogram
 
static constexpr Double_t g = gram
 
static constexpr Double_t mg = milligram
 
static constexpr Double_t kt = kilotonne
 
static const Char_t *const base_current_name = "Ampere"
 
static constexpr Double_t ampere = 1.
 
static constexpr Double_t milliampere = 1.e-3*ampere
 
static constexpr Double_t microampere = 1.e-6*ampere
 
static constexpr Double_t nanoampere = 1.e-9*ampere
 
static const Char_t *const base_charge_name = "Coulomb"
 
static constexpr Double_t coulomb = ampere*second
 
static constexpr Double_t e_SI = 1.602176462e-19
 
static constexpr Double_t eplus = e_SI*coulomb
 
static constexpr Double_t femptocoloumb = coulomb*1e-15
 
static constexpr Double_t picocoloumb = coulomb*1e-12
 
static constexpr Double_t fC = femptocoloumb
 
static constexpr Double_t pC = picocoloumb
 
static constexpr Double_t c_light = 2.99792458e+8 * m/s
 
static constexpr Double_t c_squared = c_light * c_light
 
static constexpr Double_t c_2 = c_squared
 
static constexpr Double_t c_4 = c_2 * c_2
 
static const Char_t *const base_energy_name = "GeV"
 
static constexpr Double_t electronvolt = 1.e-9
 
static constexpr Double_t kiloelectronvolt = 1.e-6
 
static constexpr Double_t megaelectronvolt = 1.e-3
 
static constexpr Double_t gigaelectronvolt = 1
 
static constexpr Double_t teraelectronvolt = 1.e+3
 
static constexpr Double_t petaelectronvolt = 1.e+6
 
static constexpr Double_t joule = kg*m*m/(s*s)
 
static constexpr Double_t hep2baseEnergy = e_SI*1.e+9
 
static constexpr Double_t hep2baseMomentum = hep2baseEnergy / c_light
 
static constexpr Double_t hep2baseMass = hep2baseEnergy / c_squared
 
static constexpr Double_t eV = electronvolt
 
static constexpr Double_t keV = kiloelectronvolt
 
static constexpr Double_t MeV = megaelectronvolt
 
static constexpr Double_t GeV = gigaelectronvolt
 
static constexpr Double_t TeV = teraelectronvolt
 
static constexpr Double_t PeV = petaelectronvolt
 
static constexpr Double_t watt = joule/second
 
static constexpr Double_t newton = joule/meter
 
static constexpr Double_t hep_pascal = newton/m2
 
static constexpr Double_t bar = 100000*hep_pascal
 
static constexpr Double_t atmosphere = 101325*hep_pascal
 
static const Char_t *const base_epotential_name = "volt"
 
static constexpr Double_t volt = kg*m*m/(ampere*s*s*s)
 
static constexpr Double_t kilovolt = 1.e+3*volt
 
static constexpr Double_t megavolt = 1.e+6*volt
 
static constexpr Double_t millivolt = 1.e-3*volt
 
static constexpr Double_t microvolt = 1.e-6*volt
 
static constexpr Double_t ohm = volt/ampere
 
static constexpr Double_t farad = coulomb/volt
 
static constexpr Double_t millifarad = 1.e-3*farad
 
static constexpr Double_t microfarad = 1.e-6*farad
 
static constexpr Double_t nanofarad = 1.e-9*farad
 
static constexpr Double_t picofarad = 1.e-12*farad
 
static constexpr Double_t weber = volt*second
 
static const Char_t *const base_bfield_name = "Tesla"
 
static constexpr Double_t tesla = volt*second/meter2
 
static constexpr Double_t gauss = 1.e-4*tesla
 
static constexpr Double_t kilogauss = 1.e-1*tesla
 
static constexpr Double_t henry = weber/ampere
 
static constexpr Double_t kelvin = 1.
 
static constexpr Double_t standard_temperature = 273.15
 Triple point. More...
 
static constexpr Double_t mole = 1.
 
static constexpr Double_t becquerel = 1./second
 
static constexpr Double_t curie = 3.7e+10 * becquerel
 
static constexpr Double_t gray = joule/kilogram
 
static constexpr Double_t candela = 1.
 
static constexpr Double_t lumen = candela*steradian
 
static constexpr Double_t lux = lumen/meter2
 
static constexpr Double_t perCent = 0.01
 
static constexpr Double_t perThousand = 0.001
 
static constexpr Double_t perMillion = 0.000001
 

Detailed Description

A namespace containing the MINOS system of units.

This system of units is a modified version of GEANT4's G4UnitsTest (which is itself a modified version of SystemOfUnits.h)

The basic units are those of the International System:

         meter             
         second             
         kilogram      
         ampere         
         degree kelvin          
         the amount of substance (mole)
         luminous intensity      (candela)
         radian                  
         steradian              

The SI numerical value of the positron charge is defined here, as it is needed for conversion factor : positron charge = e_SI (coulomb)

But, you shouldn't care what the basic MINOS units are. Instead learn these rules to deal with values that have units:

0) All variables are assumed hold values with Munits already applied. NEVER multiply a variable by an Munit.

1) To store or pass a literal value, ALWAYS multiply by an Munit:

double energy = 1.0*Munits::GeV;
obj.SetTimeCut(10.0*Munits:ns);
root [1] .x mymacro.C(731*Munits:km)

2) To express a value with a given unit, divide by an Munit. NEVER store the result.

void print_energy(double energy) {
cout << "The energy is " << energy/Munits::GeV << " GeV\n";
}
//...
print_energy(1200*Munits::MeV);

Function Documentation

double Munits::FromCelcius ( double  degrees_celcius)

Convert from Celcius temperature to Munits.

Definition at line 19 of file Munits.cxx.

References standard_temperature.

Referenced by FromFahrenheit().

20 {
21  return degrees_celcius + standard_temperature;
22 }
static constexpr Double_t standard_temperature
Triple point.
Definition: Munits.h:374
double Munits::FromFahrenheit ( double  degrees_fahrenheit)

Convert from Fahrenheit temperature to Munits.

Definition at line 29 of file Munits.cxx.

References FromCelcius().

30 {
31  return FromCelcius(5.0/9.0*(degrees_fahrenheit-32));
32 }
double FromCelcius(double degrees_celcius)
Convert from Celcius temperature to Munits.
Definition: Munits.cxx:19
double Munits::FromKelvin ( double  degrees_kelvin)

Convert from Kelvin temperature to Munits.

Definition at line 24 of file Munits.cxx.

25 {
26  return degrees_kelvin;
27 }
double Munits::ToCelcius ( double  temperature)

Convert from Munits temperature to Celcius.

Definition at line 9 of file Munits.cxx.

References standard_temperature.

Referenced by ToFahrenheit().

10 {
11  return temperature - standard_temperature;
12 }
static constexpr Double_t standard_temperature
Triple point.
Definition: Munits.h:374
double Munits::ToFahrenheit ( double  temperature)

Convert from Munits temperature to Fahrenheit.

Definition at line 14 of file Munits.cxx.

References ToCelcius().

15 {
16  return Munits::ToCelcius(temperature)*9.0/5.0 + 32.0;
17 }
double ToCelcius(double temperature)
Convert from Munits temperature to Celcius.
Definition: Munits.cxx:9
double Munits::ToKelvin ( double  temperature)

Convert from Munits temperature to Kelvin.

Definition at line 4 of file Munits.cxx.

5 {
6  return temperature;
7 }

Variable Documentation

constexpr Double_t Munits::ampere = 1.
static

Definition at line 218 of file Munits.h.

constexpr Double_t Munits::angstrom = 1.e-10*meter
static

Definition at line 119 of file Munits.h.

constexpr Double_t Munits::atmosphere = 101325*hep_pascal
static

Definition at line 314 of file Munits.h.

constexpr Double_t Munits::bar = 100000*hep_pascal
static

Definition at line 313 of file Munits.h.

constexpr Double_t Munits::barn = 1.e-28*meter2
static

Definition at line 126 of file Munits.h.

const Char_t* const Munits::base_bfield_name = "Tesla"
static

Definition at line 356 of file Munits.h.

const Char_t* const Munits::base_charge_name = "Coulomb"
static

Definition at line 226 of file Munits.h.

const Char_t* const Munits::base_current_name = "Ampere"
static

Definition at line 216 of file Munits.h.

const Char_t* const Munits::base_energy_name = "GeV"
static

Definition at line 268 of file Munits.h.

const Char_t* const Munits::base_epotential_name = "volt"
static

Definition at line 326 of file Munits.h.

const Char_t* const Munits::base_length_name = "meter"
static

Definition at line 99 of file Munits.h.

const Char_t* const Munits::base_mass_name = "kilogram"
static

Definition at line 197 of file Munits.h.

const Char_t* const Munits::base_time_name = "second"
static

Definition at line 170 of file Munits.h.

constexpr Double_t Munits::becquerel = 1./second
static

Definition at line 384 of file Munits.h.

constexpr Double_t Munits::c_2 = c_squared
static

Definition at line 245 of file Munits.h.

Referenced by calibrationconstants().

constexpr Double_t Munits::c_4 = c_2 * c_2
static

Definition at line 246 of file Munits.h.

constexpr Double_t Munits::c_light = 2.99792458e+8 * m/s
static

Definition at line 243 of file Munits.h.

constexpr Double_t Munits::c_squared = c_light * c_light
static

Definition at line 244 of file Munits.h.

constexpr Double_t Munits::candela = 1.
static

Definition at line 395 of file Munits.h.

constexpr Double_t Munits::centimeter = 10.*millimeter
static

Definition at line 109 of file Munits.h.

constexpr Double_t Munits::centimeter2 = centimeter*centimeter
static

Definition at line 110 of file Munits.h.

constexpr Double_t Munits::centimeter3 = centimeter*centimeter*centimeter
static

Definition at line 111 of file Munits.h.

constexpr Double_t Munits::cm = centimeter
static
constexpr Double_t Munits::cm2 = centimeter2
static

Definition at line 141 of file Munits.h.

Referenced by CheckUnitarityLimit(), and genie::ReinSehgalRESXSecFast::Integrate().

constexpr Double_t Munits::cm3 = centimeter3
static

Definition at line 142 of file Munits.h.

constexpr Double_t Munits::coulomb = ampere*second
static

Definition at line 228 of file Munits.h.

constexpr Double_t Munits::curie = 3.7e+10 * becquerel
static

Definition at line 385 of file Munits.h.

constexpr Double_t Munits::day = 24*hour
static

Definition at line 184 of file Munits.h.

constexpr Double_t Munits::deg = degree
static

Definition at line 165 of file Munits.h.

Referenced by modify_metadata_with_upmu_sample_type::getSampleType(), and sg_coeff().

constexpr Double_t Munits::degree = (3.14159265358979323846/180.0)*radian
static

Definition at line 157 of file Munits.h.

Referenced by PolyDef::FixTerms().

constexpr Double_t Munits::e_SI = 1.602176462e-19
static

Definition at line 230 of file Munits.h.

constexpr Double_t Munits::electronvolt = 1.e-9
static

Definition at line 270 of file Munits.h.

constexpr Double_t Munits::eplus = e_SI*coulomb
static

Definition at line 231 of file Munits.h.

constexpr Double_t Munits::eV = electronvolt
static

Definition at line 288 of file Munits.h.

constexpr Double_t Munits::farad = coulomb/volt
static

Definition at line 342 of file Munits.h.

constexpr Double_t Munits::fC = femptocoloumb
static

Definition at line 236 of file Munits.h.

Referenced by novaddt::utils::Atten::Eval(), and ana::Var3DFunc< T >::operator()().

constexpr Double_t Munits::femptocoloumb = coulomb*1e-15
static

Definition at line 233 of file Munits.h.

constexpr Double_t Munits::fermi = 1.e-15*meter
static

Definition at line 120 of file Munits.h.

constexpr Double_t Munits::foot = 12*inch
static

Definition at line 124 of file Munits.h.

constexpr Double_t Munits::g = gram
static

Definition at line 209 of file Munits.h.

constexpr Double_t Munits::gauss = 1.e-4*tesla
static
constexpr Double_t Munits::GeV = gigaelectronvolt
static

Definition at line 291 of file Munits.h.

Referenced by upmuana::UpMuRecoAna::analyze().

constexpr Double_t Munits::gigaelectronvolt = 1
static

Definition at line 273 of file Munits.h.

constexpr Double_t Munits::gram = 1.e-3*kilogram
static

Definition at line 200 of file Munits.h.

constexpr Double_t Munits::gray = joule/kilogram
static

Definition at line 390 of file Munits.h.

Referenced by genie::utils::style::SetDefaultStyle().

constexpr Double_t Munits::henry = weber/ampere
static

Definition at line 366 of file Munits.h.

constexpr Double_t Munits::hep2baseEnergy = e_SI*1.e+9
static

Definition at line 282 of file Munits.h.

constexpr Double_t Munits::hep2baseMass = hep2baseEnergy / c_squared
static

Definition at line 284 of file Munits.h.

constexpr Double_t Munits::hep2baseMomentum = hep2baseEnergy / c_light
static

Definition at line 283 of file Munits.h.

constexpr Double_t Munits::hep_pascal = newton/m2
static

Definition at line 312 of file Munits.h.

constexpr Double_t Munits::hertz = 1./second
static

Definition at line 178 of file Munits.h.

constexpr Double_t Munits::hour = 60*minute
static

Definition at line 183 of file Munits.h.

constexpr Double_t Munits::inch = 2.54*centimeter
static

Definition at line 122 of file Munits.h.

constexpr Double_t Munits::joule = kg*m*m/(s*s)
static

Definition at line 279 of file Munits.h.

constexpr Double_t Munits::kelvin = 1.
static

Definition at line 371 of file Munits.h.

constexpr Double_t Munits::keV = kiloelectronvolt
static

Definition at line 289 of file Munits.h.

constexpr Double_t Munits::kg = kilogram
static

Definition at line 208 of file Munits.h.

constexpr Double_t Munits::kiloelectronvolt = 1.e-6
static

Definition at line 271 of file Munits.h.

constexpr Double_t Munits::kilogauss = 1.e-1*tesla
static

Definition at line 361 of file Munits.h.

constexpr Double_t Munits::kilogram = 1.
static

Definition at line 199 of file Munits.h.

constexpr Double_t Munits::kilohertz = 1.e+3*hertz
static

Definition at line 179 of file Munits.h.

constexpr Double_t Munits::kilometer = 1000.*meter
static

Definition at line 113 of file Munits.h.

constexpr Double_t Munits::kilometer2 = kilometer*kilometer
static

Definition at line 114 of file Munits.h.

constexpr Double_t Munits::kilometer3 = kilometer*kilometer*kilometer
static

Definition at line 115 of file Munits.h.

constexpr Double_t Munits::kilotonne = 1000.*tonne
static

Definition at line 203 of file Munits.h.

constexpr Double_t Munits::kilovolt = 1.e+3*volt
static

Definition at line 329 of file Munits.h.

constexpr Double_t Munits::km = kilometer
static

Definition at line 148 of file Munits.h.

Referenced by genie::utils::prem::Density().

constexpr Double_t Munits::km2 = kilometer2
static

Definition at line 149 of file Munits.h.

constexpr Double_t Munits::km3 = kilometer3
static

Definition at line 150 of file Munits.h.

constexpr Double_t Munits::kt = kilotonne
static

Definition at line 211 of file Munits.h.

constexpr Double_t Munits::lumen = candela*steradian
static

Definition at line 400 of file Munits.h.

constexpr Double_t Munits::lux = lumen/meter2
static

Definition at line 405 of file Munits.h.

constexpr Double_t Munits::m = meter
static

Definition at line 144 of file Munits.h.

constexpr Double_t Munits::m2 = meter2
static
constexpr Double_t Munits::m3 = meter3
static

Definition at line 146 of file Munits.h.

constexpr Double_t Munits::megaelectronvolt = 1.e-3
static

Definition at line 272 of file Munits.h.

constexpr Double_t Munits::megahertz = 1.e+6*hertz
static

Definition at line 180 of file Munits.h.

constexpr Double_t Munits::megavolt = 1.e+6*volt
static

Definition at line 330 of file Munits.h.

constexpr Double_t Munits::meter = 1.
static

Definition at line 101 of file Munits.h.

constexpr Double_t Munits::meter2 = meter*meter
static

Definition at line 102 of file Munits.h.

constexpr Double_t Munits::meter3 = meter*meter*meter
static

Definition at line 103 of file Munits.h.

constexpr Double_t Munits::MeV = megaelectronvolt
static

Definition at line 290 of file Munits.h.

constexpr Double_t Munits::mg = milligram
static
constexpr Double_t Munits::microampere = 1.e-6*ampere
static

Definition at line 220 of file Munits.h.

constexpr Double_t Munits::microbarn = 1.e-6 *barn
static

Definition at line 128 of file Munits.h.

constexpr Double_t Munits::microfarad = 1.e-6*farad
static

Definition at line 344 of file Munits.h.

constexpr Double_t Munits::micrometer = 1.e-6 *meter
static

Definition at line 117 of file Munits.h.

constexpr Double_t Munits::micron = micrometer
static

Definition at line 134 of file Munits.h.

constexpr Double_t Munits::microsecond = 1.e-6 *second
static

Definition at line 175 of file Munits.h.

constexpr Double_t Munits::microvolt = 1.e-6*volt
static

Definition at line 333 of file Munits.h.

constexpr Double_t Munits::mil = 0.001*inch
static

Definition at line 123 of file Munits.h.

constexpr Double_t Munits::milliampere = 1.e-3*ampere
static

Definition at line 219 of file Munits.h.

constexpr Double_t Munits::millibarn = 1.e-3 *barn
static

Definition at line 127 of file Munits.h.

constexpr Double_t Munits::millifarad = 1.e-3*farad
static

Definition at line 343 of file Munits.h.

constexpr Double_t Munits::milligram = 1.e-3*gram
static

Definition at line 201 of file Munits.h.

constexpr Double_t Munits::millimeter = 0.001*meter
static

Definition at line 105 of file Munits.h.

constexpr Double_t Munits::millimeter2 = millimeter*millimeter
static

Definition at line 106 of file Munits.h.

constexpr Double_t Munits::millimeter3 = millimeter*millimeter*millimeter
static

Definition at line 107 of file Munits.h.

constexpr Double_t Munits::milliradian = 1.e-3*radian
static

Definition at line 156 of file Munits.h.

constexpr Double_t Munits::millisecond = 1.e-3 *second
static

Definition at line 174 of file Munits.h.

constexpr Double_t Munits::millivolt = 1.e-3*volt
static

Definition at line 332 of file Munits.h.

Referenced by ifdb::IFDBSpillInfo::GetGaussFit().

constexpr Double_t Munits::minute = 60*second
static

Definition at line 182 of file Munits.h.

constexpr Double_t Munits::mm = millimeter
static
constexpr Double_t Munits::mm2 = millimeter2
static

Definition at line 137 of file Munits.h.

Referenced by TEST().

constexpr Double_t Munits::mm3 = millimeter3
static

Definition at line 138 of file Munits.h.

Referenced by TEST().

constexpr Double_t Munits::mole = 1.
static

Definition at line 379 of file Munits.h.

constexpr Double_t Munits::mrad = milliradian
static

Definition at line 163 of file Munits.h.

constexpr Double_t Munits::ms = millisecond
static
constexpr Double_t Munits::nanoampere = 1.e-9*ampere
static

Definition at line 221 of file Munits.h.

constexpr Double_t Munits::nanobarn = 1.e-9 *barn
static

Definition at line 129 of file Munits.h.

constexpr Double_t Munits::nanofarad = 1.e-9*farad
static

Definition at line 345 of file Munits.h.

constexpr Double_t Munits::nanometer = 1.e-9 *meter
static

Definition at line 118 of file Munits.h.

constexpr Double_t Munits::nanosecond = 1.e-9 *second
static

Definition at line 173 of file Munits.h.

constexpr Double_t Munits::newton = joule/meter
static

Definition at line 303 of file Munits.h.

constexpr Double_t Munits::nm = nanometer
static
constexpr Double_t Munits::ns = nanosecond
static

Definition at line 190 of file Munits.h.

constexpr Double_t Munits::ohm = volt/ampere
static

Definition at line 337 of file Munits.h.

constexpr Double_t Munits::pC = picocoloumb
static

Definition at line 237 of file Munits.h.

Referenced by geo::ClosestApproach().

constexpr Double_t Munits::perCent = 0.01
static

Definition at line 410 of file Munits.h.

constexpr Double_t Munits::perMillion = 0.000001
static

Definition at line 412 of file Munits.h.

constexpr Double_t Munits::perThousand = 0.001
static

Definition at line 411 of file Munits.h.

constexpr Double_t Munits::petaelectronvolt = 1.e+6
static

Definition at line 275 of file Munits.h.

constexpr Double_t Munits::PeV = petaelectronvolt
static

Definition at line 293 of file Munits.h.

constexpr Double_t Munits::picobarn = 1.e-12*barn
static

Definition at line 130 of file Munits.h.

constexpr Double_t Munits::picocoloumb = coulomb*1e-12
static

Definition at line 234 of file Munits.h.

constexpr Double_t Munits::picofarad = 1.e-12*farad
static

Definition at line 346 of file Munits.h.

constexpr Double_t Munits::picosecond = 1.e-12*second
static

Definition at line 176 of file Munits.h.

constexpr Double_t Munits::pound = 0.45359237*kilogram
static

Definition at line 205 of file Munits.h.

constexpr Double_t Munits::rad = radian
static
constexpr Double_t Munits::radian = 1.
static

Definition at line 155 of file Munits.h.

constexpr Double_t Munits::s = second
static

Definition at line 191 of file Munits.h.

constexpr Double_t Munits::second = 1.
static

Definition at line 172 of file Munits.h.

constexpr Double_t Munits::snowmass_year = 1.0E7*second
static

Definition at line 186 of file Munits.h.

constexpr Double_t Munits::sr = steradian
static

Definition at line 164 of file Munits.h.

constexpr Double_t Munits::standard_temperature = 273.15
static

Triple point.

Definition at line 374 of file Munits.h.

Referenced by FromCelcius(), and ToCelcius().

constexpr Double_t Munits::steradian = 1.
static

Definition at line 159 of file Munits.h.

constexpr Double_t Munits::teraelectronvolt = 1.e+3
static

Definition at line 274 of file Munits.h.

constexpr Double_t Munits::tesla = volt*second/meter2
static

Definition at line 358 of file Munits.h.

constexpr Double_t Munits::TeV = teraelectronvolt
static

Definition at line 292 of file Munits.h.

constexpr Double_t Munits::tonne = 1000.*kilogram
static

Definition at line 202 of file Munits.h.

constexpr Double_t Munits::volt = kg*m*m/(ampere*s*s*s)
static

Definition at line 328 of file Munits.h.

constexpr Double_t Munits::watt = joule/second
static

Definition at line 298 of file Munits.h.

constexpr Double_t Munits::weber = volt*second
static

Definition at line 351 of file Munits.h.

constexpr Double_t Munits::year = 365.2422*day
static