ATLAS Offline Software
Variables
python.SystemOfUnits Namespace Reference

Variables

int millimeter = 1.
 
int millimeter2 = millimeter*millimeter
 
int millimeter3 = millimeter*millimeter*millimeter
 
int centimeter = 10.*millimeter
 
int centimeter2 = centimeter*centimeter
 
int centimeter3 = centimeter*centimeter*centimeter
 
int meter = 1000.*millimeter
 
int meter2 = meter*meter
 
int meter3 = meter*meter*meter
 
int kilometer = 1000.*meter
 
int kilometer2 = kilometer*kilometer
 
int kilometer3 = kilometer*kilometer*kilometer
 
float parsec = 3.0856775807e+16*meter
 
int micrometer = 1.e-6 *meter
 
int nanometer = 1.e-9 *meter
 
int angstrom = 1.e-10*meter
 
int fermi = 1.e-15*meter
 
int barn = 1.e-28*meter2
 
int millibarn = 1.e-3 *barn
 
int microbarn = 1.e-6 *barn
 
int nanobarn = 1.e-9 *barn
 
int picobarn = 1.e-12*barn
 
int mm = millimeter
 
int mm2 = millimeter2
 
int mm3 = millimeter3
 
int cm = centimeter
 
int cm2 = centimeter2
 
int cm3 = centimeter3
 
int m = meter
 
int m2 = meter2
 
int m3 = meter3
 
int km = kilometer
 
int km2 = kilometer2
 
int km3 = kilometer3
 
float pc = parsec
 
int radian = 1.
 
int milliradian = 1.e-3*radian
 
tuple degree = (3.14159265358979323846/180.0)*radian
 
int steradian = 1.
 
int rad = radian
 
int mrad = milliradian
 
int sr = steradian
 
tuple deg = degree
 
int nanosecond = 1.
 
int second = 1.e+9 *nanosecond
 
int millisecond = 1.e-3 *second
 
int microsecond = 1.e-6 *second
 
int picosecond = 1.e-12*second
 
int hertz = 1./second
 
int kilohertz = 1.e+3*hertz
 
int megahertz = 1.e+6*hertz
 
int ns = nanosecond
 
int s = second
 
int ms = millisecond
 
int eplus = 1.
 
float e_SI = 1.60217733e-19
 
int coulomb = eplus/e_SI
 
int megaelectronvolt = 1.
 
int electronvolt = 1.e-6*megaelectronvolt
 
int kiloelectronvolt = 1.e-3*megaelectronvolt
 
int gigaelectronvolt = 1.e+3*megaelectronvolt
 
int teraelectronvolt = 1.e+6*megaelectronvolt
 
int petaelectronvolt = 1.e+9*megaelectronvolt
 
int joule = electronvolt/e_SI
 
int MeV = megaelectronvolt
 
int eV = electronvolt
 
int keV = kiloelectronvolt
 
int GeV = gigaelectronvolt
 
int TeV = teraelectronvolt
 
int PeV = petaelectronvolt
 
int kilogram = joule*second*second/(meter*meter)
 
int gram = 1.e-3*kilogram
 
int milligram = 1.e-3*gram
 
int kg = kilogram
 
int g = gram
 
int mg = milligram
 
int watt = joule/second
 
int newton = joule/meter
 
int hep_pascal = newton/m2
 
int pascal = hep_pascal
 
int bar = 100000*pascal
 
int atmosphere = 101325*pascal
 
int ampere = coulomb/second
 
int milliampere = 1.e-3*ampere
 
int microampere = 1.e-6*ampere
 
int nanoampere = 1.e-9*ampere
 
int megavolt = megaelectronvolt/eplus
 
int kilovolt = 1.e-3*megavolt
 
int volt = 1.e-6*megavolt
 
int ohm = volt/ampere
 
int farad = coulomb/volt
 
int millifarad = 1.e-3*farad
 
int microfarad = 1.e-6*farad
 
int nanofarad = 1.e-9*farad
 
