hej
is hosted by
Hepforge
,
IPPP Durham
HEJ
2.2.2
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
include
HEJ
StatusCode.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
{
16
enum
StatusCode
{
17
good
,
18
discard
,
19
empty_jets
,
20
failed_reshuffle
,
21
failed_resummation_cuts
,
22
failed_split
,
23
too_much_energy
,
24
gluon_in_qqbar
,
25
wrong_jets
,
26
unspecified
// should never appear
27
};
28
31
inline
std::string
to_string
(
StatusCode
s){
32
switch
(s){
33
case
good
:
return
"good"
;
34
case
discard
:
return
"discard"
;
35
case
empty_jets
:
return
"empty jets"
;
36
case
failed_reshuffle
:
return
"failed reshuffle"
;
37
case
failed_resummation_cuts
:
return
"below cuts"
;
38
case
failed_split
:
return
"failed split"
;
39
case
too_much_energy
:
return
"too much energy"
;
40
case
gluon_in_qqbar
:
return
"gluon inside qqbar"
;
41
case
wrong_jets
:
return
"wrong jets"
;
42
case
unspecified
:
return
"unspecified"
;
43
default
:{}
44
}
45
throw
std::logic_error{
"unreachable"
};
46
}
47
}
// namespace HEJ
exceptions.hh
Custom exception classes.
HEJ
Main HEJ 2 Namespace.
Definition:
mainpage.dox:1
HEJ::to_string
std::string to_string(Event const &ev)
HEJ::StatusCode
StatusCode
Possible status codes from the event generation.
Definition:
StatusCode.hh:16
HEJ::discard
@ discard
Definition:
StatusCode.hh:18
HEJ::failed_split
@ failed_split
Definition:
StatusCode.hh:22
HEJ::unspecified
@ unspecified
Definition:
StatusCode.hh:26
HEJ::empty_jets
@ empty_jets
Definition:
StatusCode.hh:19
HEJ::failed_reshuffle
@ failed_reshuffle
Definition:
StatusCode.hh:20
HEJ::failed_resummation_cuts
@ failed_resummation_cuts
Definition:
StatusCode.hh:21
HEJ::good
@ good
Definition:
StatusCode.hh:17
HEJ::wrong_jets
@ wrong_jets
Definition:
StatusCode.hh:25
HEJ::too_much_energy
@ too_much_energy
Definition:
StatusCode.hh:23
HEJ::gluon_in_qqbar
@ gluon_in_qqbar
Definition:
StatusCode.hh:24
Generated by
1.9.5