MINT2
Macros | Variables
CLHEPSystemOfUnits.h File Reference

Go to the source code of this file.

Macros

#define pascal   hep_pascal
 

Variables

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 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 = (3.14159265358979323846/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 eplus = 1.
 
static const double e_SI = 1.60217733e-19
 
static const double coulomb = eplus/e_SI
 
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 hep_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 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 gray = joule/kilogram
 
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
 

Macro Definition Documentation

◆ pascal

#define pascal   hep_pascal

Definition at line 182 of file CLHEPSystemOfUnits.h.

Variable Documentation

◆ ampere

const double ampere = coulomb/second
static

Definition at line 195 of file CLHEPSystemOfUnits.h.

◆ angstrom

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

Definition at line 68 of file CLHEPSystemOfUnits.h.

◆ atmosphere

const double atmosphere = 101325*pascal
static

Definition at line 190 of file CLHEPSystemOfUnits.h.

◆ bar

const double bar = 100000*pascal
static

Definition at line 189 of file CLHEPSystemOfUnits.h.

◆ barn

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

Definition at line 71 of file CLHEPSystemOfUnits.h.

◆ becquerel

const double becquerel = 1./second
static

Definition at line 252 of file CLHEPSystemOfUnits.h.

◆ candela

const double candela = 1.
static

Definition at line 263 of file CLHEPSystemOfUnits.h.

◆ centimeter

const double centimeter = 10.*millimeter
static

Definition at line 52 of file CLHEPSystemOfUnits.h.

◆ centimeter2

const double centimeter2 = centimeter*centimeter
static

Definition at line 53 of file CLHEPSystemOfUnits.h.

◆ centimeter3

const double centimeter3 = centimeter*centimeter*centimeter
static

Definition at line 54 of file CLHEPSystemOfUnits.h.

◆ cm

const double cm = centimeter
static

Definition at line 82 of file CLHEPSystemOfUnits.h.

◆ cm2

const double cm2 = centimeter2
static

Definition at line 83 of file CLHEPSystemOfUnits.h.

◆ cm3

const double cm3 = centimeter3
static

Definition at line 84 of file CLHEPSystemOfUnits.h.

◆ coulomb

const double coulomb = eplus/e_SI
static

Definition at line 134 of file CLHEPSystemOfUnits.h.

◆ curie

const double curie = 3.7e+10 * becquerel
static

Definition at line 253 of file CLHEPSystemOfUnits.h.

◆ deg

const double deg = degree
static

Definition at line 109 of file CLHEPSystemOfUnits.h.

◆ degree

const double degree = (3.14159265358979323846/180.0)*radian
static

Definition at line 101 of file CLHEPSystemOfUnits.h.

◆ e_SI

const double e_SI = 1.60217733e-19
static

Definition at line 133 of file CLHEPSystemOfUnits.h.

◆ electronvolt

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

Definition at line 140 of file CLHEPSystemOfUnits.h.

◆ eplus

const double eplus = 1.
static

Definition at line 132 of file CLHEPSystemOfUnits.h.

◆ eV

const double eV = electronvolt
static

Definition at line 150 of file CLHEPSystemOfUnits.h.

◆ farad

const double farad = coulomb/volt
static

Definition at line 215 of file CLHEPSystemOfUnits.h.

◆ fermi

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

Definition at line 69 of file CLHEPSystemOfUnits.h.

◆ g

const double g = gram
static

Definition at line 165 of file CLHEPSystemOfUnits.h.

◆ gauss

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

Definition at line 231 of file CLHEPSystemOfUnits.h.

◆ GeV

const double GeV = gigaelectronvolt
static

Definition at line 152 of file CLHEPSystemOfUnits.h.

◆ gigaelectronvolt

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

Definition at line 142 of file CLHEPSystemOfUnits.h.

◆ gram

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

Definition at line 160 of file CLHEPSystemOfUnits.h.

◆ gray

const double gray = joule/kilogram
static

Definition at line 258 of file CLHEPSystemOfUnits.h.

◆ henry

const double henry = weber/ampere
static

Definition at line 237 of file CLHEPSystemOfUnits.h.

◆ hep_pascal

const double hep_pascal = newton/m2
static

Definition at line 183 of file CLHEPSystemOfUnits.h.

◆ hertz

const double hertz = 1./second
static

Definition at line 120 of file CLHEPSystemOfUnits.h.

◆ joule

const double joule = electronvolt/e_SI
static

Definition at line 146 of file CLHEPSystemOfUnits.h.

◆ kelvin

const double kelvin = 1.
static

Definition at line 242 of file CLHEPSystemOfUnits.h.

◆ keV

const double keV = kiloelectronvolt
static

Definition at line 151 of file CLHEPSystemOfUnits.h.

◆ kg

const double kg = kilogram
static

Definition at line 164 of file CLHEPSystemOfUnits.h.

◆ kiloelectronvolt

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

Definition at line 141 of file CLHEPSystemOfUnits.h.

◆ kilogauss

const double kilogauss = 1.e-1*tesla
static

Definition at line 232 of file CLHEPSystemOfUnits.h.

◆ kilogram

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

Definition at line 159 of file CLHEPSystemOfUnits.h.

◆ kilohertz

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

Definition at line 121 of file CLHEPSystemOfUnits.h.

◆ kilometer

const double kilometer = 1000.*meter
static

Definition at line 60 of file CLHEPSystemOfUnits.h.

◆ kilometer2

const double kilometer2 = kilometer*kilometer
static

Definition at line 61 of file CLHEPSystemOfUnits.h.

◆ kilometer3

const double kilometer3 = kilometer*kilometer*kilometer
static

Definition at line 62 of file CLHEPSystemOfUnits.h.

◆ kilovolt

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

Definition at line 204 of file CLHEPSystemOfUnits.h.

◆ km

const double km = kilometer
static

Definition at line 90 of file CLHEPSystemOfUnits.h.

◆ km2

const double km2 = kilometer2
static

Definition at line 91 of file CLHEPSystemOfUnits.h.

◆ km3

const double km3 = kilometer3
static

Definition at line 92 of file CLHEPSystemOfUnits.h.

◆ lumen

const double lumen = candela*steradian
static

Definition at line 268 of file CLHEPSystemOfUnits.h.

◆ lux

const double lux = lumen/meter2
static

Definition at line 273 of file CLHEPSystemOfUnits.h.

◆ m

const double m = meter
static

Definition at line 86 of file CLHEPSystemOfUnits.h.

◆ m2

const double m2 = meter2
static

Definition at line 87 of file CLHEPSystemOfUnits.h.

◆ m3

const double m3 = meter3
static

Definition at line 88 of file CLHEPSystemOfUnits.h.

◆ megaelectronvolt

const double megaelectronvolt = 1.
static

Definition at line 139 of file CLHEPSystemOfUnits.h.

◆ megahertz

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

Definition at line 122 of file CLHEPSystemOfUnits.h.

◆ megavolt

const double megavolt = megaelectronvolt/eplus
static

Definition at line 203 of file CLHEPSystemOfUnits.h.

◆ meter

const double meter = 1000.*millimeter
static

Definition at line 56 of file CLHEPSystemOfUnits.h.

◆ meter2

const double meter2 = meter*meter
static

Definition at line 57 of file CLHEPSystemOfUnits.h.

◆ meter3

const double meter3 = meter*meter*meter
static

Definition at line 58 of file CLHEPSystemOfUnits.h.

◆ MeV

const double MeV = megaelectronvolt
static

Definition at line 149 of file CLHEPSystemOfUnits.h.

◆ mg

const double mg = milligram
static

Definition at line 166 of file CLHEPSystemOfUnits.h.

◆ microampere

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

Definition at line 197 of file CLHEPSystemOfUnits.h.

◆ microbarn

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

Definition at line 73 of file CLHEPSystemOfUnits.h.

◆ microfarad

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

Definition at line 217 of file CLHEPSystemOfUnits.h.

◆ micrometer

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

Definition at line 66 of file CLHEPSystemOfUnits.h.

◆ microsecond

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

Definition at line 117 of file CLHEPSystemOfUnits.h.

◆ milliampere

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

Definition at line 196 of file CLHEPSystemOfUnits.h.

◆ millibarn

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

Definition at line 72 of file CLHEPSystemOfUnits.h.

◆ millifarad

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

Definition at line 216 of file CLHEPSystemOfUnits.h.

◆ milligram

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

Definition at line 161 of file CLHEPSystemOfUnits.h.

◆ millimeter

const double millimeter = 1.
static

Definition at line 48 of file CLHEPSystemOfUnits.h.

◆ millimeter2

const double millimeter2 = millimeter*millimeter
static

Definition at line 49 of file CLHEPSystemOfUnits.h.

◆ millimeter3

const double millimeter3 = millimeter*millimeter*millimeter
static

Definition at line 50 of file CLHEPSystemOfUnits.h.

◆ milliradian

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

Definition at line 100 of file CLHEPSystemOfUnits.h.

◆ millisecond

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

Definition at line 116 of file CLHEPSystemOfUnits.h.

◆ mm

const double mm = millimeter
static

Definition at line 78 of file CLHEPSystemOfUnits.h.

◆ mm2

const double mm2 = millimeter2
static

Definition at line 79 of file CLHEPSystemOfUnits.h.

◆ mm3

const double mm3 = millimeter3
static

Definition at line 80 of file CLHEPSystemOfUnits.h.

◆ mole

const double mole = 1.
static

Definition at line 247 of file CLHEPSystemOfUnits.h.

◆ mrad

const double mrad = milliradian
static

Definition at line 107 of file CLHEPSystemOfUnits.h.

◆ ms

const double ms = millisecond
static

Definition at line 127 of file CLHEPSystemOfUnits.h.

◆ nanoampere

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

Definition at line 198 of file CLHEPSystemOfUnits.h.

◆ nanobarn

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

Definition at line 74 of file CLHEPSystemOfUnits.h.

◆ nanofarad

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

Definition at line 218 of file CLHEPSystemOfUnits.h.

◆ nanometer

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

Definition at line 67 of file CLHEPSystemOfUnits.h.

◆ nanosecond

const double nanosecond = 1.
static

Definition at line 114 of file CLHEPSystemOfUnits.h.

◆ newton

const double newton = joule/meter
static

Definition at line 176 of file CLHEPSystemOfUnits.h.

◆ ns

const double ns = nanosecond
static

Definition at line 125 of file CLHEPSystemOfUnits.h.

◆ ohm

const double ohm = volt/ampere
static

Definition at line 210 of file CLHEPSystemOfUnits.h.

◆ parsec

const double parsec = 3.0856775807e+16*meter
static

Definition at line 64 of file CLHEPSystemOfUnits.h.

◆ pc

const double pc = parsec
static

Definition at line 94 of file CLHEPSystemOfUnits.h.

◆ perCent

const double perCent = 0.01
static

Definition at line 278 of file CLHEPSystemOfUnits.h.

◆ perMillion

const double perMillion = 0.000001
static

Definition at line 280 of file CLHEPSystemOfUnits.h.

◆ perThousand

const double perThousand = 0.001
static

Definition at line 279 of file CLHEPSystemOfUnits.h.

◆ petaelectronvolt

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

Definition at line 144 of file CLHEPSystemOfUnits.h.

◆ PeV

const double PeV = petaelectronvolt
static

Definition at line 154 of file CLHEPSystemOfUnits.h.

◆ picobarn

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

Definition at line 75 of file CLHEPSystemOfUnits.h.

◆ picofarad

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

Definition at line 219 of file CLHEPSystemOfUnits.h.

◆ picosecond

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

Definition at line 118 of file CLHEPSystemOfUnits.h.

◆ rad

const double rad = radian
static

Definition at line 106 of file CLHEPSystemOfUnits.h.

◆ radian

const double radian = 1.
static

Definition at line 99 of file CLHEPSystemOfUnits.h.

◆ s

const double s = second
static

Definition at line 126 of file CLHEPSystemOfUnits.h.

◆ second

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

Definition at line 115 of file CLHEPSystemOfUnits.h.

◆ sr

const double sr = steradian
static

Definition at line 108 of file CLHEPSystemOfUnits.h.

◆ steradian

const double steradian = 1.
static

Definition at line 103 of file CLHEPSystemOfUnits.h.

◆ teraelectronvolt

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

Definition at line 143 of file CLHEPSystemOfUnits.h.

◆ tesla

const double tesla = volt*second/meter2
static

Definition at line 229 of file CLHEPSystemOfUnits.h.

◆ TeV

const double TeV = teraelectronvolt
static

Definition at line 153 of file CLHEPSystemOfUnits.h.

◆ volt

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

Definition at line 205 of file CLHEPSystemOfUnits.h.

◆ watt

const double watt = joule/second
static

Definition at line 171 of file CLHEPSystemOfUnits.h.

◆ weber

const double weber = volt*second
static

Definition at line 224 of file CLHEPSystemOfUnits.h.