Geant4_10
Variables
python.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

python.hepunit.alpha_rcl2 = fine_structure_const*classic_electr_radius\

Definition at line 292 of file hepunit.py.

python.hepunit.ampere = coulomb/second

Definition at line 156 of file hepunit.py.

python.hepunit.amu = amu_c2/c_squared

Definition at line 278 of file hepunit.py.

float python.hepunit.amu_c2 = 931.49432

Definition at line 277 of file hepunit.py.

int python.hepunit.angstrom = 1

Definition at line 36 of file hepunit.py.

int python.hepunit.atmosphere = 101325

Definition at line 151 of file hepunit.py.

float python.hepunit.Avogadro = 6.0221367e+23

Definition at line 253 of file hepunit.py.

int python.hepunit.bar = 100000

Definition at line 150 of file hepunit.py.

int python.hepunit.barn = 1

Definition at line 39 of file hepunit.py.

int python.hepunit.becquerel = 1

Definition at line 213 of file hepunit.py.

python.hepunit.Bohr_radius = electron_Compton_length/fine_structure_const

Definition at line 290 of file hepunit.py.

float python.hepunit.c_light = 2.99792458e+8

Definition at line 257 of file hepunit.py.

python.hepunit.c_squared = c_light*c_light

Definition at line 258 of file hepunit.py.

int python.hepunit.candela = 1

Definition at line 224 of file hepunit.py.

int python.hepunit.centimeter = 10

Definition at line 20 of file hepunit.py.

python.hepunit.centimeter2 = centimeter*centimeter

Definition at line 21 of file hepunit.py.

python.hepunit.centimeter3 = centimeter*centimeter*centimeter

Definition at line 22 of file hepunit.py.

python.hepunit.classic_electr_radius = elm_coupling/electron_mass_c2

Definition at line 288 of file hepunit.py.

python.hepunit.cm = centimeter

Definition at line 50 of file hepunit.py.

python.hepunit.cm2 = centimeter2

Definition at line 51 of file hepunit.py.

python.hepunit.cm3 = centimeter3

Definition at line 52 of file hepunit.py.

python.hepunit.coulomb = eplus/e_SI

Definition at line 102 of file hepunit.py.

float python.hepunit.curie = 3.7e+10

Definition at line 214 of file hepunit.py.

python.hepunit.deg = degree

Definition at line 77 of file hepunit.py.

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

Definition at line 69 of file hepunit.py.

float python.hepunit.e_SI = 1.60217733e-19

Definition at line 101 of file hepunit.py.

python.hepunit.e_squared = eplus*eplus

Definition at line 270 of file hepunit.py.

python.hepunit.electron_charge = -eplus

Definition at line 269 of file hepunit.py.

python.hepunit.electron_Compton_length = hbarc/electron_mass_c2

Definition at line 289 of file hepunit.py.

float python.hepunit.electron_mass_c2 = 0.51099906

Definition at line 274 of file hepunit.py.

int python.hepunit.electronvolt = 1

Definition at line 108 of file hepunit.py.

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

Definition at line 286 of file hepunit.py.

int python.hepunit.eplus = 1

Definition at line 100 of file hepunit.py.

int python.hepunit.epsilon0 = 1

Definition at line 283 of file hepunit.py.

python.hepunit.eV = electronvolt

Definition at line 118 of file hepunit.py.

python.hepunit.farad = coulomb/volt

Definition at line 176 of file hepunit.py.

int python.hepunit.fermi = 1

Definition at line 37 of file hepunit.py.

python.hepunit.fine_structure_const = elm_coupling/hbarc

Definition at line 287 of file hepunit.py.

python.hepunit.g = gram

Definition at line 133 of file hepunit.py.

int python.hepunit.gauss = 1

Definition at line 192 of file hepunit.py.

python.hepunit.GeV = gigaelectronvolt

Definition at line 120 of file hepunit.py.

int python.hepunit.gigaelectronvolt = 1

Definition at line 110 of file hepunit.py.

int python.hepunit.gram = 1

Definition at line 128 of file hepunit.py.

python.hepunit.gray = joule/kilogram

Definition at line 219 of file hepunit.py.

float python.hepunit.h_Planck = 6.6260755e-34

Definition at line 263 of file hepunit.py.

int python.hepunit.halfpi = pi/2

Definition at line 249 of file hepunit.py.

