hej
is hosted by
Hepforge
,
IPPP Durham
HEJ 2
2.0
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
include
HEJ
event_types.hh
Go to the documentation of this file.
1
9
#pragma once
10
11
#include "
HEJ/utility.hh
"
12
13
namespace
HEJ
{
14
16
namespace
event_type{
18
enum
EventType
:
size_t
{
19
FKL
,
20
unordered_backward
,
21
unordered_forward
,
22
nonHEJ
,
23
no_2_jets
,
24
bad_final_state
,
25
unob
=
unordered_backward
,
26
unof
=
unordered_forward
,
27
first_type
=
FKL
,
28
last_type
=
bad_final_state
29
};
30
32
35
static
constexpr
auto
names =
make_array
(
36
"FKL"
,
37
"unordered backward"
,
38
"unordered forward"
,
39
"nonHEJ"
,
40
"no 2 jets"
,
41
"bad final state"
42
);
43
44
inline
45
bool
is_HEJ
(
EventType
type) {
46
switch
(type) {
47
case
FKL
:
48
case
unordered_backward
:
49
case
unordered_forward
:
50
return
true
;
51
default
:
52
return
false
;
53
}
54
}
55
56
inline
57
bool
is_uno
(
EventType
type) {
58
return
type ==
unordered_backward
|| type ==
unordered_forward
;
59
}
60
61
}
62
63
}
HEJ::event_type::EventType
EventType
Possible event types.
Definition:
event_types.hh:18
HEJ::event_type::FKL
@ FKL
Definition:
event_types.hh:19
HEJ::event_type::no_2_jets
@ no_2_jets
Definition:
event_types.hh:23
HEJ::event_type::bad_final_state
@ bad_final_state
Definition:
event_types.hh:24
HEJ::event_type::nonHEJ
@ nonHEJ
Definition:
event_types.hh:22
HEJ::event_type::last_type
@ last_type
Definition:
event_types.hh:28
HEJ::event_type::unob
@ unob
Definition:
event_types.hh:25
HEJ::event_type::unordered_forward
@ unordered_forward
Definition:
event_types.hh:21
HEJ::event_type::first_type
@ first_type
Definition:
event_types.hh:27
HEJ::event_type::unordered_backward
@ unordered_backward
Definition:
event_types.hh:20
HEJ::event_type::unof
@ unof
Definition:
event_types.hh:26
HEJ::event_type::is_HEJ
bool is_HEJ(EventType type)
Definition:
event_types.hh:45
HEJ::event_type::is_uno
bool is_uno(EventType type)
Definition:
event_types.hh:57
HEJ
Main HEJ 2 Namespace.
Definition:
mainpage.dox:1
HEJ::make_array
constexpr std::array< T, 1+sizeof...(U)> make_array(T t, U &&... rest)
Create an array containing the passed arguments.
Definition:
utility.hh:33
utility.hh
Contains various utilities.
Generated by
1.9.5