hej
is hosted by
Hepforge
,
IPPP Durham
HEJ
2.2.2
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
include
HEJ
CombinedEventWriter.hh
Go to the documentation of this file.
1
8
#pragma once
9
10
#include <memory>
11
#include <vector>
12
13
#include "
HEJ/EventWriter.hh
"
14
15
namespace
LHEF
{
16
class
HEPRUP;
17
}
18
19
namespace
HEJ
{
20
class
Event;
21
struct
OutputFile;
22
24
class
CombinedEventWriter
:
public
EventWriter
{
25
public
:
27
33
CombinedEventWriter
(
34
std::vector<OutputFile>
const
& outfiles,
35
LHEF::HEPRUP
const
& heprup
36
);
37
~CombinedEventWriter
()
override
;
38
40
void
write
(
Event
const
&
/*ev*/
)
override
;
41
43
void
set_xs_scale
(
double
scale)
override
;
44
47
void
finish
()
override
;
48
49
private
:
50
std::vector<std::unique_ptr<EventWriter>> writers_;
51
};
52
53
}
// namespace HEJ
EventWriter.hh
Header file for the EventWriter interface.
HEJ::CombinedEventWriter
Write event output to zero or more output files.
Definition:
CombinedEventWriter.hh:24
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::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.5