HEJ 2.2.2
High energy resummation for hadron colliders
|
Class for writing events to a file in the Les Houches Event File format. More...
#include <LesHouchesWriter.hh>
Public Member Functions | |
LesHouchesWriter (std::string const &file, LHEF::HEPRUP heprup) | |
Constructor. More... | |
LesHouchesWriter (LesHouchesWriter const &other)=delete | |
LesHouchesWriter & | operator= (LesHouchesWriter const &other)=delete |
LesHouchesWriter (LesHouchesWriter &&other)=delete | |
LesHouchesWriter & | operator= (LesHouchesWriter &&other)=delete |
~LesHouchesWriter () override | |
void | write (Event const &ev) override |
Write an event to the file specified in the constructor. More... | |
void | set_xs_scale (double scale) override |
Set the ratio (cross section) / (sum of event weights) More... | |
void | finish () override |
Dump general information & finish writing. More... | |
Public Member Functions inherited from HEJ::EventWriter | |
virtual void | write (Event const &)=0 |
Write an event. More... | |
virtual void | set_xs_scale (double scale)=0 |
Set the ratio (cross section) / (sum of event weights) 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 |
Class for writing events to a file in the Les Houches Event File format.
HEJ::LesHouchesWriter::LesHouchesWriter | ( | std::string const & | file, |
LHEF::HEPRUP | heprup | ||
) |
Constructor.
file | Name of output file |
heprup | General process information |
|
delete |
|
delete |
|
override |
|
overridevirtual |
Dump general information & finish writing.
Reimplemented from HEJ::EventWriter.
|
delete |
|
delete |
|
overridevirtual |
Set the ratio (cross section) / (sum of event weights)
Implements HEJ::EventWriter.
|
overridevirtual |
Write an event to the file specified in the constructor.
Implements HEJ::EventWriter.