ATLAS Offline Software
Variables
python.SystemOfUnits Namespace Reference

Variables

float millimeter = 1.0
 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration # This software is distributed under the terms of the Apache version 2 licence, # copied verbatim in the file "LICENSE". More...
 
float millimeter2 = millimeter * millimeter
 
float millimeter3 = millimeter * millimeter * millimeter
 
float centimeter = 10.0 * millimeter
 
float centimeter2 = centimeter * centimeter
 
float centimeter3 = centimeter * centimeter * centimeter
 
float meter = 1000.0 * millimeter
 
float meter2 = meter * meter
 
float meter3 = meter * meter * meter
 
float kilometer = 1000.0 * meter
 
float kilometer2 = kilometer * kilometer
 
float kilometer3 = kilometer * kilometer * kilometer
 
float parsec = 3.0856775807e16 * meter
 
float micrometer = 1.0e-6 * meter
 
float nanometer = 1.0e-9 * meter
 
float angstrom = 1.0e-10 * meter
 
float fermi = 1.0e-15 * meter
 
float barn = 1.0e-28 * meter2
 
float millibarn = 1.0e-3 * barn
 
float microbarn = 1.0e-6 * barn
 
float nanobarn = 1.0e-9 * barn
 
float picobarn = 1.0e-12 * barn
 
float liter = 1.0e3 * centimeter3
 
float L = liter
 
float dL = 1.0e-1 * liter
 
float cL = 1.0e-2 * liter
 
float mL = 1.0e-3 * liter
 
float mm = millimeter
 
float mm2 = millimeter2
 
float mm3 = millimeter3
 
float cm = centimeter
 
float cm2 = centimeter2
 
float cm3 = centimeter3
 
float m = meter
 
float m2 = meter2
 
float m3 = meter3
 
float km = kilometer
 
float km2 = kilometer2
 
float km3 = kilometer3
 
float pc = parsec
 
float radian = 1.0
 
float milliradian = 1.0e-3 * radian
 
tuple degree = (3.14159265358979323846 / 180.0) * radian
 
float steradian = 1.0
 
float rad = radian
 
float mrad = milliradian
 
float sr = steradian
 
tuple deg = degree
 
float nanosecond = 1.0
 
float second = 1.0e9 * nanosecond
 
float millisecond = 1.0e-3 * second
 
float microsecond = 1.0e-6 * second
 
float picosecond = 1.0e-12 * second
 
float femtosecond = 1.0e-15 * second
 
float hertz = 1.0 / second
 
float kilohertz = 1.0e3 * hertz
 
float megahertz = 1.0e6 * hertz
 
float ns = nanosecond
 
float s = second
 
float ms = millisecond
 
float us = microsecond
 
float ps = picosecond
 
float eplus = 1.0
 
float e_SI = 1.602176634e-19
 
float coulomb = eplus / e_SI
 
float megaelectronvolt = 1.0
 
float electronvolt = 1.0e-6 * megaelectronvolt
 
float kiloelectronvolt = 1.0e-3 * megaelectronvolt
 
float gigaelectronvolt = 1.0e3 * megaelectronvolt
 
float teraelectronvolt = 1.0e6 * megaelectronvolt
 
float petaelectronvolt = 1.0e9 * megaelectronvolt
 
float joule = electronvolt / e_SI
 
float MeV = megaelectronvolt
 
float eV = electronvolt
 
float keV = kiloelectronvolt
 
float GeV = gigaelectronvolt
 
float TeV = teraelectronvolt
 
float PeV = petaelectronvolt
 
float kilogram = joule * second * second / (meter * meter)
 
float gram = 1.0e-3 * kilogram
 
float milligram = 1.0e-3 * gram
 
float kg = kilogram
 
float g = gram
 
float mg = milligram
 
float watt = joule / second
 
float newton = joule / meter
 
float hep_pascal = newton / m2
 
float pascal = hep_pascal
 
int bar = 100000 * pascal
 
int atmosphere = 101325 * pascal
 
float ampere = coulomb / second
 
float milliampere = 1.0e-3 * ampere
 
float microampere = 1.0e-6 * ampere
 
