Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4SIunits.hh File Reference

Go to the source code of this file.

Macros

#define pascal   hep_pascal
 

Variables

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

Macro Definition Documentation

#define pascal   hep_pascal

Definition at line 234 of file G4SIunits.hh.

Variable Documentation

constexpr double ampere = 1.
static

Definition at line 189 of file G4SIunits.hh.

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

Definition at line 102 of file G4SIunits.hh.

constexpr double atmosphere = 101325*pascal
static

Definition at line 237 of file G4SIunits.hh.

constexpr double bar = 100000*pascal
static

Definition at line 236 of file G4SIunits.hh.

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

Definition at line 105 of file G4SIunits.hh.

constexpr double becquerel = 1./second
static

Definition at line 291 of file G4SIunits.hh.

constexpr double Bq = becquerel
static

Definition at line 298 of file G4SIunits.hh.

constexpr double candela = 1.
static

Definition at line 317 of file G4SIunits.hh.

constexpr double centimeter = 10.*millimeter
static

Definition at line 90 of file G4SIunits.hh.

constexpr double centimeter2 = centimeter*centimeter
static

Definition at line 91 of file G4SIunits.hh.

constexpr double centimeter3 = centimeter*centimeter*centimeter
static

Definition at line 92 of file G4SIunits.hh.

constexpr double Ci = curie
static

Definition at line 302 of file G4SIunits.hh.

constexpr double cL = 1.e-2*liter
static

Definition at line 126 of file G4SIunits.hh.

constexpr double cm = centimeter
static

Definition at line 119 of file G4SIunits.hh.

constexpr double cm2 = centimeter2
static

Definition at line 120 of file G4SIunits.hh.

constexpr double cm3 = centimeter3
static

Definition at line 121 of file G4SIunits.hh.

constexpr double coulomb = ampere*second
static

Definition at line 197 of file G4SIunits.hh.

constexpr double curie = 3.7e+10 * becquerel
static

Definition at line 292 of file G4SIunits.hh.

constexpr double deg = degree
static

Definition at line 152 of file G4SIunits.hh.

constexpr double degree = (pi/180.0)*radian
static

Definition at line 144 of file G4SIunits.hh.

constexpr double dL = 1.e-1*liter
static

Definition at line 125 of file G4SIunits.hh.

constexpr double e_SI = 1.602176487e-19
static

Definition at line 198 of file G4SIunits.hh.

constexpr double electronvolt = e_SI*joule
static

Definition at line 206 of file G4SIunits.hh.

constexpr double eplus = e_SI*coulomb
static

Definition at line 199 of file G4SIunits.hh.

constexpr double eV = electronvolt
static

Definition at line 215 of file G4SIunits.hh.

constexpr double farad = coulomb/volt
static

Definition at line 254 of file G4SIunits.hh.

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

Definition at line 103 of file G4SIunits.hh.

constexpr double g = gram
static

Definition at line 183 of file G4SIunits.hh.

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

Definition at line 270 of file G4SIunits.hh.

constexpr double GBq = gigabecquerel
static

Definition at line 301 of file G4SIunits.hh.

constexpr double GeV = gigaelectronvolt
static

Definition at line 217 of file G4SIunits.hh.

constexpr double gigabecquerel = 1.e+9*becquerel
static

Definition at line 295 of file G4SIunits.hh.

constexpr double gigaelectronvolt = 1.e+9*electronvolt
static

Definition at line 209 of file G4SIunits.hh.

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

Definition at line 178 of file G4SIunits.hh.

constexpr double gray = joule/kilogram
static

Definition at line 309 of file G4SIunits.hh.

constexpr double halfpi = pi/2
static

Definition at line 77 of file G4SIunits.hh.

constexpr double henry = weber/ampere
static

Definition at line 276 of file G4SIunits.hh.

constexpr double hep_pascal = newton/m2
static

Definition at line 235 of file G4SIunits.hh.

constexpr double hertz = 1./second
static

Definition at line 163 of file G4SIunits.hh.

constexpr double joule = kg*m*m/(s*s)
static

Definition at line 204 of file G4SIunits.hh.

constexpr double kBq = kilobecquerel
static

Definition at line 299 of file G4SIunits.hh.

constexpr double kelvin = 1.
static

Definition at line 281 of file G4SIunits.hh.

