hej is hosted by Hepforge, IPPP Durham
HEJ 2.1.4
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
HEJ::CombinedEventWriter Class Reference

Write event output to zero or more output files. More...

#include <CombinedEventWriter.hh>

Inheritance diagram for HEJ::CombinedEventWriter:
Collaboration diagram for HEJ::CombinedEventWriter:

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
 

Detailed Description

Write event output to zero or more output files.

Constructor & Destructor Documentation

◆ CombinedEventWriter()

HEJ::CombinedEventWriter::CombinedEventWriter ( std::vector< OutputFile > const &  outfiles,
LHEF::HEPRUP const &  heprup 
)

Constructor.

Parameters
outfilesSpecifies files output should be written to. Each entry in the vector contains a file name and output format.
heprupGeneral process information

◆ ~CombinedEventWriter()

HEJ::CombinedEventWriter::~CombinedEventWriter ( )
override

Member Function Documentation

◆ finish()

void HEJ::CombinedEventWriter::finish ( )
overridevirtual

Finish writing, e.g. write out general informations at end of run

Warning
using the writer after finishing is not guaranteed to work

Reimplemented from HEJ::EventWriter.

◆ write()

void HEJ::CombinedEventWriter::write ( Event const &  )
overridevirtual

Write one event to all output files.

Implements HEJ::EventWriter.


The documentation for this class was generated from the following file: