Variables
WireCell::units Namespace Reference

Variables

static const double pi = 3.14159265358979323846
 
static const double twopi = 2*pi
 
static const double halfpi = pi/2
 
static const double pi2 = pi*pi
 
static const double millimeter = 1.
 
static const double millimeter2 = millimeter*millimeter
 
static const double millimeter3 = millimeter*millimeter*millimeter
 
static const double centimeter = 10.*millimeter
 
static const double centimeter2 = centimeter*centimeter
 
static const double centimeter3 = centimeter*centimeter*centimeter
 
static const double meter = 1000.*millimeter
 
static const double meter2 = meter*meter
 
static const double meter3 = meter*meter*meter
 
static const double kilometer = 1000.*meter
 
static const double kilometer2 = kilometer*kilometer
 
static const double kilometer3 = kilometer*kilometer*kilometer
 
static const double parsec = 3.0856775807e+16*meter
 
static const double micrometer = 1.e-6 *meter
 
static const double nanometer = 1.e-9 *meter
 
static const double angstrom = 1.e-10*meter
 
static const double fermi = 1.e-15*meter
 
static const double barn = 1.e-28*meter2
 
static const double millibarn = 1.e-3 *barn
 
static const double microbarn = 1.e-6 *barn
 
static const double nanobarn = 1.e-9 *barn
 
static const double picobarn = 1.e-12*barn
 
static const double nm = nanometer
 
static const double um = micrometer
 
static const double mm = millimeter
 
static const double mm2 = millimeter2
 
static const double mm3 = millimeter3
 
static const double cm = centimeter
 
static const double cm2 = centimeter2
 
static const double cm3 = centimeter3
 
static const double m = meter
 
static const double m2 = meter2
 
static const double m3 = meter3
 
static const double km = kilometer
 
static const double km2 = kilometer2
 
static const double km3 = kilometer3
 
static const double pc = parsec
 
static const double radian = 1.
 
static const double milliradian = 1.e-3*radian
 
static const double degree = (pi/180.0)*radian
 
static const double steradian = 1.
 
static const double rad = radian
 
static const double mrad = milliradian
 
static const double sr = steradian
 
static const double deg = degree
 
static const double nanosecond = 1.
 
static const double second = 1.e+9 *nanosecond
 
static const double millisecond = 1.e-3 *second
 
static const double microsecond = 1.e-6 *second
 
static const double picosecond = 1.e-12*second
 
static const double hertz = 1./second
 
static const double kilohertz = 1.e+3*hertz
 
static const double megahertz = 1.e+6*hertz
 
static const double ns = nanosecond
 
static const double s = second
 
static const double ms = millisecond
 
static const double us = microsecond
 
static const double eplus = 1.
 
static const double e_SI = 1.602176487e-19
 
static const double coulomb = eplus/e_SI
 
static const double fC = 1.0e-15*coulomb
 
static const double megaelectronvolt = 1.
 
static const double electronvolt = 1.e-6*megaelectronvolt
 
static const double kiloelectronvolt = 1.e-3*megaelectronvolt
 
static const double gigaelectronvolt = 1.e+3*megaelectronvolt
 
static const double teraelectronvolt = 1.e+6*megaelectronvolt
 
static const double petaelectronvolt = 1.e+9*megaelectronvolt
 
static const double joule = electronvolt/e_SI
 
static const double MeV = megaelectronvolt
 
static const double eV = electronvolt
 
static const double keV = kiloelectronvolt
 
static const double GeV = gigaelectronvolt
 
static const double TeV = teraelectronvolt
 
static const double PeV = petaelectronvolt
 
static const double kilogram = joule*second*second/(meter*meter)
 
static const double gram = 1.e-3*kilogram
 
static const double milligram = 1.e-3*gram
 
static const double kg = kilogram
 
static const double g = gram
 
static const double mg = milligram
 
static const double watt = joule/second
 
static const double newton = joule/meter
 
static const double pascal = newton/m2
 
static const double bar = 100000*pascal
 
static const double atmosphere = 101325*pascal
 