int picofarad = 1.e-12*farad
 
int weber = volt*second
 
int tesla = volt*second/meter2
 
int gauss = 1.e-4*tesla
 
int kilogauss = 1.e-1*tesla
 
int henry = weber/ampere
 
int kelvin = 1.
 
int mole = 1.
 
int becquerel = 1./second
 
float curie = 3.7e+10 * becquerel
 
int gray = joule/kilogram
 
int candela = 1.
 
int lumen = candela*steradian
 
int lux = lumen/meter2
 
float perCent = 0.01
 
float perThousand = 0.001
 
float perMillion = 0.000001
 

Variable Documentation

◆ ampere

int python.SystemOfUnits.ampere = coulomb/second

Definition at line 194 of file SystemOfUnits.py.

◆ angstrom

int python.SystemOfUnits.angstrom = 1.e-10*meter

Definition at line 73 of file SystemOfUnits.py.

◆ atmosphere

int python.SystemOfUnits.atmosphere = 101325*pascal

Definition at line 189 of file SystemOfUnits.py.

◆ bar

int python.SystemOfUnits.bar = 100000*pascal

Definition at line 188 of file SystemOfUnits.py.

◆ barn

int python.SystemOfUnits.barn = 1.e-28*meter2

Definition at line 76 of file SystemOfUnits.py.

◆ becquerel

int python.SystemOfUnits.becquerel = 1./second

Definition at line 251 of file SystemOfUnits.py.

◆ candela

int python.SystemOfUnits.candela = 1.

Definition at line 262 of file SystemOfUnits.py.

◆ centimeter

int python.SystemOfUnits.centimeter = 10.*millimeter

Definition at line 57 of file SystemOfUnits.py.

◆ centimeter2

int python.SystemOfUnits.centimeter2 = centimeter*centimeter

Definition at line 58 of file SystemOfUnits.py.

◆ centimeter3

int python.SystemOfUnits.centimeter3 = centimeter*centimeter*centimeter

Definition at line 59 of file SystemOfUnits.py.

◆ cm

int python.SystemOfUnits.cm = centimeter

Definition at line 87 of file SystemOfUnits.py.

◆ cm2

int python.SystemOfUnits.cm2 = centimeter2

Definition at line 88 of file SystemOfUnits.py.

◆ cm3

int python.SystemOfUnits.cm3 = centimeter3

Definition at line 89 of file SystemOfUnits.py.

◆ coulomb

int python.SystemOfUnits.coulomb = eplus/e_SI

Definition at line 139 of file SystemOfUnits.py.

◆ curie

float python.SystemOfUnits.curie = 3.7e+10 * becquerel

Definition at line 252 of file SystemOfUnits.py.

◆ deg

tuple python.SystemOfUnits.deg = degree

Definition at line 114 of file SystemOfUnits.py.

◆ degree

tuple python.SystemOfUnits.degree = (3.14159265358979323846/180.0)*radian

Definition at line 106 of file SystemOfUnits.py.

◆ e_SI

float python.SystemOfUnits.e_SI = 1.60217733e-19

Definition at line 138 of file SystemOfUnits.py.

◆ electronvolt

int python.SystemOfUnits.electronvolt = 1.e-6*megaelectronvolt

Definition at line 145 of file SystemOfUnits.py.

◆ eplus

int python.SystemOfUnits.eplus = 1.

Definition at line 137 of file SystemOfUnits.py.

◆ eV

int python.SystemOfUnits.eV = electronvolt

Definition at line 155 of file SystemOfUnits.py.

◆ farad

int python.SystemOfUnits.farad = coulomb/volt

Definition at line 214 of file SystemOfUnits.py.

◆ fermi

int python.SystemOfUnits.fermi = 1.e-15*meter

Definition at line 74 of file SystemOfUnits.py.

◆ g

int python.SystemOfUnits.g = gram

Definition at line 170 of file SystemOfUnits.py.

◆ gauss

int python.SystemOfUnits.gauss = 1.e-4*tesla

