Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Variables
python3.hepunit Namespace Reference

Variables

int millimeter = 1
 
 millimeter2 = millimeter*millimeter
 
 millimeter3 = millimeter*millimeter*millimeter
 
int centimeter = 10
 
 centimeter2 = centimeter*centimeter
 
 centimeter3 = centimeter*centimeter*centimeter
 
int meter = 1000
 
 meter2 = meter*meter
 
 meter3 = meter*meter*meter
 
int kilometer = 1000
 
 kilometer2 = kilometer*kilometer
 
 kilometer3 = kilometer*kilometer*kilometer
 
float parsec = 3.0856775807e+16
 
int micrometer = 1
 
int nanometer = 1
 
int angstrom = 1
 
int fermi = 1
 
int barn = 1
 
int millibarn = 1
 
int microbarn = 1
 
int nanobarn = 1
 
int picobarn = 1
 
 mm = millimeter
 
 mm2 = millimeter2
 
 mm3 = millimeter3
 
 cm = centimeter
 
 cm2 = centimeter2
 
 cm3 = centimeter3
 
 m = meter
 
 m2 = meter2
 
 m3 = meter3
 
 km = kilometer
 
 km2 = kilometer2
 
 km3 = kilometer3
 
 pc = parsec
 
int radian = 1
 
int milliradian = 1
 
tuple degree = (3.14159265358979323846/180.0)
 
int steradian = 1
 
 rad = radian
 
 mrad = milliradian
 
 sr = steradian
 
 deg = degree
 
int nanosecond = 1
 
int second = 1
 
int millisecond = 1
 
int microsecond = 1
 
int picosecond = 1
 
int hertz = 1
 
int kilohertz = 1
 
int megahertz = 1
 
 ns = nanosecond
 
 s = second
 
 ms = millisecond
 
int eplus = 1
 
float e_SI = 1.60217733e-19
 
 coulomb = eplus/e_SI
 
int megaelectronvolt = 1
 
int electronvolt = 1
 
int kiloelectronvolt = 1
 
int gigaelectronvolt = 1
 
int teraelectronvolt = 1
 
int petaelectronvolt = 1
 
 joule = electronvolt/e_SI
 
 MeV = megaelectronvolt
 
 eV = electronvolt
 
 keV = kiloelectronvolt
 
 GeV = gigaelectronvolt
 
 TeV = teraelectronvolt
 
 PeV = petaelectronvolt
 
tuple kilogram = joule*second*second/(meter*meter)
 
int gram = 1
 
int milligram = 1
 
 kg = kilogram
 
 g = gram
 
 mg = milligram
 
 watt = joule/second
 
 newton = joule/meter
 
 pascal = newton/m2
 
int bar = 100000
 
int atmosphere = 101325
 
 ampere = coulomb/second
 
int milliampere = 1
 
int microampere = 1
 
int nanoampere = 1
 
 megavolt = megaelectronvolt/eplus
 
int kilovolt = 1
 
int volt = 1
 
 ohm = volt/ampere
 
 farad = coulomb/volt
 
int millifarad = 1
 
int microfarad = 1
 
int nanofarad = 1
 
int picofarad = 1
 
 weber = volt*second
 
 tesla = volt*second/meter2
 
int gauss = 1
 
int kilogauss = 1
 
 henry = weber/ampere
 
int kelvin = 1
 
int mole = 1
 
int becquerel = 1
 
float curie = 3.7e+10
 
 gray = joule/kilogram
 
int candela = 1
 
 lumen = candela*steradian
 
 lux = lumen/meter2
 
float perCent = 0.01
 
float perThousand = 0.001
 
float perMillion = 0.000001
 
float pi = 3.14159265358979323846
 
int twopi = 2
 
int halfpi = pi/2
 
 pi2 = pi*pi
 
float Avogadro = 6.0221367e+23
 
float c_light = 2.99792458e+8
 
 c_squared = c_light*c_light
 
float h_Planck = 6.6260755e-34
 
 hbar_Planck = h_Planck/twopi
 
 hbarc = hbar_Planck*c_light
 
 hbarc_squared = hbarc*hbarc
 
 electron_charge = -eplus
 
 e_squared = eplus*eplus
 
float electron_mass_c2 = 0.51099906
 
float proton_mass_c2 = 938.27231
 
float neutron_mass_c2 = 939.56563
 
float amu_c2 = 931.49432
 
 amu = amu_c2/c_squared
 
int mu0 = 4
 
int epsilon0 = 1
 
tuple elm_coupling = e_squared/(4*pi*epsilon0)
 
 fine_structure_const = elm_coupling/hbarc
 
 classic_electr_radius = elm_coupling/electron_mass_c2
 
 electron_Compton_length = hbarc/electron_mass_c2
 
 Bohr_radius = electron_Compton_length/fine_structure_const
 
 alpha_rcl2 = fine_structure_const*classic_electr_radius\
 
 twopi_mc2_rcl2 = twopi*electron_mass_c2\
 