static const double ampere = coulomb/second
 
static const double milliampere = 1.e-3*ampere
 
static const double microampere = 1.e-6*ampere
 
static const double nanoampere = 1.e-9*ampere
 
static const double megavolt = megaelectronvolt/eplus
 
static const double kilovolt = 1.e-3*megavolt
 
static const double volt = 1.e-6*megavolt
 
static const double millivolt = 1.e-3*volt
 
static const double microvolt = 1.e-6*volt
 
static const double mV = millivolt
 
static const double uV = microvolt
 
static const double ohm = volt/ampere
 
static const double farad = coulomb/volt
 
static const double millifarad = 1.e-3*farad
 
static const double microfarad = 1.e-6*farad
 
static const double nanofarad = 1.e-9*farad
 
static const double picofarad = 1.e-12*farad
 
static const double weber = volt*second
 
static const double tesla = volt*second/meter2
 
static const double gauss = 1.e-4*tesla
 
static const double kilogauss = 1.e-1*tesla
 
static const double henry = weber/ampere
 
static const double kelvin = 1.
 
static const double mole = 1.
 
static const double becquerel = 1./second
 
static const double curie = 3.7e+10 * becquerel
 
static const double kilobecquerel = 1.e+3*becquerel
 
static const double megabecquerel = 1.e+6*becquerel
 
static const double gigabecquerel = 1.e+9*becquerel
 
static const double millicurie = 1.e-3*curie
 
static const double microcurie = 1.e-6*curie
 
static const double Bq = becquerel
 
static const double kBq = kilobecquerel
 
static const double MBq = megabecquerel
 
static const double GBq = gigabecquerel
 
static const double Ci = curie
 
static const double mCi = millicurie
 
static const double uCi = microcurie
 
static const double gray = joule/kilogram
 
static const double kilogray = 1.e+3*gray
 
static const double milligray = 1.e-3*gray
 
static const double microgray = 1.e-6*gray
 
static const double candela = 1.
 
static const double lumen = candela*steradian
 
static const double lux = lumen/meter2
 
static const double perCent = 0.01
 
static const double perThousand = 0.001
 
static const double perMillion = 0.000001
 
static const double clight = 2.99792458e8*units::meter/units::second
 

Variable Documentation

const double WireCell::units::ampere = coulomb/second
static

Definition at line 167 of file Units.h.

const double WireCell::units::angstrom = 1.e-10*meter
static

Definition at line 42 of file Units.h.

const double WireCell::units::atmosphere = 101325*pascal
static

Definition at line 162 of file Units.h.

const double WireCell::units::bar = 100000*pascal
static

Definition at line 161 of file Units.h.

const double WireCell::units::barn = 1.e-28*meter2
static

Definition at line 45 of file Units.h.

const double WireCell::units::becquerel = 1./second
static

Definition at line 228 of file Units.h.

const double WireCell::units::Bq = becquerel
static

Definition at line 235 of file Units.h.

const double WireCell::units::candela = 1.
static

Definition at line 254 of file Units.h.

const double WireCell::units::centimeter = 10.*millimeter
static

Definition at line 26 of file Units.h.

const double WireCell::units::centimeter2 = centimeter*centimeter
static

Definition at line 27 of file Units.h.

const double WireCell::units::centimeter3 = centimeter*centimeter*centimeter
static

Definition at line 28 of file Units.h.

const double WireCell::units::Ci = curie
static

Definition at line 239 of file Units.h.

const double WireCell::units::clight = 2.99792458e8*units::meter/units::second
static

Definition at line 275 of file Units.h.

const double WireCell::units::cm = centimeter
static

Definition at line 59 of file Units.h.

const double WireCell::units::cm2 = centimeter2
static

Definition at line 60 of file Units.h.

const double WireCell::units::cm3 = centimeter3
static

Definition at line 61 of file Units.h.

const double WireCell::units::coulomb = eplus/e_SI
static

Definition at line 112 of file Units.h.

const double WireCell::units::curie = 3.7e+10 * becquerel
static

