Munits.h File Reference

#include "Rtypes.h"

Go to the source code of this file.

Namespaces

namespace  Munits
 

A namespace containing the MINOS system of units.


Functions

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

Variables

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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1