float nanoampere = 1.0e-9 * ampere
 
float megavolt = megaelectronvolt / eplus
 
float kilovolt = 1.0e-3 * megavolt
 
float volt = 1.0e-6 * megavolt
 
float ohm = volt / ampere
 
float farad = coulomb / volt
 
float millifarad = 1.0e-3 * farad
 
float microfarad = 1.0e-6 * farad
 
float nanofarad = 1.0e-9 * farad
 
float picofarad = 1.0e-12 * farad
 
float weber = volt * second
 
float tesla = volt * second / meter2
 
float gauss = 1.0e-4 * tesla
 
float kilogauss = 1.0e-1 * tesla
 
float henry = weber / ampere
 
float kelvin = 1.0
 
float mole = 1.0
 
float becquerel = 1.0 / second
 
float curie = 3.7e10 * becquerel
 
float kilobecquerel = 1.0e3 * becquerel
 
float megabecquerel = 1.0e6 * becquerel
 
float gigabecquerel = 1.0e9 * becquerel
 
float millicurie = 1.0e-3 * curie
 
float microcurie = 1.0e-6 * curie
 
float Bq = becquerel
 
float kBq = kilobecquerel
 
float MBq = megabecquerel
 
float GBq = gigabecquerel
 
float Ci = curie
 
float mCi = millicurie
 
float uCi = microcurie
 
float gray = joule / kilogram
 
float kilogray = 1.0e3 * gray
 
float milligray = 1.0e-3 * gray
 
float microgray = 1.0e-6 * gray
 
float candela = 1.0
 
float lumen = candela * steradian
 
float lux = lumen / meter2
 
float perCent = 0.01
 
float perThousand = 0.001
 
float perMillion = 0.000001
 

Variable Documentation

◆ ampere

float python.SystemOfUnits.ampere = coulomb / second

Definition at line 212 of file SystemOfUnits.py.

◆ angstrom

float python.SystemOfUnits.angstrom = 1.0e-10 * meter

Definition at line 82 of file SystemOfUnits.py.

◆ atmosphere

int python.SystemOfUnits.atmosphere = 101325 * pascal

Definition at line 207 of file SystemOfUnits.py.

◆ bar

int python.SystemOfUnits.bar = 100000 * pascal

Definition at line 206 of file SystemOfUnits.py.

◆ barn

float python.SystemOfUnits.barn = 1.0e-28 * meter2

Definition at line 85 of file SystemOfUnits.py.

◆ becquerel

float python.SystemOfUnits.becquerel = 1.0 / second

Definition at line 272 of file SystemOfUnits.py.

◆ Bq

float python.SystemOfUnits.Bq = becquerel

Definition at line 279 of file SystemOfUnits.py.

◆ candela

float python.SystemOfUnits.candela = 1.0

Definition at line 298 of file SystemOfUnits.py.

◆ centimeter

float python.SystemOfUnits.centimeter = 10.0 * millimeter

Definition at line 66 of file SystemOfUnits.py.

◆ centimeter2

float python.SystemOfUnits.centimeter2 = centimeter * centimeter

Definition at line 67 of file SystemOfUnits.py.

◆ centimeter3

float python.SystemOfUnits.centimeter3 = centimeter * centimeter * centimeter

Definition at line 68 of file SystemOfUnits.py.

◆ Ci

float python.SystemOfUnits.Ci = curie

Definition at line 283 of file SystemOfUnits.py.

◆ cL

float python.SystemOfUnits.cL = 1.0e-2 * liter

Definition at line 94 of file SystemOfUnits.py.

◆ cm

float python.SystemOfUnits.cm = centimeter

Definition at line 102 of file SystemOfUnits.py.

◆ cm2

float python.SystemOfUnits.cm2 = centimeter2

Definition at line 103 of file SystemOfUnits.py.

◆ cm3

float python.SystemOfUnits.cm3 = centimeter3

Definition at line 104 of file SystemOfUnits.py.

◆ coulomb

float python.SystemOfUnits.coulomb = eplus / e_SI

Definition at line 157 of file SystemOfUnits.py.

◆ curie

float python.SystemOfUnits.curie = 3.7e10 * becquerel

