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

This is an event writer specifically for HepMC3 output. More...

#include <HepMC3Writer.hh>

Inheritance diagram for HEJ::HepMC3Writer:
Collaboration diagram for HEJ::HepMC3Writer:

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
 

Detailed Description

This is an event writer specifically for HepMC3 output.

Constructor & Destructor Documentation

◆ HepMC3Writer() [1/2]

HEJ::HepMC3Writer::HepMC3Writer ( std::string const &  file,
LHEF::HEPRUP  heprup 
)

Constructor.

Parameters
filename of the output file
heprupgeneral process information

◆ HepMC3Writer() [2/2]

HEJ::HepMC3Writer::HepMC3Writer ( )
delete

◆ ~HepMC3Writer()

HEJ::HepMC3Writer::~HepMC3Writer ( )
override

Member Function Documentation

◆ finish()

void HEJ::HepMC3Writer::finish ( )
overridevirtual

Finish writing.

Reimplemented from HEJ::EventWriter.

◆ set_xs_scale()

void HEJ::HepMC3Writer::set_xs_scale ( double  scale)
overridevirtual

Set the ratio (cross section) / (sum of event weights)

Implements HEJ::EventWriter.

◆ write()

void HEJ::HepMC3Writer::write ( Event const &  ev)
overridevirtual

Write an event to the output file.

Implements HEJ::EventWriter.


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