Iguana 0.0.0
Implementation Guardian of Analysis Algorithms
Loading...
Searching...
No Matches
iguana::particle Namespace Reference

Detailed Description

Light-weight namespace for particle constants.

Enumerations

enum  PDG {
  electron = 11 , photon = 22 , proton = 2212 , antiproton = -2212 ,
  neutron = 2112 , antineutron = -2112 , pi_plus = 211 , pi_minus = -211 ,
  kaon_plus = 321 , kaon_minus = -321
}
 PDG codes. More...
 

Variables

const std::unordered_map< PDG, std::string > name
 Particle names.
 
const std::unordered_map< PDG, std::string > title
 Particle titles.
 
const std::unordered_map< PDG, double > mass
 Particle mass in GeV.
 

Enumeration Type Documentation

◆ PDG

PDG codes.

Definition at line 40 of file TypeDefs.h.

Variable Documentation

◆ mass

const std::unordered_map<PDG, double> iguana::particle::mass
Initial value:
{
{ electron, 0.000511 },
{ photon, 0.0 },
{ proton, 0.938272 },
{ antiproton, 0.938272 },
{ neutron, 0.939565 },
{ antineutron, 0.939565 },
{ pi_plus, 0.139570 },
{ pi_minus, 0.139570 },
{ kaon_plus, 0.493677 },
{ kaon_minus, 0.493677 }
}

Particle mass in GeV.

Definition at line 82 of file TypeDefs.h.

◆ name

const std::unordered_map<PDG, std::string> iguana::particle::name
Initial value:
{
{ electron, "electron" },
{ photon, "photon" },
{ proton, "proton" },
{ antiproton, "antiproton" },
{ neutron, "neutron" },
{ antineutron, "antineutron" },
{ pi_plus, "pi_plus" },
{ pi_minus, "pi_minus" },
{ kaon_plus, "kaon_plus" },
{ kaon_minus, "kaon_minus" }
}

Particle names.

Definition at line 54 of file TypeDefs.h.

◆ title

const std::unordered_map<PDG, std::string> iguana::particle::title
Initial value:
{
{ electron, "e^{-}" },
{ photon, "#gamma" },
{ proton, "p" },
{ antiproton, "#bar{p}" },
{ neutron, "n" },
{ antineutron, "#bar{n}" },
{ pi_plus, "#pi^{+}" },
{ pi_minus, "#pi^{-}" },
{ kaon_plus, "K^{+}" },
{ kaon_minus, "K^{-}" }
}

Particle titles.

Definition at line 68 of file TypeDefs.h.