Definition at line 229 of file Units.h.

const double WireCell::units::deg = degree
static

Definition at line 86 of file Units.h.

const double WireCell::units::degree = (pi/180.0)*radian
static

Definition at line 78 of file Units.h.

const double WireCell::units::e_SI = 1.602176487e-19
static

Definition at line 111 of file Units.h.

const double WireCell::units::electronvolt = 1.e-6*megaelectronvolt
static

Definition at line 119 of file Units.h.

const double WireCell::units::eplus = 1.
static

Definition at line 110 of file Units.h.

const double WireCell::units::eV = electronvolt
static

Definition at line 129 of file Units.h.

const double WireCell::units::farad = coulomb/volt
static

Definition at line 191 of file Units.h.

const double WireCell::units::fC = 1.0e-15*coulomb
static

Definition at line 113 of file Units.h.

const double WireCell::units::fermi = 1.e-15*meter
static

Definition at line 43 of file Units.h.

const double WireCell::units::g = gram
static

Definition at line 144 of file Units.h.

const double WireCell::units::gauss = 1.e-4*tesla
static

Definition at line 207 of file Units.h.

const double WireCell::units::GBq = gigabecquerel
static

Definition at line 238 of file Units.h.

const double WireCell::units::GeV = gigaelectronvolt
static

Definition at line 131 of file Units.h.

const double WireCell::units::gigabecquerel = 1.e+9*becquerel
static

Definition at line 232 of file Units.h.

const double WireCell::units::gigaelectronvolt = 1.e+3*megaelectronvolt
static

Definition at line 121 of file Units.h.

const double WireCell::units::gram = 1.e-3*kilogram
static

Definition at line 139 of file Units.h.

const double WireCell::units::gray = joule/kilogram
static

Definition at line 246 of file Units.h.

const double WireCell::units::halfpi = pi/2
static

Definition at line 16 of file Units.h.

const double WireCell::units::henry = weber/ampere
static

Definition at line 213 of file Units.h.

const double WireCell::units::hertz = 1./second
static

Definition at line 97 of file Units.h.

const double WireCell::units::joule = electronvolt/e_SI
static

Definition at line 125 of file Units.h.

const double WireCell::units::kBq = kilobecquerel
static

Definition at line 236 of file Units.h.

const double WireCell::units::kelvin = 1.
static

Definition at line 218 of file Units.h.

const double WireCell::units::keV = kiloelectronvolt
static

Definition at line 130 of file Units.h.

const double WireCell::units::kg = kilogram
static

Definition at line 143 of file Units.h.

const double WireCell::units::kilobecquerel = 1.e+3*becquerel
static

Definition at line 230 of file Units.h.

const double WireCell::units::kiloelectronvolt = 1.e-3*megaelectronvolt
static

Definition at line 120 of file Units.h.

const double WireCell::units::kilogauss = 1.e-1*tesla
static

Definition at line 208 of file Units.h.

const double WireCell::units::kilogram = joule*second*second/(meter*meter)
static

Definition at line 138 of file Units.h.

const double WireCell::units::kilogray = 1.e+3*gray
static

Definition at line 247 of file Units.h.

const double WireCell::units::kilohertz = 1.e+3*hertz
static

Definition at line 98 of file Units.h.

const double WireCell::units::kilometer = 1000.*meter
static

Definition at line 34 of file Units.h.

const double WireCell::units::kilometer2 = kilometer*kilometer
static

Definition at line 35 of file Units.h.

const double WireCell::units::kilometer3 = kilometer*kilometer*kilometer
static

Definition at line 36 of file Units.h.

const double WireCell::units::kilovolt = 1.e-3*megavolt
static

Definition at line 176 of file Units.h.

const double WireCell::units::km = kilometer
static

Definition at line 67 of file Units.h.

const double WireCell::units::km2 = kilometer2
static

Definition at line 68 of file Units.h.

const double WireCell::units::km3 = kilometer3
static

Definition at line 69 of file Units.h.

const double WireCell::units::lumen = candela*steradian
static

