Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
FundamentalConstants.hh
Go to the documentation of this file.
1// Fundamental mathematical and physical constants
2// Source: K. Nakamura et al., The Review of Particle Physics,
3// Journal of Physics G 37 075021 (2010)
4
5#ifndef G_FUNDAMENTAL_CONSTANTS_H
6#define G_FUNDAMENTAL_CONSTANTS_H
7
8namespace Garfield {
9
10static constexpr double Pi = 3.1415926535897932384626433832795;
11static constexpr double TwoPi = 2. * Pi;
12static constexpr double HalfPi = 0.5 * Pi;
13static constexpr double Pi2 = Pi * Pi;
14
15static constexpr double DegreeToRad = Pi / 180.;
16static constexpr double RadToDegree = 180. / Pi;
17
18/// Euler-Mascheroni constant
19static constexpr double Gamma = 0.577215664901532861;
20
21static constexpr double CLog2 = 0.693147180559945309417;
22static constexpr double Sqrt2 = 1.4142135623730950488016887242097;
23
24// Elementary particle masses [eV / c2]
25static constexpr double ElectronMass = 0.510998910e6;
26static constexpr double MuonMass = 105.658367e6;
27static constexpr double ProtonMass = 938.272013e6;
28static constexpr double NeutronMass = 939.56536e6;
29
30/// Fine structure constant
31static constexpr double FineStructureConstant = 7.2973525376e-3;
32/// Reduced Planck constant [eV ns]
33static constexpr double Hbar = 6.58211899e-7;
34/// Conversion constant [eV cm]
35static constexpr double HbarC = 197.3269631e-7;
36/// Electron mass [g]
37static constexpr double ElectronMassGramme = 9.10938215e-28;
38/// Unified atomic mass unit (mass 12C atom / 12) [g]
39static constexpr double AtomicMassUnit = 1.660538782e-24;
40static constexpr double AtomicMassUnitElectronVolt = 931.494028e6;
41/// Bohr radius [cm]
42static constexpr double BohrRadius = 0.52917720859e-8;
43/// Rydberg energy [eV]
44static constexpr double RydbergEnergy = 13.60569193;
45/// Speed of light in vacuum [cm / ns]
46static constexpr double SpeedOfLight = 29.9792458;
47/// Classical electron radius [cm]
48static constexpr double ClassicalElectronRadius = 2.8179402894e-13;
49/// Electron charge magnitude [fC]
50static constexpr double ElementaryCharge = 1.602176487e-4;
51/// Electron cyclotron frequency / field [rad / (ns * 10-5 T)]
52static constexpr double OmegaCyclotronOverB = 1.758820150e-3;
53/// Boltzmann constant [eV / K]
54static constexpr double BoltzmannConstant = 8.617343e-5;
55/// Permittivity of free space [fF / cm]
56static constexpr double VacuumPermittivity = 88.54187817;
57static constexpr double FourPiEpsilon0 = 4. * Pi * VacuumPermittivity;
58static constexpr double TwoPiEpsilon0 = TwoPi * VacuumPermittivity;
59/// Loschmidt number [cm-3]
60static constexpr double LoschmidtNumber = 2.6867774e19;
61/// AvogadroConstant [mol-1]
62static constexpr double AvogadroConstant = 6.02214179e23;
63/// Atmospheric pressure [Torr]
64static constexpr double AtmosphericPressure = 760.;
65/// Zero degree Celsius [K]
66static constexpr double ZeroCelsius = 273.15;
67
68/// Standard gravitational acceleration [m s-2]
69static constexpr double GravitationalAcceleration = 9.80665;
70}
71
72#endif