hej is hosted by Hepforge, IPPP Durham
HEJ 2 2.0
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
CombinedEventWriter.hh
Go to the documentation of this file.
1
9#pragma once
10
11#include <memory>
12#include <vector>
13
14#include "HEJ/EventWriter.hh"
15#include "HEJ/output_formats.hh"
16
17namespace LHEF{
18 struct HEPRUP;
19}
20
21namespace HEJ{
22
25 public:
27
34 std::vector<OutputFile> const & outfiles,
35 LHEF::HEPRUP const & heprup
36 );
37
39 void write(Event const &) override;
40
41 private:
42 std::vector<std::unique_ptr<EventWriter>> writers_;
43 };
44
45}
Header file for the EventWriter interface.
Write event output to zero or more output files.
Definition: CombinedEventWriter.hh:24
void write(Event const &) override
Write one event to all output files.
CombinedEventWriter(std::vector< OutputFile > const &outfiles, LHEF::HEPRUP const &heprup)
Constructor.
Definition: Event.hh:84
Main HEJ 2 Namespace.
Definition: mainpage.dox:1
Definition: CombinedEventWriter.hh:17
Defines formats for output to event files.
Pure abstract base class for event writers.
Definition: EventWriter.hh:14