Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
WPhysicalConstants.h
Go to the documentation of this file.
1// HEP coherent Physical Constants
2//
3// This file has been provided by Geant4 (simulation toolkit for HEP).
4//
5// The basic units are :
6// millimeter
7// nanosecond
8// Mega electron Volt
9// positon charge
10// degree Kelvin
11// amount of substance (mole)
12// luminous intensity (candela)
13// radian
14// steradian
15//
16// Below is a non exhaustive list of Physical CONSTANTS,
17// computed in the Internal HEP System Of Units.
18//
19// Most of them are extracted from the Particle Data Book :
20// Phys. Rev. D volume 50 3-1 (1994) page 1233
21//
22// ...with a meaningful (?) name ...
23//
24// You can add your own constants.
25//
26// Author: M.Maire
27//
28// History:
29//
30// 23.02.96 Created
31// 26.03.96 Added constants for standard conditions of temperature
32// and pressure; also added Gas threshold.
33
34#ifndef HEED_PHYSICAL_CONSTANTS_H
35#define HEED_PHYSICAL_CONSTANTS_H
36
38
39namespace Heed {
40
41namespace CLHEP {
42
43//
44//
45//
46static constexpr double Avogadro = 6.0221367e+23 / mole;
47
48//
49// c = 299.792458 mm/ns
50// c^2 = 898.7404 (mm/ns)^2
51//
52static constexpr double c_light = 2.99792458e+8 * m / s;
53static constexpr double c_squared = c_light * c_light;
54
55//
56// h = 4.13566e-12 MeV*ns
57// hbar = 6.58212e-13 MeV*ns
58// hbarc = 197.32705e-12 MeV*mm
59//
60static constexpr double h_Planck = 6.6260755e-34 * joule * s;
61static constexpr double hbar_Planck = h_Planck / twopi;
62static constexpr double hbarc = hbar_Planck * c_light;
63static constexpr double hbarc_squared = hbarc * hbarc;
64
65//
66//
67//
68static constexpr double electron_charge = -eplus; // see SystemOfUnits.h
69static constexpr double e_squared = eplus * eplus;
70
71//
72// amu_c2 - atomic equivalent mass unit
73// amu - atomic mass unit
74//
75static constexpr double electron_mass_c2 = 0.51099906 * MeV;
76static constexpr double proton_mass_c2 = 938.27231 * MeV;
77static constexpr double neutron_mass_c2 = 939.56563 * MeV;
78static constexpr double amu_c2 = 931.49432 * MeV;
79static constexpr double amu = amu_c2 / c_squared;
80
81//
82// permeability of free space mu0 = 2.01334e-16 Mev*(ns*eplus)^2/mm
83// permittivity of free space epsil0 = 5.52636e+10 eplus^2/(MeV*mm)
84//
85static constexpr double mu0 = 4 * pi * 1.e-7 * henry / m;
86static constexpr double epsilon0 = 1. / (c_squared * mu0);
87
88//
89// electromagnetic coupling = 1.43996e-12 MeV*mm/(eplus^2)
90//
91static constexpr double elm_coupling = e_squared / (4 * pi * epsilon0);
92static constexpr double fine_structure_const = elm_coupling / hbarc;
93static constexpr double classic_electr_radius = elm_coupling / electron_mass_c2;
94static constexpr double electron_Compton_length = hbarc / electron_mass_c2;
95static constexpr double Bohr_radius =
96 electron_Compton_length / fine_structure_const;
97
98static constexpr double alpha_rcl2 =
99 fine_structure_const * classic_electr_radius * classic_electr_radius;
100
101static constexpr double twopi_mc2_rcl2 =
102 twopi * electron_mass_c2 * classic_electr_radius * classic_electr_radius;
103//
104//
105//
106static constexpr double k_Boltzmann = 8.617385e-11 * MeV / kelvin;
107
108//
109//
110//
111static constexpr double STP_Temperature = 273.15 * kelvin;
112static constexpr double STP_Pressure = 1. * atmosphere;
113static constexpr double kGasThreshold = 10. * mg / cm3;
114
115//
116//
117//
118static constexpr double universe_mean_density = 1.e-25 * g / cm3;
119}
120
121}
122
123#endif /* HEED_PHYSICAL_CONSTANTS_H */
Definition: BGMesh.cpp:6