ATLAS Offline Software
Namespaces | Variables
ParticleConstants.h File Reference

Go to the source code of this file.

Namespaces

 ParticleConstants
 
 ParticleConstants::PDG2011
 
 ParticleConstants::PDG2024
 

Variables

constexpr double ParticleConstants::PDG2011::electronMassInMeV = 0.510998910
 the mass of the electron (in MeV) More...
 
constexpr double ParticleConstants::PDG2011::muonMassInMeV = 105.658367
 the mass of the muon (in MeV) More...
 
constexpr double ParticleConstants::PDG2011::tauMassInMeV = 1776.82
 the mass of the tau (in MeV) More...
 
constexpr double ParticleConstants::PDG2011::ZMassInMeV = 91187.6
 the mass of the Z0 boson (in MeV) More...
 
constexpr double ParticleConstants::PDG2011::piZeroMassInMeV = 134.9766
 the mass of the pi zero (in MeV) More...
 
constexpr double ParticleConstants::PDG2011::chargedPionMassInMeV = 139.57018
 the mass of the charged pion (in MeV) More...
 
constexpr double ParticleConstants::PDG2011::etaMassInMeV = 547.853
 the mass of the eta meson (in MeV) More...
 
constexpr double ParticleConstants::PDG2011::KZeroMassInMeV = 497.614
 the mass of the neutral kaon (K0) (in MeV) More...
 
constexpr double ParticleConstants::PDG2011::chargedKaonMassInMeV = 493.677
 the mass of the charged kaon (in MeV) More...
 
constexpr double ParticleConstants::PDG2011::DZeroMassInMeV = 1864.8
 the mass of the D0 meson (in MeV) More...
 
constexpr double ParticleConstants::PDG2011::JpsiMassInMeV = 3096.916
 
constexpr double ParticleConstants::PDG2011::BZeroMassInMeV = 5279.5
 the mass of the neutral B0 meson (in MeV) More...
 
constexpr double ParticleConstants::PDG2011::BPlusMassInMeV = 5279.17
 the mass of the charged B meson (in MeV) More...
 
constexpr double ParticleConstants::PDG2011::BsMassInMeV = 5366.3
 the mass of the Bs meson (in MeV) More...
 
constexpr double ParticleConstants::PDG2011::neutronMassInMeV = 939.565346
 the mass of the neutron (in MeV) More...
 
constexpr double ParticleConstants::PDG2011::protonMassInMeV = 938.272013
 the mass of the proton (in MeV) More...
 
constexpr double ParticleConstants::PDG2011::lambdaMassInMeV = 1115.683
 the mass of the lambda baryon (in MeV) More...
 
constexpr double ParticleConstants::PDG2024::electronMassInMeV = 0.51099895000
 the mass of the electron (in MeV) More...
 
constexpr double ParticleConstants::PDG2024::muonMassInMeV = 105.6583755
 the mass of the muon (in MeV) More...
 
constexpr double ParticleConstants::PDG2024::tauMassInMeV = 1776.93
 the mass of the tau (in MeV) More...
 
constexpr double ParticleConstants::PDG2024::ZZeroMassInMeV = 91188.0
 the mass of the Z0 boson (in MeV) More...
 
constexpr double ParticleConstants::PDG2024::piZeroMassInMeV = 134.9768
 the mass of the pi zero (in MeV) More...
 
constexpr double ParticleConstants::PDG2024::chargedPionMassInMeV = 139.57039
 the mass of the charged pion (in MeV) More...
 
constexpr double ParticleConstants::PDG2024::etaMassInMeV = 547.862
 the mass of the eta meson (in MeV) More...
 
constexpr double ParticleConstants::PDG2024::KZeroMassInMeV = 497.611
 the mass of the neutral kaon (K0) (in MeV) More...
 
constexpr double ParticleConstants::PDG2024::chargedKaonMassInMeV = 493.677
 the mass of the charged kaon (in MeV) More...
 
constexpr double ParticleConstants::PDG2024::DZeroMassInMeV = 1864.84
 the mass of the D0 meson (in MeV) More...
 
constexpr double ParticleConstants::PDG2024::JpsiMassInMeV = 3096.900
 
constexpr double ParticleConstants::PDG2024::BZeroMassInMeV = 5279.72
 the mass of the neutral B0 meson (in MeV) More...
 
constexpr double ParticleConstants::PDG2024::BPlusMassInMeV = 5279.41
 the mass of the charged B meson (in MeV) More...
 
constexpr double ParticleConstants::PDG2024::neutronMassInMeV = 939.5654205
 the mass of the neutron (in MeV) More...
 
constexpr double ParticleConstants::PDG2024::protonMassInMeV = 938.27208816
 the mass of the proton (in MeV) More...
 
constexpr double ParticleConstants::PDG2024::lambdaMassInMeV = 1115.683
 the mass of the lambda baryon (in MeV) More...
 
constexpr double ParticleConstants::photonMassInMeV = 0.0
 various mass-less particles More...
 
constexpr double ParticleConstants::electronNeutrinoMassInMeV = 0.0
 
constexpr double ParticleConstants::muonNeutrinoMassInMeV = 0.0
 
constexpr double ParticleConstants::tauNeutrinoMassInMeV = 0.0
 

Detailed Description

A number of constexpr particle constants to avoid hardcoding them directly in various places. This is not meant ot be a complete list of everything that could be needed, please look that up from the PDG database, this is just for numbers that would otherwise have to be hard-coded because it can't (practically) do that lookup.

Please note that while you should feel free to add new constants here, you need to also add them to the testParticleConstants.cxx test, so that we can ensure that the values here match the values in the ParticleDataTable.

Definition in file ParticleConstants.h.