Garfield++ v2r0
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 const double Pi = 3.1415926535897932384626433832795;
11static const double TwoPi = 2. * Pi;
12static const double HalfPi = 0.5 * Pi;
13static const double Pi2 = Pi * Pi;
14
15static const double DegreeToRad = Pi / 180.;
16static const double RadToDegree = 180. / Pi;
17
18// Euler-Mascheroni constant
19static const double Gamma = 0.577215664901532861;
20
21static const double CLog2 = 0.693147180559945309417;
22static const double Sqrt2 = 1.4142135623730950488016887242097;
23
24// Elementary particle masses [eV / c2]
25static const double ElectronMass = 0.510998910e6;
26static const double MuonMass = 105.658367e6;
27static const double ProtonMass = 938.272013e6;
28static const double NeutronMass = 939.56536e6;
29
30// Fine structure constant
31static const double FineStructureConstant = 7.2973525376e-3;
32// Reduced Planck constant [eV ns]
33static const double Hbar = 6.58211899e-7;
34// Conversion constant [eV cm]
35static const double HbarC = 197.3269631e-7;
36// Electron mass [g]
37static const double ElectronMassGramme = 9.10938215e-28;
38// Unified atomic mass unit (mass 12C atom / 12) [g]
39static const double AtomicMassUnit = 1.660538782e-24;
40static const double AtomicMassUnitElectronVolt = 931.494028e6;
41// Bohr radius [cm]
42static const double BohrRadius = 0.52917720859e-8;
43// Rydberg energy [eV]
44static const double RydbergEnergy = 13.60569193;
45// Speed of light in vacuum [cm / ns]
46static const double SpeedOfLight = 29.9792458;
47// Classical electron radius [cm]
48static const double ClassicalElectronRadius = 2.8179402894e-13;
49// Electron charge magnitude [fC]
50static const double ElementaryCharge = 1.602176487e-4;
51// Electron cyclotron frequency / field [rad / (ns * 10-5 T)]
52static const double OmegaCyclotronOverB = 1.758820150e-3;
53// Boltzmann constant [eV / K]
54static const double BoltzmannConstant = 8.617343e-5;
55// Permittivity of free space [fF / cm]
56static const double VacuumPermittivity = 88.54187817;
57static const double FourPiEpsilon0 = 4. * Pi * VacuumPermittivity;
58static const double TwoPiEpsilon0 = TwoPi * VacuumPermittivity;
59// Loschmidt number [cm-3]
60static const double LoschmidtNumber = 2.6867774e19;
61// AvogadroConstant [mol-1]
62static const double AvogadroConstant = 6.02214179e23;
63// Atmospheric pressure [Torr]
64static const double AtmosphericPressure = 760.;
65// Zero degree Celsius [K]
66static const double ZeroCelsius = 273.15;
67}
68
69#endif