Definition at line 259 of file Units.h.

const double WireCell::units::lux = lumen/meter2
static

Definition at line 264 of file Units.h.

const double WireCell::units::m = meter
static

Definition at line 63 of file Units.h.

const double WireCell::units::m2 = meter2
static

Definition at line 64 of file Units.h.

const double WireCell::units::m3 = meter3
static

Definition at line 65 of file Units.h.

const double WireCell::units::MBq = megabecquerel
static

Definition at line 237 of file Units.h.

const double WireCell::units::mCi = millicurie
static

Definition at line 240 of file Units.h.

const double WireCell::units::megabecquerel = 1.e+6*becquerel
static

Definition at line 231 of file Units.h.

const double WireCell::units::megaelectronvolt = 1.
static

Definition at line 118 of file Units.h.

const double WireCell::units::megahertz = 1.e+6*hertz
static

Definition at line 99 of file Units.h.

const double WireCell::units::megavolt = megaelectronvolt/eplus
static

Definition at line 175 of file Units.h.

const double WireCell::units::meter = 1000.*millimeter
static

Definition at line 30 of file Units.h.

const double WireCell::units::meter2 = meter*meter
static

Definition at line 31 of file Units.h.

const double WireCell::units::meter3 = meter*meter*meter
static

Definition at line 32 of file Units.h.

const double WireCell::units::MeV = megaelectronvolt
static

Definition at line 128 of file Units.h.

const double WireCell::units::mg = milligram
static

Definition at line 145 of file Units.h.

const double WireCell::units::microampere = 1.e-6*ampere
static

Definition at line 169 of file Units.h.

const double WireCell::units::microbarn = 1.e-6 *barn
static

Definition at line 47 of file Units.h.

const double WireCell::units::microcurie = 1.e-6*curie
static

Definition at line 234 of file Units.h.

const double WireCell::units::microfarad = 1.e-6*farad
static

Definition at line 193 of file Units.h.

const double WireCell::units::microgray = 1.e-6*gray
static

Definition at line 249 of file Units.h.

const double WireCell::units::micrometer = 1.e-6 *meter
static

Definition at line 40 of file Units.h.

const double WireCell::units::microsecond = 1.e-6 *second
static

Definition at line 94 of file Units.h.

const double WireCell::units::microvolt = 1.e-6*volt
static

Definition at line 179 of file Units.h.

const double WireCell::units::milliampere = 1.e-3*ampere
static

Definition at line 168 of file Units.h.

const double WireCell::units::millibarn = 1.e-3 *barn
static

Definition at line 46 of file Units.h.

const double WireCell::units::millicurie = 1.e-3*curie
static

Definition at line 233 of file Units.h.

const double WireCell::units::millifarad = 1.e-3*farad
static

Definition at line 192 of file Units.h.

const double WireCell::units::milligram = 1.e-3*gram
static

Definition at line 140 of file Units.h.

const double WireCell::units::milligray = 1.e-3*gray
static

Definition at line 248 of file Units.h.

const double WireCell::units::millimeter = 1.
static

Definition at line 22 of file Units.h.

const double WireCell::units::millimeter2 = millimeter*millimeter
static

Definition at line 23 of file Units.h.

const double WireCell::units::millimeter3 = millimeter*millimeter*millimeter
static

Definition at line 24 of file Units.h.

const double WireCell::units::milliradian = 1.e-3*radian
static

Definition at line 77 of file Units.h.

const double WireCell::units::millisecond = 1.e-3 *second
static

Definition at line 93 of file Units.h.

const double WireCell::units::millivolt = 1.e-3*volt
static

Definition at line 178 of file Units.h.

const double WireCell::units::mm = millimeter
static

Definition at line 55 of file Units.h.

const double WireCell::units::mm2 = millimeter2
static

Definition at line 56 of file Units.h.

const double WireCell::units::mm3 = millimeter3
static

Definition at line 57 of file Units.h.

const double WireCell::units::mole = 1.
static

Definition at line 223 of file Units.h.

const double WireCell::units::mrad = milliradian
static