Definition at line 230 of file SystemOfUnits.py.

◆ GeV

int python.SystemOfUnits.GeV = gigaelectronvolt

Definition at line 157 of file SystemOfUnits.py.

◆ gigaelectronvolt

int python.SystemOfUnits.gigaelectronvolt = 1.e+3*megaelectronvolt

Definition at line 147 of file SystemOfUnits.py.

◆ gram

int python.SystemOfUnits.gram = 1.e-3*kilogram

Definition at line 165 of file SystemOfUnits.py.

◆ gray

int python.SystemOfUnits.gray = joule/kilogram

Definition at line 257 of file SystemOfUnits.py.

◆ henry

int python.SystemOfUnits.henry = weber/ampere

Definition at line 236 of file SystemOfUnits.py.

◆ hep_pascal

int python.SystemOfUnits.hep_pascal = newton/m2

Definition at line 186 of file SystemOfUnits.py.

◆ hertz

int python.SystemOfUnits.hertz = 1./second

Definition at line 125 of file SystemOfUnits.py.

◆ joule

int python.SystemOfUnits.joule = electronvolt/e_SI

Definition at line 151 of file SystemOfUnits.py.

◆ kelvin

int python.SystemOfUnits.kelvin = 1.

Definition at line 241 of file SystemOfUnits.py.

◆ keV

int python.SystemOfUnits.keV = kiloelectronvolt

Definition at line 156 of file SystemOfUnits.py.

◆ kg

int python.SystemOfUnits.kg = kilogram

Definition at line 169 of file SystemOfUnits.py.

◆ kiloelectronvolt

int python.SystemOfUnits.kiloelectronvolt = 1.e-3*megaelectronvolt

Definition at line 146 of file SystemOfUnits.py.

◆ kilogauss

int python.SystemOfUnits.kilogauss = 1.e-1*tesla

Definition at line 231 of file SystemOfUnits.py.

◆ kilogram

int python.SystemOfUnits.kilogram = joule*second*second/(meter*meter)

Definition at line 164 of file SystemOfUnits.py.

◆ kilohertz

int python.SystemOfUnits.kilohertz = 1.e+3*hertz

Definition at line 126 of file SystemOfUnits.py.

◆ kilometer

int python.SystemOfUnits.kilometer = 1000.*meter

Definition at line 65 of file SystemOfUnits.py.

◆ kilometer2

int python.SystemOfUnits.kilometer2 = kilometer*kilometer

Definition at line 66 of file SystemOfUnits.py.

◆ kilometer3

int python.SystemOfUnits.kilometer3 = kilometer*kilometer*kilometer

Definition at line 67 of file SystemOfUnits.py.

◆ kilovolt

int python.SystemOfUnits.kilovolt = 1.e-3*megavolt

Definition at line 203 of file SystemOfUnits.py.

◆ km

int python.SystemOfUnits.km = kilometer

Definition at line 95 of file SystemOfUnits.py.

◆ km2

int python.SystemOfUnits.km2 = kilometer2

Definition at line 96 of file SystemOfUnits.py.

◆ km3

int python.SystemOfUnits.km3 = kilometer3

Definition at line 97 of file SystemOfUnits.py.

◆ lumen

int python.SystemOfUnits.lumen = candela*steradian

Definition at line 267 of file SystemOfUnits.py.

◆ lux

int python.SystemOfUnits.lux = lumen/meter2

Definition at line 272 of file SystemOfUnits.py.

◆ m

int python.SystemOfUnits.m = meter

Definition at line 91 of file SystemOfUnits.py.

◆ m2

int python.SystemOfUnits.m2 = meter2

Definition at line 92 of file SystemOfUnits.py.

◆ m3

int python.SystemOfUnits.m3 = meter3

Definition at line 93 of file SystemOfUnits.py.

◆ megaelectronvolt

int python.SystemOfUnits.megaelectronvolt = 1.

Definition at line 144 of file SystemOfUnits.py.

