hej
is hosted by
Hepforge
,
IPPP Durham
HEJ
2.2.2
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
include
HEJ
HDF5Writer.hh
Go to the documentation of this file.
1
10
#pragma once
11
12
#include <memory>
13
#include <string>
14
15
#include "
HEJ/EventWriter.hh
"
16
17
namespace
LHEF
{
18
class
HEPRUP;
19
}
20
21
namespace
HEJ
{
22
class
Event;
23
25
33
class
HDF5Writer
:
public
EventWriter
{
34
public
:
36
40
HDF5Writer
(std::string
const
& file, LHEF::HEPRUP heprup);
41
HDF5Writer
() =
delete
;
42
44
void
write
(
Event
const
& ev)
override
;
45
47
void
set_xs_scale
(
double
scale)
override
;
48
50
void
finish
()
override
;
51
52
~HDF5Writer
()
override
;
53
54
private
:
55
struct
HDF5WriterImpl;
56
57
std::unique_ptr<HDF5WriterImpl> impl_;
58
};
59
60
}
// namespace HEJ
EventWriter.hh
Header file for the EventWriter interface.
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::HDF5Writer
This is an event writer specifically for HDF5 output.
Definition:
HDF5Writer.hh:33
HEJ::HDF5Writer::set_xs_scale
void set_xs_scale(double scale) override
Set the ratio (cross section) / (sum of event weights)
HEJ::HDF5Writer::finish
void finish() override
Finish writing.
HEJ::HDF5Writer::HDF5Writer
HDF5Writer(std::string const &file, LHEF::HEPRUP heprup)
Constructor.
HEJ::HDF5Writer::HDF5Writer
HDF5Writer()=delete
HEJ::HDF5Writer::write
void write(Event const &ev) override
Write an event to the output file.
HEJ::HDF5Writer::~HDF5Writer
~HDF5Writer() override
HEJ
Main HEJ 2 Namespace.
Definition:
mainpage.dox:1
LHEF
Definition:
Analysis.hh:14
Generated by
1.9.5