hej is hosted by Hepforge, IPPP Durham
HEJ 2 2.0
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
PDG_codes.hh
Go to the documentation of this file.
1
14#pragma once
15
16#include <string>
17
18namespace HEJ {
19
21 namespace pid {
24 d = 1,
25 down = d,
26 u = 2,
27 up = u,
28 s = 3,
30 c = 4,
31 charm = c,
32 b = 5,
34 t = 6,
35 top = t,
36 e = 11,
38 nu_e = 12,
40 mu = 13,
41 muon = mu,
42 nu_mu = 14,
44 tau = 15,
45 nu_tau = 16,
47 d_bar = -d,
48 u_bar = -u,
49 s_bar = -s,
50 c_bar = -c,
51 b_bar = -b,
52 t_bar = -t,
53 e_bar = -e,
60 gluon = 21,
61 g = gluon,
62 photon = 22,
64 Z = 23,
65 Wp = 24,
66 Wm = -Wp,
67 h = 25,
68 Higgs = h,
69 higgs = h,
70 p = 2212,
72 p_bar = -p,
73 };
74
75 }
76
78
80 ParticleID to_ParticleID(std::string const & name);
81
87 inline
88 constexpr bool is_parton(ParticleID p){
89 return p == pid::gluon || std::abs(p) <= pid::top;
90 }
91
97 inline
98 constexpr bool is_AWZH_boson(ParticleID id){
99 return id == pid::Wm || (id >= pid::photon && id <= pid::Higgs);
100 }
101
102}
ParticleID
The possible particle identities. We use PDG IDs as standard.
Definition: PDG_codes.hh:23
@ Wp
Definition: PDG_codes.hh:65
@ muon_neutrino
Definition: PDG_codes.hh:43
@ nu_mu
Definition: PDG_codes.hh:42
@ t_bar
Definition: PDG_codes.hh:52
@ bottom
Definition: PDG_codes.hh:33
@ s
Definition: PDG_codes.hh:28
@ nu_e
Definition: PDG_codes.hh:38
@ d
Definition: PDG_codes.hh:24
@ d_bar
Definition: PDG_codes.hh:47
@ g
Definition: PDG_codes.hh:61
@ s_bar
Definition: PDG_codes.hh:49
@ nu_mu_bar
Definition: PDG_codes.hh:57
@ p
Definition: PDG_codes.hh:70
@ tau_neutrino
Definition: PDG_codes.hh:46
@ muon
Definition: PDG_codes.hh:41
@ electron_neutrino
Definition: PDG_codes.hh:39
@ top
Definition: PDG_codes.hh:35
@ nu_tau_bar
Definition: PDG_codes.hh:59
@ tau_bar
Definition: PDG_codes.hh:58
@ nu_e_bar
Definition: PDG_codes.hh:55
@ nu_tau
Definition: PDG_codes.hh:45
@ positron
Definition: PDG_codes.hh:54
@ photon
Definition: PDG_codes.hh:62
@ electron
Definition: PDG_codes.hh:37
@ t
Definition: PDG_codes.hh:34
@ gamma
Definition: PDG_codes.hh:63
@ proton
Definition: PDG_codes.hh:71
@ h
Definition: PDG_codes.hh:67
@ strange
Definition: PDG_codes.hh:29
@ b
Definition: PDG_codes.hh:32
@ Z
Definition: PDG_codes.hh:64
@ p_bar
Definition: PDG_codes.hh:72
@ c_bar
Definition: PDG_codes.hh:50
@ Wm
Definition: PDG_codes.hh:66
@ down
Definition: PDG_codes.hh:25
@ u
Definition: PDG_codes.hh:26
@ higgs
Definition: PDG_codes.hh:69
@ e
Definition: PDG_codes.hh:36
@ tau
Definition: PDG_codes.hh:44
@ Higgs
Definition: PDG_codes.hh:68
@ charm
Definition: PDG_codes.hh:31
@ mu_bar
Definition: PDG_codes.hh:56
@ u_bar
Definition: PDG_codes.hh:48
@ c
Definition: PDG_codes.hh:30
@ up
Definition: PDG_codes.hh:27
@ e_bar
Definition: PDG_codes.hh:53
@ gluon
Definition: PDG_codes.hh:60
@ mu
Definition: PDG_codes.hh:40
@ b_bar
Definition: PDG_codes.hh:51
Main HEJ 2 Namespace.
Definition: mainpage.dox:1
ParticleID to_ParticleID(std::string const &name)
Convert a particle name to the corresponding PDG particle ID.
bool is_parton(Particle const &p)
Check if a particle is a parton, i.e. quark, antiquark, or gluon.
Definition: Particle.hh:96
bool is_AWZH_boson(Particle const &particle)
Check if a particle is a photon, W, Z, or Higgs boson.
Definition: Particle.hh:101