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