float k_Boltzmann = 8.617385e-11
 
float STP_Temperature = 273.15
 
int STP_Pressure = 1
 
int kGasThreshold = 10
 
int universe_mean_density = 1
 

Detailed Description

# ==================================================================
#   Python module
#
#   This module defines physical units and constants used in HEP,
#   which are imported from CLHEP library.
#
#                                              Q, 2005
# ==================================================================

Variable Documentation

python3.hepunit.alpha_rcl2 = fine_structure_const*classic_electr_radius\

Definition at line 292 of file /hepunit.py.

python3.hepunit.ampere = coulomb/second

Definition at line 156 of file /hepunit.py.

python3.hepunit.amu = amu_c2/c_squared

Definition at line 278 of file /hepunit.py.

float python3.hepunit.amu_c2 = 931.49432

Definition at line 277 of file /hepunit.py.

int python3.hepunit.angstrom = 1

Definition at line 36 of file /hepunit.py.

int python3.hepunit.atmosphere = 101325

Definition at line 151 of file /hepunit.py.

float python3.hepunit.Avogadro = 6.0221367e+23

Definition at line 253 of file /hepunit.py.

int python3.hepunit.bar = 100000

Definition at line 150 of file /hepunit.py.

int python3.hepunit.barn = 1

Definition at line 39 of file /hepunit.py.

int python3.hepunit.becquerel = 1

Definition at line 213 of file /hepunit.py.

python3.hepunit.Bohr_radius = electron_Compton_length/fine_structure_const

Definition at line 290 of file /hepunit.py.

float python3.hepunit.c_light = 2.99792458e+8

Definition at line 257 of file /hepunit.py.

python3.hepunit.c_squared = c_light*c_light

Definition at line 258 of file /hepunit.py.

int python3.hepunit.candela = 1

Definition at line 224 of file /hepunit.py.

int python3.hepunit.centimeter = 10

Definition at line 20 of file /hepunit.py.

python3.hepunit.centimeter2 = centimeter*centimeter

Definition at line 21 of file /hepunit.py.

python3.hepunit.centimeter3 = centimeter*centimeter*centimeter

Definition at line 22 of file /hepunit.py.

python3.hepunit.classic_electr_radius = elm_coupling/electron_mass_c2

Definition at line 288 of file /hepunit.py.

python3.hepunit.cm = centimeter

Definition at line 50 of file /hepunit.py.

python3.hepunit.cm2 = centimeter2

Definition at line 51 of file /hepunit.py.

python3.hepunit.cm3 = centimeter3

Definition at line 52 of file /hepunit.py.

python3.hepunit.coulomb = eplus/e_SI

Definition at line 102 of file /hepunit.py.

float python3.hepunit.curie = 3.7e+10

Definition at line 214 of file /hepunit.py.

python3.hepunit.deg = degree

Definition at line 77 of file /hepunit.py.

tuple python3.hepunit.degree = (3.14159265358979323846/180.0)

Definition at line 69 of file /hepunit.py.

float python3.hepunit.e_SI = 1.60217733e-19

Definition at line 101 of file /hepunit.py.

python3.hepunit.e_squared = eplus*eplus

Definition at line 270 of file /hepunit.py.

python3.hepunit.electron_charge = -eplus

Definition at line 269 of file /hepunit.py.

python3.hepunit.electron_Compton_length = hbarc/electron_mass_c2

Definition at line 289 of file /hepunit.py.

float python3.hepunit.electron_mass_c2 = 0.51099906

Definition at line 274 of file /hepunit.py.

int python3.hepunit.electronvolt = 1

Definition at line 108 of file /hepunit.py.

tuple python3.hepunit.elm_coupling = e_squared/(4*pi*epsilon0)

Definition at line 286 of file /hepunit.py.

int python3.hepunit.eplus = 1

Definition at line 100 of file /hepunit.py.

int python3.hepunit.epsilon0 = 1

Definition at line 283 of file /hepunit.py.

python3.hepunit.eV = electronvolt

Definition at line 118 of file /hepunit.py.

python3.hepunit.farad = coulomb/volt

Definition at line 176 of file /hepunit.py.

int python3.hepunit.fermi = 1

Definition at line 37 of file /hepunit.py.

python3.hepunit.fine_structure_const = elm_coupling/hbarc

Definition at line 287 of file /hepunit.py.

python3.hepunit.g = gram

Definition at line 133 of file /hepunit.py.

int python3.hepunit.gauss = 1

Definition at line 192 of file /hepunit.py.

python3.hepunit.GeV = gigaelectronvolt

Definition at line 120 of file /hepunit.py.

int python3.hepunit.gigaelectronvolt = 1