Definition at line 273 of file SystemOfUnits.py.

◆ deg

tuple python.SystemOfUnits.deg = degree

Definition at line 129 of file SystemOfUnits.py.

◆ degree

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

Definition at line 121 of file SystemOfUnits.py.

◆ dL

float python.SystemOfUnits.dL = 1.0e-1 * liter

Definition at line 93 of file SystemOfUnits.py.

◆ e_SI

float python.SystemOfUnits.e_SI = 1.602176634e-19

Definition at line 156 of file SystemOfUnits.py.

◆ electronvolt

float python.SystemOfUnits.electronvolt = 1.0e-6 * megaelectronvolt

Definition at line 163 of file SystemOfUnits.py.

◆ eplus

float python.SystemOfUnits.eplus = 1.0

Definition at line 155 of file SystemOfUnits.py.

◆ eV

float python.SystemOfUnits.eV = electronvolt

Definition at line 173 of file SystemOfUnits.py.

◆ farad

float python.SystemOfUnits.farad = coulomb / volt

Definition at line 234 of file SystemOfUnits.py.

◆ femtosecond

float python.SystemOfUnits.femtosecond = 1.0e-15 * second

Definition at line 139 of file SystemOfUnits.py.

◆ fermi

float python.SystemOfUnits.fermi = 1.0e-15 * meter

Definition at line 83 of file SystemOfUnits.py.

◆ g

float python.SystemOfUnits.g = gram

Definition at line 188 of file SystemOfUnits.py.

◆ gauss

float python.SystemOfUnits.gauss = 1.0e-4 * tesla

Definition at line 250 of file SystemOfUnits.py.

◆ GBq

float python.SystemOfUnits.GBq = gigabecquerel

Definition at line 282 of file SystemOfUnits.py.

◆ GeV

float python.SystemOfUnits.GeV = gigaelectronvolt

Definition at line 175 of file SystemOfUnits.py.

◆ gigabecquerel

float python.SystemOfUnits.gigabecquerel = 1.0e9 * becquerel

Definition at line 276 of file SystemOfUnits.py.

◆ gigaelectronvolt

float python.SystemOfUnits.gigaelectronvolt = 1.0e3 * megaelectronvolt

Definition at line 165 of file SystemOfUnits.py.

◆ gram

float python.SystemOfUnits.gram = 1.0e-3 * kilogram

Definition at line 183 of file SystemOfUnits.py.

◆ gray

float python.SystemOfUnits.gray = joule / kilogram

Definition at line 290 of file SystemOfUnits.py.

◆ henry

float python.SystemOfUnits.henry = weber / ampere

Definition at line 257 of file SystemOfUnits.py.

◆ hep_pascal

float python.SystemOfUnits.hep_pascal = newton / m2

Definition at line 204 of file SystemOfUnits.py.

◆ hertz

float python.SystemOfUnits.hertz = 1.0 / second

Definition at line 141 of file SystemOfUnits.py.

◆ joule

float python.SystemOfUnits.joule = electronvolt / e_SI

Definition at line 169 of file SystemOfUnits.py.

◆ kBq

float python.SystemOfUnits.kBq = kilobecquerel

Definition at line 280 of file SystemOfUnits.py.

◆ kelvin

float python.SystemOfUnits.kelvin = 1.0

Definition at line 262 of file SystemOfUnits.py.

◆ keV

float python.SystemOfUnits.keV = kiloelectronvolt

Definition at line 174 of file SystemOfUnits.py.

◆ kg

float python.SystemOfUnits.kg = kilogram

Definition at line 187 of file SystemOfUnits.py.

◆ kilobecquerel

float python.SystemOfUnits.kilobecquerel = 1.0e3 * becquerel

Definition at line 274 of file SystemOfUnits.py.

◆ kiloelectronvolt

float python.SystemOfUnits.kiloelectronvolt = 1.0e-3 * megaelectronvolt

Definition at line 164 of file SystemOfUnits.py.

◆ kilogauss

float python.SystemOfUnits.kilogauss = 1.0e-1 * tesla

Definition at line 251 of file SystemOfUnits.py.

