hej is hosted by Hepforge, IPPP Durham
HEJ 2.2.2
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
PDG_codes.hh File Reference

Contains the Particle IDs of all relevant SM particles. More...

#include <cstdlib>
#include <string>
#include "boost/rational.hpp"
Include dependency graph for PDG_codes.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  HEJ
 Main HEJ 2 Namespace.
 
namespace  HEJ::pid
 particle ids according to PDG
 

Typedefs

using HEJ::ParticleID = pid::ParticleID
 

Enumerations

enum  HEJ::pid::ParticleID : int {
  HEJ::pid::unspecified = 0 , HEJ::pid::d = 1 , HEJ::pid::down = d , HEJ::pid::u = 2 ,
  HEJ::pid::up = u , HEJ::pid::s = 3 , HEJ::pid::strange = s , HEJ::pid::c = 4 ,
  HEJ::pid::charm = c , HEJ::pid::b = 5 , HEJ::pid::bottom = b , HEJ::pid::t = 6 ,
  HEJ::pid::top = t , HEJ::pid::e = 11 , HEJ::pid::electron = e , HEJ::pid::nu_e = 12 ,
  HEJ::pid::electron_neutrino = nu_e , HEJ::pid::mu = 13 , HEJ::pid::muon = mu , HEJ::pid::nu_mu = 14 ,
  HEJ::pid::muon_neutrino = nu_mu , HEJ::pid::tau = 15 , HEJ::pid::nu_tau = 16 , HEJ::pid::tau_neutrino = nu_tau ,
  HEJ::pid::d_bar = -d , HEJ::pid::antidown = d_bar , HEJ::pid::u_bar = -u , HEJ::pid::antiup = -u ,
  HEJ::pid::s_bar = -s , HEJ::pid::antistrange = -s , HEJ::pid::c_bar = -c , HEJ::pid::anticharm = -c ,
  HEJ::pid::b_bar = -b , HEJ::pid::antibottom = -b , HEJ::pid::t_bar = -t , HEJ::pid::antitop = -t ,
  HEJ::pid::e_bar = -e , HEJ::pid::positron = e_bar , HEJ::pid::antielectron = positron , HEJ::pid::nu_e_bar = -nu_e ,
  HEJ::pid::electron_antineutrino = nu_e_bar , HEJ::pid::mu_bar = -mu , HEJ::pid::antimuon = -mu , HEJ::pid::nu_mu_bar = -nu_mu ,
  HEJ::pid::muon_antineutrino = nu_mu_bar , HEJ::pid::tau_bar = -tau , HEJ::pid::antitau = tau_bar , HEJ::pid::nu_tau_bar = -nu_tau ,
  HEJ::pid::tau_antineutrino = nu_tau_bar , HEJ::pid::gluon = 21 , HEJ::pid::g = gluon , HEJ::pid::photon = 22 ,
  HEJ::pid::gamma = photon , HEJ::pid::Z = 23 , HEJ::pid::Z_photon_mix = 81 , HEJ::pid::Z_gamma_mix = Z_photon_mix ,
  HEJ::pid::Wp = 24 , HEJ::pid::Wm = -Wp , HEJ::pid::h = 25 , HEJ::pid::Higgs = h ,
  HEJ::pid::higgs = h , HEJ::pid::p = 2212 , HEJ::pid::proton = p , HEJ::pid::p_bar = -p ,
  HEJ::pid::antiproton = p_bar
}
 The possible particle identities. We use PDG IDs as standard. More...
 

Functions

std::string HEJ::pid::name (ParticleID id)
 Get the of the particle with the given PDG ID. More...
 
ParticleID HEJ::pid::anti (ParticleID id)
 return the negative flavour of the given PDG ID More...
 
ParticleID HEJ::to_ParticleID (std::string const &name)
 Convert a particle name to the corresponding PDG particle ID. More...
 
constexpr bool HEJ::is_antiparticle (ParticleID id)
 Determine if the PDG ID denotes an antiparticle. More...
 
constexpr bool HEJ::is_quark (ParticleID id)
 Function to determine if particle is a quark. More...
 
constexpr bool HEJ::is_antiquark (ParticleID id)
 Function to determine if particle is an antiquark. More...
 
constexpr bool HEJ::is_anyquark (ParticleID id)
 Function to determine if particle is an (anti-)quark. More...
 
constexpr bool HEJ::is_gluon (ParticleID id)
 Function to determine if particle is a gluon. More...
 
constexpr bool HEJ::is_parton (ParticleID id)
 Function to determine if particle is a parton. More...
 
constexpr bool HEJ::is_AWZ_boson (ParticleID id)
 function to determine if the particle is a photon, W or Z More...
 
constexpr bool HEJ::is_AWZH_boson (ParticleID id)
 function to determine if the particle is a photon, W, Z, or Higgs boson More...
 
constexpr bool HEJ::is_lepton (ParticleID id)
 Function to determine if particle is a lepton. More...
 
constexpr bool HEJ::is_antilepton (ParticleID id)
 Function to determine if particle is an antilepton. More...
 
constexpr bool HEJ::is_anylepton (ParticleID id)
 Function to determine if particle is an (anti-)lepton. More...
 
constexpr bool HEJ::is_neutrino (ParticleID id)
 Function to determine if particle is a neutrino. More...
 
constexpr bool HEJ::is_antineutrino (ParticleID id)
 Function to determine if particle is an antineutrino. More...
 
constexpr bool HEJ::is_anyneutrino (ParticleID id)
 Function to determine if particle is an (anti-)neutrino. More...
 
constexpr bool HEJ::is_massless (ParticleID id)
 Check if a particle is massless. More...
 
constexpr bool HEJ::is_massive (ParticleID id)
 Check if a particle is massive. More...
 
constexpr bool HEJ::is_charged_lepton (ParticleID id)
 Function to determine if particle is a charged lepton. More...
 
constexpr bool HEJ::is_charged_antilepton (ParticleID id)
 Function to determine if particle is a charged lepton. More...
 
constexpr bool HEJ::is_charged_anylepton (ParticleID id)
 Function to determine if particle is a charged lepton or charged antilepton. More...
 
boost::rational< int > HEJ::charge (ParticleID id)
 Electric charge of the given particle. More...
 

Detailed Description

Contains the Particle IDs of all relevant SM particles.

Large enumeration included which has multiple entries for potential alternative names of different particles. There are also functions which can be used to determine if a particle is a parton or if it is a non-gluon boson.

Authors
The HEJ collaboration (see AUTHORS for details)
Date
2019-2020