hej
is hosted by
Hepforge
,
IPPP Durham
HEJ 2
2.0
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
include
HEJ
HepMCWriter.hh
Go to the documentation of this file.
1
9
#pragma once
10
11
#include <memory>
12
#include <string>
13
14
#include "
HEJ/EventWriter.hh
"
15
16
namespace
LHEF
{
17
class
HEPRUP;
18
}
19
20
namespace
HEJ
{
21
class
Event;
22
24
33
class
HepMCWriter
:
public
EventWriter
{
34
public
:
36
40
HepMCWriter
(std::string
const
& file, LHEF::HEPRUP heprup);
41
~HepMCWriter
()
override
=
default
;
42
44
void
write
(
Event
const
& ev)
override
;
45
46
private
:
47
struct
HepMCWriterImpl;
48
struct
HepMCWriterImplDeleter {
49
void
operator()(HepMCWriterImpl* p);
50
};
51
52
std::unique_ptr<HepMCWriterImpl, HepMCWriterImplDeleter> impl_;
53
};
54
55
}
EventWriter.hh
Header file for the EventWriter interface.
HEJ::Event
Definition:
Event.hh:84
HEJ::HepMCWriter
This is an event writer specifically for HepMC output.
Definition:
HepMCWriter.hh:33
HEJ::HepMCWriter::HepMCWriter
HepMCWriter(std::string const &file, LHEF::HEPRUP heprup)
Constructor.
HEJ::HepMCWriter::~HepMCWriter
~HepMCWriter() override=default
HEJ::HepMCWriter::write
void write(Event const &ev) override
Write an event to the output file.
HEJ
Main HEJ 2 Namespace.
Definition:
mainpage.dox:1
LHEF
Definition:
CombinedEventWriter.hh:17
HEJ::EventWriter
Pure abstract base class for event writers.
Definition:
EventWriter.hh:14
Generated by
1.9.5