python.hepunit.hbar_Planck = h_Planck/twopi

Definition at line 264 of file hepunit.py.

python.hepunit.hbarc = hbar_Planck*c_light

Definition at line 265 of file hepunit.py.

python.hepunit.hbarc_squared = hbarc*hbarc

Definition at line 266 of file hepunit.py.

python.hepunit.henry = weber/ampere

Definition at line 198 of file hepunit.py.

int python.hepunit.hertz = 1

Definition at line 88 of file hepunit.py.

python.hepunit.joule = electronvolt/e_SI

Definition at line 114 of file hepunit.py.

float python.hepunit.k_Boltzmann = 8.617385e-11

Definition at line 299 of file hepunit.py.

int python.hepunit.kelvin = 1

Definition at line 203 of file hepunit.py.

python.hepunit.keV = kiloelectronvolt

Definition at line 119 of file hepunit.py.

python.hepunit.kg = kilogram

Definition at line 132 of file hepunit.py.

int python.hepunit.kGasThreshold = 10

Definition at line 304 of file hepunit.py.

int python.hepunit.kiloelectronvolt = 1

Definition at line 109 of file hepunit.py.

int python.hepunit.kilogauss = 1

Definition at line 193 of file hepunit.py.

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

Definition at line 127 of file hepunit.py.

int python.hepunit.kilohertz = 1

Definition at line 89 of file hepunit.py.

int python.hepunit.kilometer = 1000

Definition at line 28 of file hepunit.py.

python.hepunit.kilometer2 = kilometer*kilometer

Definition at line 29 of file hepunit.py.

python.hepunit.kilometer3 = kilometer*kilometer*kilometer

Definition at line 30 of file hepunit.py.

int python.hepunit.kilovolt = 1

Definition at line 165 of file hepunit.py.

python.hepunit.km = kilometer

Definition at line 58 of file hepunit.py.

python.hepunit.km2 = kilometer2

Definition at line 59 of file hepunit.py.

python.hepunit.km3 = kilometer3

Definition at line 60 of file hepunit.py.

python.hepunit.lumen = candela*steradian

Definition at line 229 of file hepunit.py.

python.hepunit.lux = lumen/meter2

Definition at line 234 of file hepunit.py.

python.hepunit.m = meter

Definition at line 54 of file hepunit.py.

python.hepunit.m2 = meter2

Definition at line 55 of file hepunit.py.

python.hepunit.m3 = meter3

Definition at line 56 of file hepunit.py.

int python.hepunit.megaelectronvolt = 1

Definition at line 107 of file hepunit.py.

int python.hepunit.megahertz = 1

Definition at line 90 of file hepunit.py.

python.hepunit.megavolt = megaelectronvolt/eplus

Definition at line 164 of file hepunit.py.

int python.hepunit.meter = 1000

Definition at line 24 of file hepunit.py.

python.hepunit.meter2 = meter*meter

Definition at line 25 of file hepunit.py.

python.hepunit.meter3 = meter*meter*meter

Definition at line 26 of file hepunit.py.

python.hepunit.MeV = megaelectronvolt

Definition at line 117 of file hepunit.py.

python.hepunit.mg = milligram

Definition at line 134 of file hepunit.py.

int python.hepunit.microampere = 1

Definition at line 158 of file hepunit.py.

int python.hepunit.microbarn = 1

Definition at line 41 of file hepunit.py.

int python.hepunit.microfarad = 1

Definition at line 178 of file hepunit.py.

int python.hepunit.micrometer = 1

Definition at line 34 of file hepunit.py.

int python.hepunit.microsecond = 1

Definition at line 85 of file hepunit.py.

int python.hepunit.milliampere = 1

Definition at line 157 of file hepunit.py.

int python.hepunit.millibarn = 1

Definition at line 40 of file hepunit.py.

int python.hepunit.millifarad = 1

Definition at line 177 of file hepunit.py.

int python.hepunit.milligram = 1

Definition at line 129 of file hepunit.py.

int python.hepunit.millimeter = 1

Definition at line 16 of file hepunit.py.

python.hepunit.millimeter2 = millimeter*millimeter

Definition at line 17 of file hepunit.py.

python.hepunit.millimeter3 = millimeter*millimeter*millimeter

Definition at line 18 of file hepunit.py.

int python.hepunit.milliradian = 1