Definition at line 110 of file /hepunit.py.

int python3.hepunit.gram = 1

Definition at line 128 of file /hepunit.py.

python3.hepunit.gray = joule/kilogram

Definition at line 219 of file /hepunit.py.

float python3.hepunit.h_Planck = 6.6260755e-34

Definition at line 263 of file /hepunit.py.

int python3.hepunit.halfpi = pi/2

Definition at line 249 of file /hepunit.py.

python3.hepunit.hbar_Planck = h_Planck/twopi

Definition at line 264 of file /hepunit.py.

python3.hepunit.hbarc = hbar_Planck*c_light

Definition at line 265 of file /hepunit.py.

python3.hepunit.hbarc_squared = hbarc*hbarc

Definition at line 266 of file /hepunit.py.

python3.hepunit.henry = weber/ampere

Definition at line 198 of file /hepunit.py.

int python3.hepunit.hertz = 1

Definition at line 88 of file /hepunit.py.

python3.hepunit.joule = electronvolt/e_SI

Definition at line 114 of file /hepunit.py.

float python3.hepunit.k_Boltzmann = 8.617385e-11

Definition at line 299 of file /hepunit.py.

int python3.hepunit.kelvin = 1

Definition at line 203 of file /hepunit.py.

python3.hepunit.keV = kiloelectronvolt

Definition at line 119 of file /hepunit.py.

python3.hepunit.kg = kilogram

Definition at line 132 of file /hepunit.py.

int python3.hepunit.kGasThreshold = 10

Definition at line 304 of file /hepunit.py.

int python3.hepunit.kiloelectronvolt = 1

Definition at line 109 of file /hepunit.py.

int python3.hepunit.kilogauss = 1

Definition at line 193 of file /hepunit.py.

tuple python3.hepunit.kilogram = joule*second*second/(meter*meter)

Definition at line 127 of file /hepunit.py.

int python3.hepunit.kilohertz = 1

Definition at line 89 of file /hepunit.py.

int python3.hepunit.kilometer = 1000

Definition at line 28 of file /hepunit.py.

python3.hepunit.kilometer2 = kilometer*kilometer

Definition at line 29 of file /hepunit.py.

python3.hepunit.kilometer3 = kilometer*kilometer*kilometer

Definition at line 30 of file /hepunit.py.

int python3.hepunit.kilovolt = 1

Definition at line 165 of file /hepunit.py.

python3.hepunit.km = kilometer

Definition at line 58 of file /hepunit.py.

python3.hepunit.km2 = kilometer2

Definition at line 59 of file /hepunit.py.

python3.hepunit.km3 = kilometer3

Definition at line 60 of file /hepunit.py.

python3.hepunit.lumen = candela*steradian

Definition at line 229 of file /hepunit.py.

python3.hepunit.lux = lumen/meter2

Definition at line 234 of file /hepunit.py.

python3.hepunit.m = meter

Definition at line 54 of file /hepunit.py.

python3.hepunit.m2 = meter2

Definition at line 55 of file /hepunit.py.

python3.hepunit.m3 = meter3

Definition at line 56 of file /hepunit.py.

int python3.hepunit.megaelectronvolt = 1

Definition at line 107 of file /hepunit.py.

int python3.hepunit.megahertz = 1

Definition at line 90 of file /hepunit.py.

python3.hepunit.megavolt = megaelectronvolt/eplus

Definition at line 164 of file /hepunit.py.

int python3.hepunit.meter = 1000

Definition at line 24 of file /hepunit.py.

python3.hepunit.meter2 = meter*meter

Definition at line 25 of file /hepunit.py.

python3.hepunit.meter3 = meter*meter*meter

Definition at line 26 of file /hepunit.py.

python3.hepunit.MeV = megaelectronvolt

Definition at line 117 of file /hepunit.py.

python3.hepunit.mg = milligram

Definition at line 134 of file /hepunit.py.

int python3.hepunit.microampere = 1

Definition at line 158 of file /hepunit.py.

int python3.hepunit.microbarn = 1

Definition at line 41 of file /hepunit.py.

int python3.hepunit.microfarad = 1

Definition at line 178 of file /hepunit.py.

int python3.hepunit.micrometer = 1

Definition at line 34 of file /hepunit.py.

int python3.hepunit.microsecond = 1

Definition at line 85 of file /hepunit.py.

int python3.hepunit.milliampere = 1

Definition at line 157 of file /hepunit.py.

int python3.hepunit.millibarn = 1

Definition at line 40 of file /hepunit.py.

int python3.hepunit.millifarad = 1

Definition at line 177 of file /hepunit.py.

int python3.hepunit.milligram = 1

Definition at line 129 of file /hepunit.py.

int python3.hepunit.millimeter = 1

Definition at line 16 of file /hepunit.py.

python3.hepunit.millimeter2 = millimeter*millimeter