Definition at line 84 of file Units.h.

const double WireCell::units::ms = millisecond
static

Definition at line 104 of file Units.h.

const double WireCell::units::mV = millivolt
static

Definition at line 180 of file Units.h.

const double WireCell::units::nanoampere = 1.e-9*ampere
static

Definition at line 170 of file Units.h.

const double WireCell::units::nanobarn = 1.e-9 *barn
static

Definition at line 48 of file Units.h.

const double WireCell::units::nanofarad = 1.e-9*farad
static

Definition at line 194 of file Units.h.

const double WireCell::units::nanometer = 1.e-9 *meter
static

Definition at line 41 of file Units.h.

const double WireCell::units::nanosecond = 1.
static

Definition at line 91 of file Units.h.

const double WireCell::units::newton = joule/meter
static

Definition at line 155 of file Units.h.

const double WireCell::units::nm = nanometer
static

Definition at line 52 of file Units.h.

const double WireCell::units::ns = nanosecond
static

Definition at line 102 of file Units.h.

const double WireCell::units::ohm = volt/ampere
static

Definition at line 186 of file Units.h.

const double WireCell::units::parsec = 3.0856775807e+16*meter
static

Definition at line 38 of file Units.h.

const double WireCell::units::pascal = newton/m2
static

Definition at line 160 of file Units.h.

const double WireCell::units::pc = parsec
static

Definition at line 71 of file Units.h.

const double WireCell::units::perCent = 0.01
static

Definition at line 269 of file Units.h.

const double WireCell::units::perMillion = 0.000001
static

Definition at line 271 of file Units.h.

const double WireCell::units::perThousand = 0.001
static

Definition at line 270 of file Units.h.

const double WireCell::units::petaelectronvolt = 1.e+9*megaelectronvolt
static

Definition at line 123 of file Units.h.

const double WireCell::units::PeV = petaelectronvolt
static

Definition at line 133 of file Units.h.

const double WireCell::units::pi = 3.14159265358979323846
static

Definition at line 14 of file Units.h.

const double WireCell::units::pi2 = pi*pi
static

Definition at line 17 of file Units.h.

const double WireCell::units::picobarn = 1.e-12*barn
static

Definition at line 49 of file Units.h.

const double WireCell::units::picofarad = 1.e-12*farad
static

Definition at line 195 of file Units.h.

const double WireCell::units::picosecond = 1.e-12*second
static

Definition at line 95 of file Units.h.

const double WireCell::units::rad = radian
static

Definition at line 83 of file Units.h.

const double WireCell::units::radian = 1.
static

Definition at line 76 of file Units.h.

const double WireCell::units::s = second
static

Definition at line 103 of file Units.h.

const double WireCell::units::second = 1.e+9 *nanosecond
static

Definition at line 92 of file Units.h.

const double WireCell::units::sr = steradian
static

Definition at line 85 of file Units.h.

const double WireCell::units::steradian = 1.
static

Definition at line 80 of file Units.h.

const double WireCell::units::teraelectronvolt = 1.e+6*megaelectronvolt
static

Definition at line 122 of file Units.h.

const double WireCell::units::tesla = volt*second/meter2
static

Definition at line 205 of file Units.h.

const double WireCell::units::TeV = teraelectronvolt
static

Definition at line 132 of file Units.h.

const double WireCell::units::twopi = 2*pi
static

Definition at line 15 of file Units.h.

const double WireCell::units::uCi = microcurie
static

Definition at line 241 of file Units.h.

const double WireCell::units::um = micrometer
static

Definition at line 53 of file Units.h.

const double WireCell::units::us = microsecond
static

Definition at line 105 of file Units.h.

const double WireCell::units::uV = microvolt
static

Definition at line 181 of file Units.h.

const double WireCell::units::volt = 1.e-6*megavolt
static

Definition at line 177 of file Units.h.

const double WireCell::units::watt = joule/second
static

Definition at line 150 of file Units.h.

const double WireCell::units::weber = volt*second
static

Definition at line 200 of file Units.h.