◆ megahertz

int python.SystemOfUnits.megahertz = 1.e+6*hertz

Definition at line 127 of file SystemOfUnits.py.

◆ megavolt

int python.SystemOfUnits.megavolt = megaelectronvolt/eplus

Definition at line 202 of file SystemOfUnits.py.

◆ meter

int python.SystemOfUnits.meter = 1000.*millimeter

Definition at line 61 of file SystemOfUnits.py.

◆ meter2

int python.SystemOfUnits.meter2 = meter*meter

Definition at line 62 of file SystemOfUnits.py.

◆ meter3

int python.SystemOfUnits.meter3 = meter*meter*meter

Definition at line 63 of file SystemOfUnits.py.

◆ MeV

int python.SystemOfUnits.MeV = megaelectronvolt

Definition at line 154 of file SystemOfUnits.py.

◆ mg

int python.SystemOfUnits.mg = milligram

Definition at line 171 of file SystemOfUnits.py.

◆ microampere

int python.SystemOfUnits.microampere = 1.e-6*ampere

Definition at line 196 of file SystemOfUnits.py.

◆ microbarn

int python.SystemOfUnits.microbarn = 1.e-6 *barn

Definition at line 78 of file SystemOfUnits.py.

◆ microfarad

int python.SystemOfUnits.microfarad = 1.e-6*farad

Definition at line 216 of file SystemOfUnits.py.

◆ micrometer

int python.SystemOfUnits.micrometer = 1.e-6 *meter

Definition at line 71 of file SystemOfUnits.py.

◆ microsecond

int python.SystemOfUnits.microsecond = 1.e-6 *second

Definition at line 122 of file SystemOfUnits.py.

◆ milliampere

int python.SystemOfUnits.milliampere = 1.e-3*ampere

Definition at line 195 of file SystemOfUnits.py.

◆ millibarn

int python.SystemOfUnits.millibarn = 1.e-3 *barn

Definition at line 77 of file SystemOfUnits.py.

◆ millifarad

int python.SystemOfUnits.millifarad = 1.e-3*farad

Definition at line 215 of file SystemOfUnits.py.

◆ milligram

int python.SystemOfUnits.milligram = 1.e-3*gram

Definition at line 166 of file SystemOfUnits.py.

◆ millimeter

int python.SystemOfUnits.millimeter = 1.

Definition at line 53 of file SystemOfUnits.py.

◆ millimeter2

int python.SystemOfUnits.millimeter2 = millimeter*millimeter

Definition at line 54 of file SystemOfUnits.py.

◆ millimeter3

int python.SystemOfUnits.millimeter3 = millimeter*millimeter*millimeter

Definition at line 55 of file SystemOfUnits.py.

◆ milliradian

int python.SystemOfUnits.milliradian = 1.e-3*radian

Definition at line 105 of file SystemOfUnits.py.

◆ millisecond

int python.SystemOfUnits.millisecond = 1.e-3 *second

Definition at line 121 of file SystemOfUnits.py.

◆ mm

int python.SystemOfUnits.mm = millimeter

Definition at line 83 of file SystemOfUnits.py.

◆ mm2

int python.SystemOfUnits.mm2 = millimeter2

Definition at line 84 of file SystemOfUnits.py.

◆ mm3

int python.SystemOfUnits.mm3 = millimeter3

Definition at line 85 of file SystemOfUnits.py.

◆ mole

int python.SystemOfUnits.mole = 1.

Definition at line 246 of file SystemOfUnits.py.

◆ mrad

int python.SystemOfUnits.mrad = milliradian

Definition at line 112 of file SystemOfUnits.py.

◆ ms

int python.SystemOfUnits.ms = millisecond

Definition at line 132 of file SystemOfUnits.py.

◆ nanoampere

int python.SystemOfUnits.nanoampere = 1.e-9*ampere

Definition at line 197 of file SystemOfUnits.py.

◆ nanobarn

int python.SystemOfUnits.nanobarn = 1.e-9 *barn

