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