Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-06-02 08:51:49

0001 #ifndef FUNDAMENTAL_PHYSICAL_CONSTANTS_H
0002 #define FUNDAMENTAL_PHYSICAL_CONSTANTS_H
0003 
0004 /**
0005  * @file FundamentalPhysicalConstants.h
0006  * @author Bryan BERTHOU (SPhN / CEA Saclay)
0007  * @author Herve MOUTARDE (SPhN / CEA Saclay)
0008  * @date 09 September 2014
0009  * @version 1.0
0010  */
0011 
0012 #include <complex>
0013 
0014 namespace PARTONS {
0015 
0016 namespace Constant {
0017 
0018 /**
0019 * @namespace PARTONS::Constant
0020 * @brief Definition of useful mathematical, physical, etc.\ constants.
0021 *
0022 * This header file defines a set of useful mathematical, physical, etc.\ constants to be used in PARTONS.
0023 */
0024 
0025 // Mathematical constants
0026 
0027 const double PI = 3.14159265358979323846;                   ///< Value of \f$\pi\f$.
0028 const double ZETA_3 = 1.2020569031595942;                   ///< Apéry's constant (value of Riemann zeta function \f$\zeta(3)\f$).
0029 
0030 // Physical constants
0031 
0032 const double SPEED_OF_LIGHT = 299792458;                    ///< Speed of light \f$c\f$ in \f$\mathrm{m}/\mathrm{s}\f$ @cite Amsler:2008zzb.
0033 const double PLANCK_CONSTANT = 6.62606896 * 1.e-34;         ///< Planck constant \f$h\f$ in \f$\mathrm{J}\cdot\mathrm{s}\f$ @cite Amsler:2008zzb, @cite Amsler::2009update.
0034 const double PLANCK_CONSTANT_REDUCED = 6.58211899 * 1.e-16; ///< Planck constant reduced \f$h/2\pi\f$ in \f$\mathrm{eV}\cdot\mathrm{s}\f$ @cite Amsler:2008zzb.
0035 const double FINE_STRUCTURE_CONSTANT = 1. / 137.035999679;  ///< Fine-structure constant \f$\alpha\f$ @cite Amsler:2008zzb.
0036 
0037 // Conversions between GeV and fm
0038 
0039 //TODO Finir de passer les constantes en MAJ
0040 const double HBarC = 197.3269631;                           ///< Conversion constant \f$\hbar c\f$ in \f$\mathrm{MeV}\cdot\mathrm{fm}\f$ @cite Amsler:2008zzb
0041 const double HBarC2 = 0.389379304;                          ///< Conversion constant \f$(\hbar c)^2\f$ in \f$\mathrm{GeV}^2\cdot\mathrm{mbarn}\f$ @cite Amsler:2008zzb
0042 const double CONV_GEVm1_TO_FM = 0.1973269631;               ///< Conversion constant \f$\mathrm{GeV}^{-1} \rightarrow \mathrm{fm}\f$.
0043 const double CONV_GEVm2_TO_NBARN = 0.389379304e+6;          ///< Conversion constant \f$\mathrm{GeV}^{-2} \rightarrow \mathrm{nbarn}\f$.
0044 const double CONV_GEVm2_TO_PBARN = 0.389379304e+9;          ///< Conversion constant \f$\mathrm{GeV}^{-2} \rightarrow \mathrm{pbarn}\f$.
0045 
0046 // Particle masses
0047 
0048 const double PROTON_MASS = 0.938272013;                     ///< Proton mass \f$m_{p}\f$ in \f$\mathrm{GeV}\f$ @cite Nakamura:2010zzi
0049 const double NEUTRON_MASS = 0.9395654205;                   ///< Neutron mass \f$m_{n}\f$ in \f$\mathrm{GeV}\f$ PDG'25 
0050 
0051 const double ELECTRON_MASS = 0.510998910e-3;                ///< Electron mass \f$m_{e}\f$ in \f$\mathrm{GeV}\f$ @cite Amsler:2008zzb
0052 const double MUON_MASS = 105.658367e-3;                     ///< Muon mass \f$m_{\mu}\f$ in \f$\mathrm{GeV}\f$ @cite Amsler:2008zzb
0053 const double TAU_MASS = 1.77684;                            ///< Tau mass \f$m_{\tau}\f$ in \f$\mathrm{GeV}\f$ @cite Amsler:2008zzb
0054 
0055 const double QUARK_DOWN_MASS = 0.0049;                      ///< Down quark mass \f$m_{d}\f$ in \f$\mathrm{GeV}\f$ @cite Nakamura:2010zzi
0056 const double QUARK_UP_MASS = 0.0024;                        ///< Up quark mass \f$m_{u}\f$ in \f$\mathrm{GeV}\f$ @cite Nakamura:2010zzi
0057 const double QUARK_STRANGE_MASS = 0.1;                      ///< Strange quark mass \f$m_{s}\f$ in \f$\mathrm{GeV}\f$ @cite Nakamura:2010zzi
0058 const double QUARK_CHARM_MASS = 1.29;                       ///< Charm quark mass \f$m_{c}\f$ in \f$\mathrm{GeV}\f$ @cite Nakamura:2010zzi
0059 const double QUARK_BOTTOM_MASS = 4.19;                      ///< Bottom quark mass \f$m_{b}\f$ in \f$\mathrm{GeV}\f$ @cite Nakamura:2010zzi
0060 const double QUARK_TOP_MASS = 172.9;                        ///< Top quark mass \f$m_{t}\f$ in \f$\mathrm{GeV}\f$ @cite Nakamura:2010zzi
0061 
0062 const double PI_ZERO_MASS = 0.1349766;                      ///< Meson \f$\pi^0\f$ mass \f$m_{\pi^0}\f$ in \f$\mathrm{GeV}\f$ @cite Nakamura:2010zzi
0063 
0064 const double Z_BOSON_MASS = 91.1876;                        ///< Boson \f$Z\f$ mass \f$m_{Z}\f$ in \f$\mathrm{GeV}\f$ @cite Nakamura:2010zzi
0065 
0066 // Particle electric charges
0067 
0068 const double D_ELEC_CHARGE = -1. / 3.;                      ///< Electric charge of down quark in units of \f$e\f$.
0069 const double U_ELEC_CHARGE = 2. / 3.;                       ///< Electric charge of up quark in units of \f$e\f$.
0070 const double S_ELEC_CHARGE = -1. / 3.;                      ///< Electric charge of strange quark in units of \f$e\f$.
0071 const double C_ELEC_CHARGE = 2. / 3.;                       ///< Electric charge of charm quark in units of \f$e\f$.
0072 const double B_ELEC_CHARGE = -1. / 3.;                      ///< Electric charge of bottom quark in units of \f$e\f$.
0073 const double T_ELEC_CHARGE = 2. / 3.;                       ///< Electric charge of top quark in units of \f$e\f$.
0074 
0075 const double D2_ELEC_CHARGE = 1. / 9.;                      ///< Square of electric charge of down quark in units of \f$e\f$.
0076 const double U2_ELEC_CHARGE = 4. / 9.;                      ///< Square of electric charge of up quark in units of \f$e\f$.
0077 const double S2_ELEC_CHARGE = 1. / 9.;                      ///< Square of electric charge of strange quark in units of \f$e\f$.
0078 const double C2_ELEC_CHARGE = 4. / 9.;                      ///< Square of electric charge of charm quark in units of \f$e\f$.
0079 const double B2_ELEC_CHARGE = 1. / 9.;                      ///< Square of electric charge of bottom quark in units of \f$e\f$.
0080 const double T2_ELEC_CHARGE = 4. / 9.;                      ///< Square of electric charge of top quark in units of \f$e\f$.
0081 
0082 //TODO more explicit name
0083 const double POSITRON_CHARGE = 0.30282211985966434;         ///< Positron charge \f$e\f$ in natural units (\f$e^2 = 4\pi\alpha\f$).
0084 
0085 // Complex numbers
0086 const std::complex<double> COMPLEX_UNIT = std::complex<double>(0., 1.); ///< Complex unit.
0087 
0088 // Mesons
0089 
0090 const double MESON_RHOMINUS_MASS = 775.26e-3;               ///< \f$\rho^-\f$ mass in \f$\mathrm{GeV}\f$ Phys. 2020, 083C01 (2020).
0091 const double MESON_RHO0_MASS = 775.26e-3;                   ///< \f$\rho^0\f$ mass in \f$\mathrm{GeV}\f$ Phys. 2020, 083C01 (2020).
0092 const double MESON_RHOPLUS_MASS = 775.26e-3;                ///< \f$\rho^+\f$ mass in \f$\mathrm{GeV}\f$ Phys. 2020, 083C01 (2020).
0093 const double MESON_OMEGA_MASS = 782.65e-3;                  ///< \f$\omega\f$ mass in \f$\mathrm{GeV}\f$ Phys. 2020, 083C01 (2020).
0094 const double MESON_PHI_MASS = 1019.461e-3;                  ///< \f$\phi\f$ mass in \f$\mathrm{GeV}\f$ Phys. 2020, 083C01 (2020).
0095 const double MESON_JPSI_MASS = 3096.900e-3;                 ///< \f$J/\Psi\f$ mass in \f$\mathrm{GeV}\f$ Phys. 2020, 083C01 (2020).
0096 const double MESON_UPSILON_MASS = 9460.30e-3;               ///< \f$\Upsilon\f$ mass in \f$\mathrm{GeV}\f$ Phys. 2020, 083C01 (2020).
0097 
0098 const double MESON_PIMINUS_MASS = 139.57039e-3;             ///< \f$\pi^-\f$ mass in \f$\mathrm{GeV}\f$ Phys. 2020, 083C01 (2020).
0099 const double MESON_PI0_MASS = 134.9768e-3;                  ///< \f$\pi^0\f$ mass in \f$\mathrm{GeV}\f$ Phys. 2020, 083C01 (2020).
0100 const double MESON_PIPLUS_MASS = 139.57039e-3;              ///< \f$\pi^+\f$ mass in \f$\mathrm{GeV}\f$ Phys. 2020, 083C01 (2020).
0101 
0102 } /* namespace Constant */
0103 
0104 } /* namespace PARTONS */
0105 
0106 #endif /* FUNDAMENTAL_PHYSICAL_CONSTANTS_H */