Loading [MathJax]/extensions/tex2jax.js
hej
is hosted by
Hepforge
,
IPPP Durham
HEJ
2.3.0
High energy resummation for hadron colliders
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
c
d
f
g
h
i
j
l
m
n
o
p
r
s
t
Variables
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
s
t
u
w
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Typedefs
Related Functions
Files
File List
File Members
All
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
include
HEJ
EventWriter.hh
Go to the documentation of this file.
1
8
#pragma once
9
10
#include <string>
11
12
namespace
HEJ
{
13
class
Event;
14
16
class
EventWriter
{
17
public
:
19
virtual
void
write
(
Event
const
&) = 0;
20
22
virtual
void
set_xs_scale
(
double
scale) = 0;
23
26
virtual
void
finish
(){finished_=
true
;};
27
28
virtual
~EventWriter
() =
default
;
29
protected
:
37
void
finish_or_abort
(
38
EventWriter
* writer, std::string
const
&
name
39
)
const
noexcept;
40
bool
finished
()
const
{
return
finished_;};
41
private
:
42
bool
finished_ =
false
;
43
};
44
45
}
// namespace HEJ
HEJ::EventWriter
Pure abstract base class for event writers.
Definition:
EventWriter.hh:16
HEJ::EventWriter::set_xs_scale
virtual void set_xs_scale(double scale)=0
Set the ratio (cross section) / (sum of event weights)
HEJ::EventWriter::finished
bool finished() const
Definition:
EventWriter.hh:40
HEJ::EventWriter::finish_or_abort
void finish_or_abort(EventWriter *writer, std::string const &name) const noexcept
If writer is not finished run finish() and abort on error.
HEJ::EventWriter::write
virtual void write(Event const &)=0
Write an event.
HEJ::EventWriter::finish
virtual void finish()
Definition:
EventWriter.hh:26
HEJ::EventWriter::~EventWriter
virtual ~EventWriter()=default
HEJ::Event
An event with clustered jets.
Definition:
Event.hh:51
HEJ::event_type::name
std::string name(EventType type)
Event type names.
Definition:
event_types.hh:57
HEJ
Main HEJ 2 Namespace.
Definition:
mainpage.dox:1
Generated by
1.9.1