hej
is hosted by
Hepforge
,
IPPP Durham
HEJ
2.2.2
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
include
HEJ
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
15
namespace
LHEF
{
16
class
HEPRUP;
17
}
18
19
namespace
HEJ
{
20
class
Event;
21
23
32
class
HepMC3Writer
:
public
EventWriter
{
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
set_xs_scale
(
double
scale)
override
;
47
49
void
finish
()
override
;
50
51
~HepMC3Writer
()
override
;
52
private
:
53
struct
HepMC3WriterImpl;
54
55
std::unique_ptr<HepMC3WriterImpl> impl_;
56
};
57
58
}
// 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::HepMC3Writer
This is an event writer specifically for HepMC3 output.
Definition:
HepMC3Writer.hh:32
HEJ::HepMC3Writer::HepMC3Writer
HepMC3Writer()=delete
HEJ::HepMC3Writer::~HepMC3Writer
~HepMC3Writer() override
HEJ::HepMC3Writer::write
void write(Event const &ev) override
Write an event to the output file.
HEJ::HepMC3Writer::set_xs_scale
void set_xs_scale(double scale) override
Set the ratio (cross section) / (sum of event weights)
HEJ::HepMC3Writer::finish
void finish() override
Finish writing.
HEJ::HepMC3Writer::HepMC3Writer
HepMC3Writer(std::string const &file, LHEF::HEPRUP heprup)
Constructor.
HEJ
Main HEJ 2 Namespace.
Definition:
mainpage.dox:1
LHEF
Definition:
Analysis.hh:14
Generated by
1.9.5