Geant4 Cross Reference |
1 // -*- C++ -*- 1 2 // ------------------------------------------- 3 // HEP coherent Physical Constants 4 // 5 // This file has been provided by Geant4 (simu 6 // 7 // The basic units are : 8 // millimeter 9 // nanosecond 10 // Mega electron Volt 11 // positon charge 12 // degree Kelvin 13 // amount of substance (mole) 14 // luminous intensity (candela) 15 // radian 16 // steradian 17 // 18 // Below is a non exhaustive list of Physical 19 // computed in the Internal HEP System Of Unit 20 // 21 // Most of them are extracted from the Particl 22 // Phys. Rev. D volume 50 3-1 (1994) p 23 // 24 // ...with a meaningful (?) name ... 25 // 26 // You can add your own constants. 27 // 28 // Author: M.Maire 29 // 30 // History: 31 // 32 // 23.02.96 Created 33 // 26.03.96 Added constants for standard condi 34 // and pressure; also added Gas thres 35 // 29.04.08 Use PDG 2006 values 36 // 03.11.08 Use PDG 2008 values 37 // 17.07.20 Use PDG 2019 values 38 // 06.05.21 Added Bohr_magneton and nuclear_ma 39 40 #ifndef HEP_PHYSICAL_CONSTANTS_H 41 #define HEP_PHYSICAL_CONSTANTS_H 42 43 #include "CLHEP/Units/SystemOfUnits.h" 44 45 namespace CLHEP { 46 47 // 48 // 49 // 50 static constexpr double Avogadro = 6.02214076e 51 52 // 53 // c = 299.792458 mm/ns 54 // c^2 = 898.7404 (mm/ns)^2 55 // 56 static constexpr double c_light = 2.99792458 57 static constexpr double c_squared = c_light * 58 59 // 60 // h = 4.13566e-12 MeV*ns 61 // hbar = 6.58212e-13 MeV*ns 62 // hbarc = 197.32705e-12 MeV*mm 63 // 64 static constexpr double h_Planck = 6.6260 65 static constexpr double hbar_Planck = h_Plan 66 static constexpr double hbarc = hbar_P 67 static constexpr double hbarc_squared = hbarc 68 69 // 70 // 71 // 72 static constexpr double electron_charge = - ep 73 static constexpr double e_squared = eplus * ep 74 75 // 76 // amu_c2 - atomic equivalent mass unit 77 // - AKA, unified atomic mass unit (u) 78 // amu - atomic mass unit 79 // 80 static constexpr double electron_mass_c2 = 0.5 81 static constexpr double proton_mass_c2 = 938 82 static constexpr double neutron_mass_c2 = 939 83 static constexpr double amu_c2 = 931 84 static constexpr double amu = amu 85 86 // 87 // permeability of free space mu0 = 2.01334 88 // permittivity of free space epsil0 = 5.52636 89 // 90 static constexpr double mu0 = 4*pi*1.e-7 91 static constexpr double epsilon0 = 1./(c_squar 92 93 // 94 // electromagnetic coupling = 1.43996e-12 MeV* 95 // 96 static constexpr double elm_coupling 97 static constexpr double fine_structure_const 98 static constexpr double classic_electr_radius 99 static constexpr double electron_Compton_lengt 100 static constexpr double Bohr_radius = electron 101 102 static constexpr double alpha_rcl2 = fine_stru 103 *classic_el 104 *classic_el 105 106 static constexpr double twopi_mc2_rcl2 = twopi 107 * 108 * 109 110 static constexpr double Bohr_magneton = (eplus 111 static constexpr double nuclear_magneton = (ep 112 113 // 114 // 115 // 116 static constexpr double k_Boltzmann = 8.617333 117 118 // 119 // 120 // 121 static constexpr double STP_Temperature = 273. 122 static constexpr double STP_Pressure = 1.*a 123 static constexpr double kGasThreshold = 10.* 124 125 // 126 // 127 // 128 static constexpr double universe_mean_density 129 130 } // namespace CLHEP 131 132 #endif /* HEP_PHYSICAL_CONSTANTS_H */ 133 134 135 136 137 138