Page MenuHomeHEPForge

No OneTemporary

diff --git a/include/HEJ/event_types.hh b/include/HEJ/event_types.hh
index 7a2353c..6ace1a7 100644
--- a/include/HEJ/event_types.hh
+++ b/include/HEJ/event_types.hh
@@ -1,69 +1,72 @@
/** \file
* \brief Define different types of events.
*
*/
#pragma once
#include "HEJ/utility.hh"
namespace HEJ{
//! Namespace for event types
namespace event_type{
//! Possible event types
enum EventType: size_t{
FKL, /**< FKL-type event */
unordered_backward, /**< event with unordered backward emission */
unordered_forward, /**< event with unordered forward emission */
extremal_qqxb, /**< event with a backward extremal qqbar */
extremal_qqxf, /**< event with a forward extremal qqbar */
central_qqx, /**< event with a central qqbar */
nonHEJ, /**< event configuration not covered by HEJ */
no_2_jets, /**< event with less than two jets */
bad_final_state, /**< event with an unsupported final state */
unob = unordered_backward,
unof = unordered_forward,
qqxexb = extremal_qqxb,
qqxexf = extremal_qqxf,
qqxmid = central_qqx,
first_type = FKL,
last_type = bad_final_state
};
//! Event type names
/**
* For example, names[FKL] is the string "FKL"
*/
static constexpr auto names = make_array(
"FKL",
"unordered backward",
"unordered forward",
"extremal qqbar backward",
"extremal qqbar forward",
"central qqbar",
"nonHEJ",
"no 2 jets",
"bad final state"
);
inline
bool is_HEJ(EventType type) {
switch(type) {
case FKL:
case unordered_backward:
case unordered_forward:
+ case extremal_qqxb:
+ case extremal_qqxf:
+ case central_qqx:
return true;
default:
return false;
}
}
inline
bool is_uno(EventType type) {
return type == unordered_backward || type == unordered_forward;
}
}
}

File Metadata

Mime Type
text/x-diff
Expires
Mon, Jan 20, 8:40 PM (16 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4242305
Default Alt Text
(2 KB)

Event Timeline