Definition at line 79 of file SystemOfUnits.py.

◆ nanofarad

int python.SystemOfUnits.nanofarad = 1.e-9*farad

Definition at line 217 of file SystemOfUnits.py.

◆ nanometer

int python.SystemOfUnits.nanometer = 1.e-9 *meter

Definition at line 72 of file SystemOfUnits.py.

◆ nanosecond

int python.SystemOfUnits.nanosecond = 1.

Definition at line 119 of file SystemOfUnits.py.

◆ newton

int python.SystemOfUnits.newton = joule/meter

Definition at line 181 of file SystemOfUnits.py.

◆ ns

int python.SystemOfUnits.ns = nanosecond

Definition at line 130 of file SystemOfUnits.py.

◆ ohm

int python.SystemOfUnits.ohm = volt/ampere

Definition at line 209 of file SystemOfUnits.py.

◆ parsec

float python.SystemOfUnits.parsec = 3.0856775807e+16*meter

Definition at line 69 of file SystemOfUnits.py.

◆ pascal

int python.SystemOfUnits.pascal = hep_pascal

Definition at line 187 of file SystemOfUnits.py.

◆ pc

float python.SystemOfUnits.pc = parsec

Definition at line 99 of file SystemOfUnits.py.

◆ perCent

float python.SystemOfUnits.perCent = 0.01

Definition at line 277 of file SystemOfUnits.py.

◆ perMillion

float python.SystemOfUnits.perMillion = 0.000001

Definition at line 279 of file SystemOfUnits.py.

◆ perThousand

float python.SystemOfUnits.perThousand = 0.001

Definition at line 278 of file SystemOfUnits.py.

◆ petaelectronvolt

int python.SystemOfUnits.petaelectronvolt = 1.e+9*megaelectronvolt

Definition at line 149 of file SystemOfUnits.py.

◆ PeV

int python.SystemOfUnits.PeV = petaelectronvolt

Definition at line 159 of file SystemOfUnits.py.

◆ picobarn

int python.SystemOfUnits.picobarn = 1.e-12*barn

Definition at line 80 of file SystemOfUnits.py.

◆ picofarad

int python.SystemOfUnits.picofarad = 1.e-12*farad

Definition at line 218 of file SystemOfUnits.py.

◆ picosecond

int python.SystemOfUnits.picosecond = 1.e-12*second

Definition at line 123 of file SystemOfUnits.py.

◆ rad

int python.SystemOfUnits.rad = radian

Definition at line 111 of file SystemOfUnits.py.

◆ radian

int python.SystemOfUnits.radian = 1.

Definition at line 104 of file SystemOfUnits.py.

◆ s

int python.SystemOfUnits.s = second

Definition at line 131 of file SystemOfUnits.py.

◆ second

int python.SystemOfUnits.second = 1.e+9 *nanosecond

Definition at line 120 of file SystemOfUnits.py.

◆ sr

int python.SystemOfUnits.sr = steradian

Definition at line 113 of file SystemOfUnits.py.

◆ steradian

int python.SystemOfUnits.steradian = 1.

Definition at line 108 of file SystemOfUnits.py.

◆ teraelectronvolt

int python.SystemOfUnits.teraelectronvolt = 1.e+6*megaelectronvolt

Definition at line 148 of file SystemOfUnits.py.

◆ tesla

int python.SystemOfUnits.tesla = volt*second/meter2

Definition at line 228 of file SystemOfUnits.py.

◆ TeV

int python.SystemOfUnits.TeV = teraelectronvolt

Definition at line 158 of file SystemOfUnits.py.

◆ volt

int python.SystemOfUnits.volt = 1.e-6*megavolt

Definition at line 204 of file SystemOfUnits.py.

◆ watt

int python.SystemOfUnits.watt = joule/second

Definition at line 176 of file SystemOfUnits.py.

◆ weber

int python.SystemOfUnits.weber = volt*second

Definition at line 223 of file SystemOfUnits.py.