Definition at line 17 of file /hepunit.py.

python3.hepunit.millimeter3 = millimeter*millimeter*millimeter

Definition at line 18 of file /hepunit.py.

int python3.hepunit.milliradian = 1

Definition at line 68 of file /hepunit.py.

int python3.hepunit.millisecond = 1

Definition at line 84 of file /hepunit.py.

python3.hepunit.mm = millimeter

Definition at line 46 of file /hepunit.py.

python3.hepunit.mm2 = millimeter2

Definition at line 47 of file /hepunit.py.

python3.hepunit.mm3 = millimeter3

Definition at line 48 of file /hepunit.py.

int python3.hepunit.mole = 1

Definition at line 208 of file /hepunit.py.

python3.hepunit.mrad = milliradian

Definition at line 75 of file /hepunit.py.

python3.hepunit.ms = millisecond

Definition at line 95 of file /hepunit.py.

int python3.hepunit.mu0 = 4

Definition at line 282 of file /hepunit.py.

int python3.hepunit.nanoampere = 1

Definition at line 159 of file /hepunit.py.

int python3.hepunit.nanobarn = 1

Definition at line 42 of file /hepunit.py.

int python3.hepunit.nanofarad = 1

Definition at line 179 of file /hepunit.py.

int python3.hepunit.nanometer = 1

Definition at line 35 of file /hepunit.py.

int python3.hepunit.nanosecond = 1

Definition at line 82 of file /hepunit.py.

float python3.hepunit.neutron_mass_c2 = 939.56563

Definition at line 276 of file /hepunit.py.

python3.hepunit.newton = joule/meter

Definition at line 144 of file /hepunit.py.

python3.hepunit.ns = nanosecond

Definition at line 93 of file /hepunit.py.

python3.hepunit.ohm = volt/ampere

Definition at line 171 of file /hepunit.py.

float python3.hepunit.parsec = 3.0856775807e+16

Definition at line 32 of file /hepunit.py.

python3.hepunit.pascal = newton/m2

Definition at line 149 of file /hepunit.py.

python3.hepunit.pc = parsec

Definition at line 62 of file /hepunit.py.

float python3.hepunit.perCent = 0.01

Definition at line 239 of file /hepunit.py.

float python3.hepunit.perMillion = 0.000001

Definition at line 241 of file /hepunit.py.

float python3.hepunit.perThousand = 0.001

Definition at line 240 of file /hepunit.py.

int python3.hepunit.petaelectronvolt = 1

Definition at line 112 of file /hepunit.py.

python3.hepunit.PeV = petaelectronvolt

Definition at line 122 of file /hepunit.py.

float python3.hepunit.pi = 3.14159265358979323846

Definition at line 247 of file /hepunit.py.

python3.hepunit.pi2 = pi*pi

Definition at line 250 of file /hepunit.py.

int python3.hepunit.picobarn = 1

Definition at line 43 of file /hepunit.py.

int python3.hepunit.picofarad = 1

Definition at line 180 of file /hepunit.py.

int python3.hepunit.picosecond = 1

Definition at line 86 of file /hepunit.py.

float python3.hepunit.proton_mass_c2 = 938.27231

Definition at line 275 of file /hepunit.py.

python3.hepunit.rad = radian

Definition at line 74 of file /hepunit.py.

int python3.hepunit.radian = 1

Definition at line 67 of file /hepunit.py.

python3.hepunit.s = second

Definition at line 94 of file /hepunit.py.

int python3.hepunit.second = 1

Definition at line 83 of file /hepunit.py.

python3.hepunit.sr = steradian

Definition at line 76 of file /hepunit.py.

int python3.hepunit.steradian = 1

Definition at line 71 of file /hepunit.py.

int python3.hepunit.STP_Pressure = 1

Definition at line 303 of file /hepunit.py.

float python3.hepunit.STP_Temperature = 273.15

Definition at line 302 of file /hepunit.py.

int python3.hepunit.teraelectronvolt = 1

Definition at line 111 of file /hepunit.py.

python3.hepunit.tesla = volt*second/meter2

Definition at line 190 of file /hepunit.py.

python3.hepunit.TeV = teraelectronvolt

Definition at line 121 of file /hepunit.py.

int python3.hepunit.twopi = 2

Definition at line 248 of file /hepunit.py.

python3.hepunit.twopi_mc2_rcl2 = twopi*electron_mass_c2\

Definition at line 294 of file /hepunit.py.

int python3.hepunit.universe_mean_density = 1

Definition at line 307 of file /hepunit.py.

int python3.hepunit.volt = 1

Definition at line 166 of file /hepunit.py.

python3.hepunit.watt = joule/second

Definition at line 139 of file /hepunit.py.

python3.hepunit.weber = volt*second

Definition at line 185 of file /hepunit.py.