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
CombinedEventWriter.hh
Go to the documentation of this file.
1
8
#pragma once
9
10
#include <memory>
11
#include <string_view>
12
#include <vector>
13
14
#include "
HEJ/EventWriter.hh
"
15
16
namespace
LHEF
{
17
class
HEPRUP;
18
}
19
20
namespace
HEJ
{
21
class
Event;
22
struct
OutputFile;
23
25
class
CombinedEventWriter
:
public
EventWriter
{
26
public
:
28
34
CombinedEventWriter
(
35
std::vector<OutputFile>
const
& outfiles,
36
LHEF::HEPRUP
const
& heprup
37
);
39
46
CombinedEventWriter
(
47
std::vector<OutputFile>
const
& outfiles,
48
LHEF::HEPRUP
const
& heprup,
49
std::string_view config
50
);
51
~CombinedEventWriter
()
override
;
52
54
void
write
(
Event
const
&
/*ev*/
)
override
;
55
57
void
set_xs_scale
(
double
scale)
override
;
58
61
void
finish
()
override
;
62
63
private
:
64
std::vector<std::unique_ptr<EventWriter>> writers_;
65
};
66
67
}
// namespace HEJ
EventWriter.hh
Header file for the EventWriter interface.
HEJ::CombinedEventWriter
Write event output to zero or more output files.
Definition:
CombinedEventWriter.hh:25
HEJ::CombinedEventWriter::write
void write(Event const &) override
Write one event to all output files.
HEJ::CombinedEventWriter::CombinedEventWriter
CombinedEventWriter(std::vector< OutputFile > const &outfiles, LHEF::HEPRUP const &heprup)
Constructor.
HEJ::CombinedEventWriter::~CombinedEventWriter
~CombinedEventWriter() override
HEJ::CombinedEventWriter::finish
void finish() override
HEJ::CombinedEventWriter::CombinedEventWriter
CombinedEventWriter(std::vector< OutputFile > const &outfiles, LHEF::HEPRUP const &heprup, std::string_view config)
Constructor.
HEJ::CombinedEventWriter::set_xs_scale
void set_xs_scale(double scale) override
Set the ratio (cross section) / (sum of event weights)
HEJ::EventWriter
Pure abstract base class for event writers.
Definition:
EventWriter.hh:16
HEJ::Event
An event with clustered jets.
Definition:
Event.hh:51
HEJ
Main HEJ 2 Namespace.
Definition:
mainpage.dox:1
LHEF
Definition:
Analysis.hh:14
Generated by
1.9.1