HEJ 2.2.2
High energy resummation for hadron colliders
|
This is an event writer specifically for HepMC3 output. More...
#include <HepMC3Writer.hh>
Public Member Functions | |
HepMC3Writer (std::string const &file, LHEF::HEPRUP heprup) | |
Constructor. More... | |
HepMC3Writer ()=delete | |
void | write (Event const &ev) override |
Write an event to the output file. More... | |
void | set_xs_scale (double scale) override |
Set the ratio (cross section) / (sum of event weights) More... | |
void | finish () override |
Finish writing. More... | |
~HepMC3Writer () override | |
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 |
This is an event writer specifically for HepMC3 output.
HEJ::HepMC3Writer::HepMC3Writer | ( | std::string const & | file, |
LHEF::HEPRUP | heprup | ||
) |
Constructor.
file | name of the output file |
heprup | general process information |
|
delete |
|
override |
|
overridevirtual |
Finish writing.
Reimplemented from HEJ::EventWriter.
|
overridevirtual |
Set the ratio (cross section) / (sum of event weights)
Implements HEJ::EventWriter.
|
overridevirtual |
Write an event to the output file.
Implements HEJ::EventWriter.