constexpr double keV = kiloelectronvolt
static

Definition at line 216 of file G4SIunits.hh.

constexpr double kg = kilogram
static

Definition at line 182 of file G4SIunits.hh.

constexpr double kilobecquerel = 1.e+3*becquerel
static

Definition at line 293 of file G4SIunits.hh.

constexpr double kiloelectronvolt = 1.e+3*electronvolt
static

Definition at line 207 of file G4SIunits.hh.

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

Definition at line 271 of file G4SIunits.hh.

constexpr double kilogram = 1.
static

Definition at line 177 of file G4SIunits.hh.

constexpr double kilogray = 1.e+3*gray
static

Definition at line 310 of file G4SIunits.hh.

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

Definition at line 164 of file G4SIunits.hh.

constexpr double kilometer = 1000.*meter
static

Definition at line 94 of file G4SIunits.hh.

constexpr double kilometer2 = kilometer*kilometer
static

Definition at line 95 of file G4SIunits.hh.

constexpr double kilometer3 = kilometer*kilometer*kilometer
static

Definition at line 96 of file G4SIunits.hh.

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

Definition at line 243 of file G4SIunits.hh.

constexpr double km = kilometer
static

Definition at line 133 of file G4SIunits.hh.

constexpr double km2 = kilometer2
static

Definition at line 134 of file G4SIunits.hh.

constexpr double km3 = kilometer3
static

Definition at line 135 of file G4SIunits.hh.

constexpr double L = liter
static

Definition at line 124 of file G4SIunits.hh.

constexpr double liter = 1.e+3*cm3
static

Definition at line 123 of file G4SIunits.hh.

constexpr double lumen = candela*steradian
static

Definition at line 322 of file G4SIunits.hh.

constexpr double lux = lumen/meter2
static

Definition at line 327 of file G4SIunits.hh.

constexpr double m = meter
static

Definition at line 129 of file G4SIunits.hh.

constexpr double m2 = meter2
static

Definition at line 130 of file G4SIunits.hh.

constexpr double m3 = meter3
static

Definition at line 131 of file G4SIunits.hh.

constexpr double MBq = megabecquerel
static

Definition at line 300 of file G4SIunits.hh.

constexpr double mCi = millicurie
static

Definition at line 303 of file G4SIunits.hh.

constexpr double megabecquerel = 1.e+6*becquerel
static

Definition at line 294 of file G4SIunits.hh.

constexpr double megaelectronvolt = 1.e+6*electronvolt
static

Definition at line 208 of file G4SIunits.hh.

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

Definition at line 165 of file G4SIunits.hh.

constexpr double megavolt = megaelectronvolt/eplus
static

Definition at line 242 of file G4SIunits.hh.

constexpr double meter = 1.
static

Definition at line 82 of file G4SIunits.hh.

constexpr double meter2 = meter*meter
static

Definition at line 83 of file G4SIunits.hh.

constexpr double meter3 = meter*meter*meter
static

Definition at line 84 of file G4SIunits.hh.

constexpr double MeV = megaelectronvolt
static

Definition at line 214 of file G4SIunits.hh.

constexpr double mg = milligram
static

Definition at line 184 of file G4SIunits.hh.

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

Definition at line 191 of file G4SIunits.hh.

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

Definition at line 107 of file G4SIunits.hh.

constexpr double microcurie = 1.e-6*curie
static

Definition at line 297 of file G4SIunits.hh.

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

Definition at line 256 of file G4SIunits.hh.

constexpr double microgray = 1.e-6*gray
static

Definition at line 312 of file G4SIunits.hh.

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

Definition at line 100 of file G4SIunits.hh.

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

Definition at line 160 of file G4SIunits.hh.

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

Definition at line 190 of file G4SIunits.hh.

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

Definition at line 106 of file G4SIunits.hh.

constexpr double millicurie = 1.e-3*curie
static

Definition at line 296 of file G4SIunits.hh.

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

Definition at line 255 of file G4SIunits.hh.

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

Definition at line 179 of file G4SIunits.hh.

constexpr double milligray = 1.e-3*gray
static

Definition at line 311 of file G4SIunits.hh.

constexpr double millimeter = 0.001*meter
static

Definition at line 86 of file G4SIunits.hh.

constexpr double millimeter2 = millimeter*millimeter
static