◆ kilogram

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

Definition at line 182 of file SystemOfUnits.py.

◆ kilogray

float python.SystemOfUnits.kilogray = 1.0e3 * gray

Definition at line 291 of file SystemOfUnits.py.

◆ kilohertz

float python.SystemOfUnits.kilohertz = 1.0e3 * hertz

Definition at line 142 of file SystemOfUnits.py.

◆ kilometer

float python.SystemOfUnits.kilometer = 1000.0 * meter

Definition at line 74 of file SystemOfUnits.py.

◆ kilometer2

float python.SystemOfUnits.kilometer2 = kilometer * kilometer

Definition at line 75 of file SystemOfUnits.py.

◆ kilometer3

float python.SystemOfUnits.kilometer3 = kilometer * kilometer * kilometer

Definition at line 76 of file SystemOfUnits.py.

◆ kilovolt

float python.SystemOfUnits.kilovolt = 1.0e-3 * megavolt

Definition at line 221 of file SystemOfUnits.py.

◆ km

float python.SystemOfUnits.km = kilometer

Definition at line 110 of file SystemOfUnits.py.

◆ km2

float python.SystemOfUnits.km2 = kilometer2

Definition at line 111 of file SystemOfUnits.py.

◆ km3

float python.SystemOfUnits.km3 = kilometer3

Definition at line 112 of file SystemOfUnits.py.

◆ L

float python.SystemOfUnits.L = liter

Definition at line 92 of file SystemOfUnits.py.

◆ liter

float python.SystemOfUnits.liter = 1.0e3 * centimeter3

Definition at line 91 of file SystemOfUnits.py.

◆ lumen

float python.SystemOfUnits.lumen = candela * steradian

Definition at line 303 of file SystemOfUnits.py.

◆ lux

float python.SystemOfUnits.lux = lumen / meter2

Definition at line 308 of file SystemOfUnits.py.

◆ m

float python.SystemOfUnits.m = meter

Definition at line 106 of file SystemOfUnits.py.

◆ m2

float python.SystemOfUnits.m2 = meter2

Definition at line 107 of file SystemOfUnits.py.

◆ m3

float python.SystemOfUnits.m3 = meter3

Definition at line 108 of file SystemOfUnits.py.

◆ MBq

float python.SystemOfUnits.MBq = megabecquerel

Definition at line 281 of file SystemOfUnits.py.

◆ mCi

float python.SystemOfUnits.mCi = millicurie

Definition at line 284 of file SystemOfUnits.py.

◆ megabecquerel

float python.SystemOfUnits.megabecquerel = 1.0e6 * becquerel

Definition at line 275 of file SystemOfUnits.py.

◆ megaelectronvolt

float python.SystemOfUnits.megaelectronvolt = 1.0

Definition at line 162 of file SystemOfUnits.py.

◆ megahertz

float python.SystemOfUnits.megahertz = 1.0e6 * hertz

Definition at line 143 of file SystemOfUnits.py.

◆ megavolt

float python.SystemOfUnits.megavolt = megaelectronvolt / eplus

Definition at line 220 of file SystemOfUnits.py.

◆ meter

float python.SystemOfUnits.meter = 1000.0 * millimeter

Definition at line 70 of file SystemOfUnits.py.

◆ meter2

float python.SystemOfUnits.meter2 = meter * meter

Definition at line 71 of file SystemOfUnits.py.

◆ meter3

float python.SystemOfUnits.meter3 = meter * meter * meter

Definition at line 72 of file SystemOfUnits.py.

◆ MeV

float python.SystemOfUnits.MeV = megaelectronvolt

Definition at line 172 of file SystemOfUnits.py.

◆ mg

float python.SystemOfUnits.mg = milligram

Definition at line 189 of file SystemOfUnits.py.

◆ microampere

float python.SystemOfUnits.microampere = 1.0e-6 * ampere

Definition at line 214 of file SystemOfUnits.py.

◆ microbarn

float python.SystemOfUnits.microbarn = 1.0e-6 * barn

Definition at line 87 of file SystemOfUnits.py.

◆ microcurie

float python.SystemOfUnits.microcurie = 1.0e-6 * curie

