hej is hosted by Hepforge, IPPP Durham
HEJ 2.1.4
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
HepMC3Writer.hh
Go to the documentation of this file.
1
8#pragma once
9
10#include <memory>
11#include <string>
12
13#include "HEJ/EventWriter.hh"
14
15namespace LHEF {
16 class HEPRUP;
17}
18
19namespace HEJ {
20 class Event;
21
23
33 public:
35
39 HepMC3Writer(std::string const & file, LHEF::HEPRUP heprup);
40 HepMC3Writer() = delete;
41
43 void write(Event const & ev) override;
44
46 void finish() override;
47
48 ~HepMC3Writer() override;
49 private:
50 struct HepMC3WriterImpl;
51
52 std::unique_ptr<HepMC3WriterImpl> impl_;
53 };
54
55} // 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:47
This is an event writer specifically for HepMC3 output.
Definition: HepMC3Writer.hh:32
HepMC3Writer()=delete
~HepMC3Writer() override
void write(Event const &ev) override
Write an event to the output file.
void finish() override
Finish writing.
HepMC3Writer(std::string const &file, LHEF::HEPRUP heprup)
Constructor.
Main HEJ 2 Namespace.
Definition: mainpage.dox:1
Definition: Analysis.hh:14