hej is hosted by Hepforge, IPPP Durham
HEJ 2.2.2
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
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
17namespace LHEF {
18 class HEPRUP;
19}
20
21namespace 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
Header file for the EventWriter interface.
Pure abstract base class for event writers.
Definition: EventWriter.hh:16
An event with clustered jets.
Definition: Event.hh:51
This is an event writer specifically for HDF5 output.
Definition: HDF5Writer.hh:33
void set_xs_scale(double scale) override
Set the ratio (cross section) / (sum of event weights)
void finish() override
Finish writing.
HDF5Writer(std::string const &file, LHEF::HEPRUP heprup)
Constructor.
HDF5Writer()=delete
void write(Event const &ev) override
Write an event to the output file.
~HDF5Writer() override
Main HEJ 2 Namespace.
Definition: mainpage.dox:1
Definition: Analysis.hh:14