Definition at line 278 of file SystemOfUnits.py.

◆ microfarad

float python.SystemOfUnits.microfarad = 1.0e-6 * farad

Definition at line 236 of file SystemOfUnits.py.

◆ microgray

float python.SystemOfUnits.microgray = 1.0e-6 * gray

Definition at line 293 of file SystemOfUnits.py.

◆ micrometer

float python.SystemOfUnits.micrometer = 1.0e-6 * meter

Definition at line 80 of file SystemOfUnits.py.

◆ microsecond

float python.SystemOfUnits.microsecond = 1.0e-6 * second

Definition at line 137 of file SystemOfUnits.py.

◆ milliampere

float python.SystemOfUnits.milliampere = 1.0e-3 * ampere

Definition at line 213 of file SystemOfUnits.py.

◆ millibarn

float python.SystemOfUnits.millibarn = 1.0e-3 * barn

Definition at line 86 of file SystemOfUnits.py.

◆ millicurie

float python.SystemOfUnits.millicurie = 1.0e-3 * curie

Definition at line 277 of file SystemOfUnits.py.

◆ millifarad

float python.SystemOfUnits.millifarad = 1.0e-3 * farad

Definition at line 235 of file SystemOfUnits.py.

◆ milligram

float python.SystemOfUnits.milligram = 1.0e-3 * gram

Definition at line 184 of file SystemOfUnits.py.

◆ milligray

float python.SystemOfUnits.milligray = 1.0e-3 * gray

Definition at line 292 of file SystemOfUnits.py.

◆ millimeter

float python.SystemOfUnits.millimeter = 1.0

Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration # This software is distributed under the terms of the Apache version 2 licence, # copied verbatim in the file "LICENSE".

# # In applying this licence, CERN does not waive the privileges and immunities # granted to it by virtue of its status as an Intergovernmental Organization # or submit itself to any jurisdiction. #

File: AthenaCommon/share/SystemOfUnits.py Author: Wim Lavrijsen (LBNL, WLavr.nosp@m.ijse.nosp@m.n@lbl.nosp@m..gov) Created: 01/21/04 Last: 06/20/25

Definition at line 62 of file SystemOfUnits.py.

◆ millimeter2

float python.SystemOfUnits.millimeter2 = millimeter * millimeter

Definition at line 63 of file SystemOfUnits.py.

◆ millimeter3

float python.SystemOfUnits.millimeter3 = millimeter * millimeter * millimeter

Definition at line 64 of file SystemOfUnits.py.

◆ milliradian

float python.SystemOfUnits.milliradian = 1.0e-3 * radian

Definition at line 120 of file SystemOfUnits.py.

◆ millisecond

float python.SystemOfUnits.millisecond = 1.0e-3 * second

Definition at line 136 of file SystemOfUnits.py.

◆ mL

float python.SystemOfUnits.mL = 1.0e-3 * liter

Definition at line 95 of file SystemOfUnits.py.

◆ mm

float python.SystemOfUnits.mm = millimeter

Definition at line 98 of file SystemOfUnits.py.

◆ mm2

float python.SystemOfUnits.mm2 = millimeter2

Definition at line 99 of file SystemOfUnits.py.

◆ mm3

float python.SystemOfUnits.mm3 = millimeter3

Definition at line 100 of file SystemOfUnits.py.

◆ mole

float python.SystemOfUnits.mole = 1.0

Definition at line 267 of file SystemOfUnits.py.

◆ mrad

float python.SystemOfUnits.mrad = milliradian

Definition at line 127 of file SystemOfUnits.py.

◆ ms

float python.SystemOfUnits.ms = millisecond

Definition at line 148 of file SystemOfUnits.py.

◆ nanoampere

float python.SystemOfUnits.nanoampere = 1.0e-9 * ampere

Definition at line 215 of file SystemOfUnits.py.

◆ nanobarn

float python.SystemOfUnits.nanobarn = 1.0e-9 * barn

Definition at line 88 of file SystemOfUnits.py.

◆ nanofarad

float python.SystemOfUnits.nanofarad = 1.0e-9 * farad

