Geant4_10
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
source
source
externals
clhep
include
CLHEP
Units
PhysicalConstants.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
// $Id:$
3
// ----------------------------------------------------------------------
4
// HEP coherent Physical Constants
5
//
6
// This file has been provided by Geant4 (simulation toolkit for HEP).
7
//
8
// The basic units are :
9
// millimeter
10
// nanosecond
11
// Mega electron Volt
12
// positon charge
13
// degree Kelvin
14
// amount of substance (mole)
15
// luminous intensity (candela)
16
// radian
17
// steradian
18
//
19
// Below is a non exhaustive list of Physical CONSTANTS,
20
// computed in the Internal HEP System Of Units.
21
//
22
// Most of them are extracted from the Particle Data Book :
23
// Phys. Rev. D volume 50 3-1 (1994) page 1233
24
//
25
// ...with a meaningful (?) name ...
26
//
27
// You can add your own constants.
28
//
29
// Author: M.Maire
30
//
31
// History:
32
//
33
// 23.02.96 Created
34
// 26.03.96 Added constants for standard conditions of temperature
35
// and pressure; also added Gas threshold.
36
// 29.04.08 use PDG 2006 values
37
// 03.11.08 use PDG 2008 values
38
39
#ifndef HEP_PHYSICAL_CONSTANTS_H
40
#define HEP_PHYSICAL_CONSTANTS_H
41
42
#include "
CLHEP/Units/SystemOfUnits.h
"
43
44
namespace
CLHEP {
45
46
//
47
//
48
//
49
static
const
double
pi
= 3.14159265358979323846;
50
static
const
double
twopi
= 2*
pi
;
51
static
const
double
halfpi
=
pi
/2;
52
static
const
double
pi2
=
pi
*
pi
;
53
54
//
55
//
56
//
57
static
const
double
Avogadro
= 6.02214179e+23/
mole
;
58
59
//
60
// c = 299.792458 mm/ns
61
// c^2 = 898.7404 (mm/ns)^2
62
//
63
static
const
double
c_light
= 2.99792458e+8 *
m
/
s
;
64
static
const
double
c_squared
=
c_light
*
c_light
;
65
66
//
67
// h = 4.13566e-12 MeV*ns
68
// hbar = 6.58212e-13 MeV*ns
69
// hbarc = 197.32705e-12 MeV*mm
70
//
71
static
const
double
h_Planck
= 6.62606896e-34 *
joule
*
s
;
72
static
const
double
hbar_Planck
=
h_Planck
/
twopi
;
73
static
const
double
hbarc
=
hbar_Planck
*
c_light
;
74
static
const
double
hbarc_squared
=
hbarc
*
hbarc
;
75
76
//
77
//
78
//
79
static
const
double
electron_charge
= -
eplus
;
// see SystemOfUnits.h
80
static
const
double
e_squared
=
eplus
*
eplus
;
81
82
//
83
// amu_c2 - atomic equivalent mass unit
84
// - AKA, unified atomic mass unit (u)
85
// amu - atomic mass unit
86
//
87
static
const
double
electron_mass_c2
= 0.510998910 *
MeV
;
88
static
const
double
proton_mass_c2
= 938.272013 *
MeV
;
89
static
const
double
neutron_mass_c2
= 939.56536 *
MeV
;
90
static
const
double
amu_c2
= 931.494028 *
MeV
;
91
static
const
double
amu
=
amu_c2
/
c_squared
;
92
93
//
94
// permeability of free space mu0 = 2.01334e-16 Mev*(ns*eplus)^2/mm
95
// permittivity of free space epsil0 = 5.52636e+10 eplus^2/(MeV*mm)
96
//
97
static
const
double
mu0
= 4*
pi
*1.e-7 *
henry
/
m
;
98
static
const
double
epsilon0
= 1./(
c_squared
*
mu0
);
99
100
//
101
// electromagnetic coupling = 1.43996e-12 MeV*mm/(eplus^2)
102
//
103
static
const
double
elm_coupling
=
e_squared
/(4*
pi
*
epsilon0
);
104
static
const
double
fine_structure_const
=
elm_coupling
/
hbarc
;
105
static
const
double
classic_electr_radius
=
elm_coupling
/
electron_mass_c2
;
106
static
const
double
electron_Compton_length
=
hbarc
/
electron_mass_c2
;
107
static
const
double
Bohr_radius
=
electron_Compton_length
/
fine_structure_const
;
108
109
static
const
double
alpha_rcl2
=
fine_structure_const
110
*
classic_electr_radius
111
*
classic_electr_radius
;
112
113
static
const
double
twopi_mc2_rcl2
=
twopi
*
electron_mass_c2
114
*
classic_electr_radius
115
*
classic_electr_radius
;
116
//
117
//
118
//
119
static
const
double
k_Boltzmann
= 8.617343e-11 *
MeV
/
kelvin
;
120
121
//
122
//
123
//
124
static
const
double
STP_Temperature
= 273.15*
kelvin
;
125
static
const
double
STP_Pressure
= 1.*
atmosphere
;
126
static
const
double
kGasThreshold
= 10.*
mg
/
cm3
;
127
128
//
129
//
130
//
131
static
const
double
universe_mean_density
= 1.e-25*
g
/
cm3
;
132
133
}
// namespace CLHEP
134
135
#endif
/* HEP_PHYSICAL_CONSTANTS_H */
136
137
138
139
140
python.hepunit.epsilon0
int epsilon0
Definition:
hepunit.py:283
python.hepunit.g
g
Definition:
hepunit.py:133
python.hepunit.pi
float pi
Definition:
hepunit.py:247
python.hepunit.halfpi
int halfpi
Definition:
hepunit.py:249
python.hepunit.kGasThreshold
int kGasThreshold
Definition:
hepunit.py:304
python.hepunit.h_Planck
float h_Planck
Definition:
hepunit.py:263
s
const XML_Char * s
Definition:
expat.h:262
python.hepunit.universe_mean_density
int universe_mean_density
Definition:
hepunit.py:307
python.hepunit.electron_charge
electron_charge
Definition:
hepunit.py:269
python.hepunit.MeV
MeV
Definition:
hepunit.py:117
python.hepunit.twopi
int twopi
Definition:
hepunit.py:248
python.hepunit.elm_coupling
tuple elm_coupling
Definition:
hepunit.py:286
python.hepunit.atmosphere
int atmosphere
Definition:
hepunit.py:151
python.hepunit.c_squared
c_squared
Definition:
hepunit.py:258
python.hepunit.hbar_Planck
hbar_Planck
Definition:
hepunit.py:264
python.hepunit.twopi_mc2_rcl2
twopi_mc2_rcl2
Definition:
hepunit.py:294
python.hepunit.STP_Temperature
float STP_Temperature
Definition:
hepunit.py:302
python.hepunit.m
m
Definition:
hepunit.py:54
python.hepunit.hbarc_squared
hbarc_squared
Definition:
hepunit.py:266
python.hepunit.Avogadro
float Avogadro
Definition:
hepunit.py:253
python.hepunit.kelvin
int kelvin
Definition:
hepunit.py:203
python.hepunit.k_Boltzmann
float k_Boltzmann
Definition:
hepunit.py:299
python.hepunit.proton_mass_c2
float proton_mass_c2
Definition:
hepunit.py:275
python.hepunit.pi2
pi2
Definition:
hepunit.py:250
python.hepunit.e_squared
e_squared
Definition:
hepunit.py:270
python.hepunit.electron_mass_c2
float electron_mass_c2
Definition:
hepunit.py:274
python.hepunit.joule
joule
Definition:
hepunit.py:114
python.hepunit.cm3
cm3
Definition:
hepunit.py:52
python.hepunit.fine_structure_const
fine_structure_const
Definition:
hepunit.py:287
python.hepunit.Bohr_radius
Bohr_radius
Definition:
hepunit.py:290
python.hepunit.neutron_mass_c2
float neutron_mass_c2
Definition:
hepunit.py:276
python.hepunit.mu0
int mu0
Definition:
hepunit.py:282
python.hepunit.electron_Compton_length
electron_Compton_length
Definition:
hepunit.py:289
python.hepunit.classic_electr_radius
classic_electr_radius
Definition:
hepunit.py:288
python.hepunit.henry
henry
Definition:
hepunit.py:198
python.hepunit.hbarc
hbarc
Definition:
hepunit.py:265
python.hepunit.amu
amu
Definition:
hepunit.py:278
python.hepunit.mg
mg
Definition:
hepunit.py:134
python.hepunit.amu_c2
float amu_c2
Definition:
hepunit.py:277
SystemOfUnits.h
python.hepunit.mole
int mole
Definition:
hepunit.py:208
python.hepunit.c_light
float c_light
Definition:
hepunit.py:257
python.hepunit.eplus
int eplus
Definition:
hepunit.py:100
python.hepunit.alpha_rcl2
alpha_rcl2
Definition:
hepunit.py:292
python.hepunit.STP_Pressure
int STP_Pressure
Definition:
hepunit.py:303
Generated on Sat Dec 14 2013 14:34:02 for Geant4_10 by
1.8.5