hej
is hosted by
Hepforge
,
IPPP Durham
HEJ
2.1.4
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
include
HEJ
event_types.hh
Go to the documentation of this file.
1
8
#pragma once
9
10
#include <string>
11
12
#include "
HEJ/exceptions.hh
"
13
14
namespace
HEJ
{
15
17
namespace
event_type {
19
enum
EventType
: std::size_t {
20
non_resummable
= 0,
21
bad_final_state
= 1,
22
no_2_jets
= 2,
23
FKL
= 4,
24
unordered_backward
= 8,
25
unordered_forward
= 16,
26
extremal_qqbar_backward
= 32,
27
extremal_qqbar_forward
= 64,
28
central_qqbar
= 128,
29
unob
=
unordered_backward
,
30
unof
=
unordered_forward
,
31
qqbar_exb
=
extremal_qqbar_backward
,
32
qqbar_exf
=
extremal_qqbar_forward
,
33
qqbar_mid
=
central_qqbar
,
34
first_type
=
non_resummable
,
35
last_type
=
central_qqbar
36
};
37
39
42
inline
43
std::string
name
(
EventType
type) {
44
switch
(type) {
45
case
FKL
:
46
return
"FKL"
;
47
case
unordered_backward
:
48
return
"unordered backward"
;
49
case
unordered_forward
:
50
return
"unordered forward"
;
51
case
extremal_qqbar_backward
:
52
return
"extremal qqbar backward"
;
53
case
extremal_qqbar_forward
:
54
return
"extremal qqbar forward"
;
55
case
central_qqbar
:
56
return
"central qqbar"
;
57
case
non_resummable
:
58
return
"non-resummable"
;
59
case
no_2_jets
:
60
return
"no 2 jets"
;
61
case
bad_final_state
:
62
return
"bad final state"
;
63
default
:
64
throw
std::logic_error{
"Unreachable"
};
65
}
66
}
67
69
inline
70
constexpr
bool
is_resummable
(
EventType
type) {
71
switch
(type) {
72
case
FKL
:
73
case
unordered_backward
:
74
case
unordered_forward
:
75
case
extremal_qqbar_backward
:
76
case
extremal_qqbar_forward
:
77
case
central_qqbar
:
78
return
true
;
79
default
:
80
return
false
;
81
}
82
}
83
85
inline
86
constexpr
bool
is_uno
(
EventType
type) {
87
return
type ==
unordered_backward
|| type ==
unordered_forward
;
88
}
89
91
inline
92
constexpr
bool
is_ex_qqbar
(
EventType
type) {
93
return
type ==
extremal_qqbar_backward
|| type ==
extremal_qqbar_forward
;
94
}
95
97
inline
98
constexpr
bool
is_mid_qqbar
(
EventType
type) {
99
return
type ==
central_qqbar
;
100
}
101
103
inline
104
constexpr
bool
is_qqbar
(
EventType
type) {
105
return
is_ex_qqbar
(type) ||
is_mid_qqbar
(type);
106
}
107
108
}
// namespace event_type
109
}
// namespace HEJ
exceptions.hh
Custom exception classes.
HEJ::event_type::EventType
EventType
Possible event types.
Definition:
event_types.hh:19
HEJ::event_type::non_resummable
@ non_resummable
event configuration not covered by All Order resummation
Definition:
event_types.hh:20
HEJ::event_type::qqbar_mid
@ qqbar_mid
alias for central_qqbar
Definition:
event_types.hh:33
HEJ::event_type::FKL
@ FKL
FKL-type event.
Definition:
event_types.hh:23
HEJ::event_type::no_2_jets
@ no_2_jets
event with less than two jets
Definition:
event_types.hh:22
HEJ::event_type::bad_final_state
@ bad_final_state
event with an unsupported final state
Definition:
event_types.hh:21
HEJ::event_type::qqbar_exf
@ qqbar_exf
alias for extremal_qqbar_forward
Definition:
event_types.hh:32
HEJ::event_type::central_qqbar
@ central_qqbar
event with a central qqbar
Definition:
event_types.hh:28
HEJ::event_type::qqbar_exb
@ qqbar_exb
alias for extremal_qqbar_backward
Definition:
event_types.hh:31
HEJ::event_type::last_type
@ last_type
alias for central_qqbar
Definition:
event_types.hh:35
HEJ::event_type::unob
@ unob
alias for unordered_backward
Definition:
event_types.hh:29
HEJ::event_type::extremal_qqbar_backward
@ extremal_qqbar_backward
event with a backward extremal qqbar
Definition:
event_types.hh:26
HEJ::event_type::unordered_forward
@ unordered_forward
event with unordered forward emission
Definition:
event_types.hh:25
HEJ::event_type::extremal_qqbar_forward
@ extremal_qqbar_forward
event with a forward extremal qqbar
Definition:
event_types.hh:27
HEJ::event_type::first_type
@ first_type
alias for non_resummable
Definition:
event_types.hh:34
HEJ::event_type::unordered_backward
@ unordered_backward
event with unordered backward emission
Definition:
event_types.hh:24
HEJ::event_type::unof
@ unof
alias for unordered_forward
Definition:
event_types.hh:30
HEJ::event_type::is_uno
constexpr bool is_uno(EventType type)
Returns True for an unordered EventType.
Definition:
event_types.hh:86
HEJ::event_type::is_resummable
constexpr bool is_resummable(EventType type)
Returns True for a HEJ EventType.
Definition:
event_types.hh:70
HEJ::event_type::is_qqbar
constexpr bool is_qqbar(EventType type)
Returns True for any qqbar event EventType.
Definition:
event_types.hh:104
HEJ::event_type::is_ex_qqbar
constexpr bool is_ex_qqbar(EventType type)
Returns True for an extremal_qqbar EventType.
Definition:
event_types.hh:92
HEJ::event_type::is_mid_qqbar
constexpr bool is_mid_qqbar(EventType type)
Returns True for an central_qqbar EventType.
Definition:
event_types.hh:98
HEJ::event_type::name
std::string name(EventType type)
Event type names.
Definition:
event_types.hh:43
HEJ
Main HEJ 2 Namespace.
Definition:
mainpage.dox:1
Generated by
1.9.5