Definition at line 237 of file SystemOfUnits.py.

◆ nanometer

float python.SystemOfUnits.nanometer = 1.0e-9 * meter

Definition at line 81 of file SystemOfUnits.py.

◆ nanosecond

float python.SystemOfUnits.nanosecond = 1.0

Definition at line 134 of file SystemOfUnits.py.

◆ newton

float python.SystemOfUnits.newton = joule / meter

Definition at line 199 of file SystemOfUnits.py.

◆ ns

float python.SystemOfUnits.ns = nanosecond

Definition at line 146 of file SystemOfUnits.py.

◆ ohm

float python.SystemOfUnits.ohm = volt / ampere

Definition at line 228 of file SystemOfUnits.py.

◆ parsec

float python.SystemOfUnits.parsec = 3.0856775807e16 * meter

Definition at line 78 of file SystemOfUnits.py.

◆ pascal

float python.SystemOfUnits.pascal = hep_pascal

Definition at line 205 of file SystemOfUnits.py.

◆ pc

float python.SystemOfUnits.pc = parsec

Definition at line 114 of file SystemOfUnits.py.

◆ perCent

float python.SystemOfUnits.perCent = 0.01

Definition at line 313 of file SystemOfUnits.py.

◆ perMillion

float python.SystemOfUnits.perMillion = 0.000001

Definition at line 315 of file SystemOfUnits.py.

◆ perThousand

float python.SystemOfUnits.perThousand = 0.001

Definition at line 314 of file SystemOfUnits.py.

◆ petaelectronvolt

float python.SystemOfUnits.petaelectronvolt = 1.0e9 * megaelectronvolt

Definition at line 167 of file SystemOfUnits.py.

◆ PeV

float python.SystemOfUnits.PeV = petaelectronvolt

Definition at line 177 of file SystemOfUnits.py.

◆ picobarn

float python.SystemOfUnits.picobarn = 1.0e-12 * barn

Definition at line 89 of file SystemOfUnits.py.

◆ picofarad

float python.SystemOfUnits.picofarad = 1.0e-12 * farad

Definition at line 238 of file SystemOfUnits.py.

◆ picosecond

float python.SystemOfUnits.picosecond = 1.0e-12 * second

Definition at line 138 of file SystemOfUnits.py.

◆ ps

float python.SystemOfUnits.ps = picosecond

Definition at line 150 of file SystemOfUnits.py.

◆ rad

float python.SystemOfUnits.rad = radian

Definition at line 126 of file SystemOfUnits.py.

◆ radian

float python.SystemOfUnits.radian = 1.0

Definition at line 119 of file SystemOfUnits.py.

◆ s

float python.SystemOfUnits.s = second

Definition at line 147 of file SystemOfUnits.py.

◆ second

float python.SystemOfUnits.second = 1.0e9 * nanosecond

Definition at line 135 of file SystemOfUnits.py.

◆ sr

float python.SystemOfUnits.sr = steradian

Definition at line 128 of file SystemOfUnits.py.

◆ steradian

float python.SystemOfUnits.steradian = 1.0

Definition at line 123 of file SystemOfUnits.py.

◆ teraelectronvolt

float python.SystemOfUnits.teraelectronvolt = 1.0e6 * megaelectronvolt

Definition at line 166 of file SystemOfUnits.py.

◆ tesla

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

Definition at line 248 of file SystemOfUnits.py.

◆ TeV

float python.SystemOfUnits.TeV = teraelectronvolt

Definition at line 176 of file SystemOfUnits.py.

◆ uCi

float python.SystemOfUnits.uCi = microcurie

Definition at line 285 of file SystemOfUnits.py.

◆ us

float python.SystemOfUnits.us = microsecond

Definition at line 149 of file SystemOfUnits.py.

◆ volt

float python.SystemOfUnits.volt = 1.0e-6 * megavolt

Definition at line 222 of file SystemOfUnits.py.

◆ watt

float python.SystemOfUnits.watt = joule / second

Definition at line 194 of file SystemOfUnits.py.

◆ weber

float python.SystemOfUnits.weber = volt * second

Definition at line 243 of file SystemOfUnits.py.