Definition at line 87 of file G4SIunits.hh.

constexpr double millimeter3 = millimeter*millimeter*millimeter
static

Definition at line 88 of file G4SIunits.hh.

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

Definition at line 143 of file G4SIunits.hh.

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

Definition at line 159 of file G4SIunits.hh.

constexpr double mL = 1.e-3*liter
static

Definition at line 127 of file G4SIunits.hh.

constexpr double mm = millimeter
static

Definition at line 115 of file G4SIunits.hh.

constexpr double mm2 = millimeter2
static

Definition at line 116 of file G4SIunits.hh.

constexpr double mm3 = millimeter3
static

Definition at line 117 of file G4SIunits.hh.

constexpr double mole = 1.
static

Definition at line 286 of file G4SIunits.hh.

constexpr double mrad = milliradian
static

Definition at line 150 of file G4SIunits.hh.

constexpr double ms = millisecond
static

Definition at line 170 of file G4SIunits.hh.

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

Definition at line 192 of file G4SIunits.hh.

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

Definition at line 108 of file G4SIunits.hh.

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

Definition at line 257 of file G4SIunits.hh.

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

Definition at line 101 of file G4SIunits.hh.

constexpr double nanosecond = 1.e-9 *second
static

Definition at line 158 of file G4SIunits.hh.

constexpr double newton = joule/meter
static

Definition at line 229 of file G4SIunits.hh.

constexpr double nm = nanometer
static

Definition at line 112 of file G4SIunits.hh.

constexpr double ns = nanosecond
static

Definition at line 168 of file G4SIunits.hh.

constexpr double ohm = volt/ampere
static

Definition at line 249 of file G4SIunits.hh.

constexpr double parsec = 3.0856775807e+16*meter
static

Definition at line 98 of file G4SIunits.hh.

constexpr double pc = parsec
static

Definition at line 137 of file G4SIunits.hh.

constexpr double perCent = 0.01
static

Definition at line 332 of file G4SIunits.hh.

constexpr double perMillion = 0.000001
static

Definition at line 334 of file G4SIunits.hh.

constexpr double perThousand = 0.001
static

Definition at line 333 of file G4SIunits.hh.

constexpr double petaelectronvolt = 1.e+15*electronvolt
static

Definition at line 211 of file G4SIunits.hh.

constexpr double PeV = petaelectronvolt
static

Definition at line 219 of file G4SIunits.hh.

constexpr double pi = 3.14159265358979323846
static

Definition at line 75 of file G4SIunits.hh.

constexpr double pi2 = pi*pi
static

Definition at line 78 of file G4SIunits.hh.

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

Definition at line 109 of file G4SIunits.hh.

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

Definition at line 258 of file G4SIunits.hh.

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

Definition at line 161 of file G4SIunits.hh.

constexpr double ps = picosecond
static

Definition at line 172 of file G4SIunits.hh.

constexpr double rad = radian
static

Definition at line 149 of file G4SIunits.hh.

constexpr double radian = 1.
static

Definition at line 142 of file G4SIunits.hh.

constexpr double s = second
static

Definition at line 169 of file G4SIunits.hh.

constexpr double second = 1.
static

Definition at line 157 of file G4SIunits.hh.

constexpr double sr = steradian
static

Definition at line 151 of file G4SIunits.hh.

constexpr double steradian = 1.
static

Definition at line 146 of file G4SIunits.hh.

constexpr double teraelectronvolt = 1.e+12*electronvolt
static

Definition at line 210 of file G4SIunits.hh.

constexpr double tesla = volt*second/meter2
static

Definition at line 268 of file G4SIunits.hh.

constexpr double TeV = teraelectronvolt
static

Definition at line 218 of file G4SIunits.hh.

constexpr double twopi = 2*pi
static

Definition at line 76 of file G4SIunits.hh.

constexpr double uCi = microcurie
static

Definition at line 304 of file G4SIunits.hh.

constexpr double um = micrometer
static

Definition at line 113 of file G4SIunits.hh.

constexpr double us = microsecond
static

Definition at line 171 of file G4SIunits.hh.

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

Definition at line 244 of file G4SIunits.hh.

constexpr double watt = joule/second
static

Definition at line 224 of file G4SIunits.hh.

constexpr double weber = volt*second
static

Definition at line 263 of file G4SIunits.hh.