Definition at line 68 of file hepunit.py.

int python.hepunit.millisecond = 1

Definition at line 84 of file hepunit.py.

python.hepunit.mm = millimeter

Definition at line 46 of file hepunit.py.

python.hepunit.mm2 = millimeter2

Definition at line 47 of file hepunit.py.

python.hepunit.mm3 = millimeter3

Definition at line 48 of file hepunit.py.

int python.hepunit.mole = 1

Definition at line 208 of file hepunit.py.

python.hepunit.mrad = milliradian

Definition at line 75 of file hepunit.py.

python.hepunit.ms = millisecond

Definition at line 95 of file hepunit.py.

int python.hepunit.mu0 = 4

Definition at line 282 of file hepunit.py.

int python.hepunit.nanoampere = 1

Definition at line 159 of file hepunit.py.

int python.hepunit.nanobarn = 1

Definition at line 42 of file hepunit.py.

int python.hepunit.nanofarad = 1

Definition at line 179 of file hepunit.py.

int python.hepunit.nanometer = 1

Definition at line 35 of file hepunit.py.

int python.hepunit.nanosecond = 1

Definition at line 82 of file hepunit.py.

float python.hepunit.neutron_mass_c2 = 939.56563

Definition at line 276 of file hepunit.py.

python.hepunit.newton = joule/meter

Definition at line 144 of file hepunit.py.

python.hepunit.ns = nanosecond

Definition at line 93 of file hepunit.py.

python.hepunit.ohm = volt/ampere

Definition at line 171 of file hepunit.py.

float python.hepunit.parsec = 3.0856775807e+16

Definition at line 32 of file hepunit.py.

python.hepunit.pascal = newton/m2

Definition at line 149 of file hepunit.py.

python.hepunit.pc = parsec

Definition at line 62 of file hepunit.py.

float python.hepunit.perCent = 0.01

Definition at line 239 of file hepunit.py.

float python.hepunit.perMillion = 0.000001

Definition at line 241 of file hepunit.py.

float python.hepunit.perThousand = 0.001

Definition at line 240 of file hepunit.py.

int python.hepunit.petaelectronvolt = 1

Definition at line 112 of file hepunit.py.

python.hepunit.PeV = petaelectronvolt

Definition at line 122 of file hepunit.py.

float python.hepunit.pi = 3.14159265358979323846

Definition at line 247 of file hepunit.py.

python.hepunit.pi2 = pi*pi

Definition at line 250 of file hepunit.py.

int python.hepunit.picobarn = 1

Definition at line 43 of file hepunit.py.

int python.hepunit.picofarad = 1

Definition at line 180 of file hepunit.py.

int python.hepunit.picosecond = 1

Definition at line 86 of file hepunit.py.

float python.hepunit.proton_mass_c2 = 938.27231

Definition at line 275 of file hepunit.py.

python.hepunit.rad = radian

Definition at line 74 of file hepunit.py.

int python.hepunit.radian = 1

Definition at line 67 of file hepunit.py.

python.hepunit.s = second

Definition at line 94 of file hepunit.py.

int python.hepunit.second = 1

Definition at line 83 of file hepunit.py.

python.hepunit.sr = steradian

Definition at line 76 of file hepunit.py.

int python.hepunit.steradian = 1

Definition at line 71 of file hepunit.py.

int python.hepunit.STP_Pressure = 1

Definition at line 303 of file hepunit.py.

float python.hepunit.STP_Temperature = 273.15

Definition at line 302 of file hepunit.py.

int python.hepunit.teraelectronvolt = 1

Definition at line 111 of file hepunit.py.

python.hepunit.tesla = volt*second/meter2

Definition at line 190 of file hepunit.py.

python.hepunit.TeV = teraelectronvolt

Definition at line 121 of file hepunit.py.

int python.hepunit.twopi = 2

Definition at line 248 of file hepunit.py.

python.hepunit.twopi_mc2_rcl2 = twopi*electron_mass_c2\

Definition at line 294 of file hepunit.py.

int python.hepunit.universe_mean_density = 1

Definition at line 307 of file hepunit.py.

int python.hepunit.volt = 1

Definition at line 166 of file hepunit.py.

python.hepunit.watt = joule/second

Definition at line 139 of file hepunit.py.

python.hepunit.weber = volt*second

Definition at line 185 of file hepunit.py.