HEJ 2.1.4
High energy resummation for hadron colliders
|
Write event output to zero or more output files. More...
#include <CombinedEventWriter.hh>
Public Member Functions | |
CombinedEventWriter (std::vector< OutputFile > const &outfiles, LHEF::HEPRUP const &heprup) | |
Constructor. More... | |
~CombinedEventWriter () override | |
void | write (Event const &) override |
Write one event to all output files. More... | |
void | finish () override |
Public Member Functions inherited from HEJ::EventWriter | |
virtual void | write (Event const &)=0 |
Write an event. More... | |
virtual void | finish () |
virtual | ~EventWriter ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from HEJ::EventWriter | |
void | finish_or_abort (EventWriter *writer, std::string const &name) const noexcept |
If writer is not finished run finish() and abort on error. More... | |
bool | finished () const |
Write event output to zero or more output files.
HEJ::CombinedEventWriter::CombinedEventWriter | ( | std::vector< OutputFile > const & | outfiles, |
LHEF::HEPRUP const & | heprup | ||
) |
Constructor.
outfiles | Specifies files output should be written to. Each entry in the vector contains a file name and output format. |
heprup | General process information |
|
override |
|
overridevirtual |
Finish writing, e.g. write out general informations at end of run
Reimplemented from HEJ::EventWriter.
|
overridevirtual |
Write one event to all output files.
Implements HEJ::EventWriter.