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