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

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

#include <HepMC2Writer.hh>

Inheritance diagram for HEJ::HepMC2Writer:
Collaboration diagram for HEJ::HepMC2Writer:

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...
 
 ~HepMC2Writer () 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

This is an event writer specifically for HepMC output.

Constructor & Destructor Documentation

◆ HepMC2Writer() [1/2]

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

Constructor.

Parameters
filename of the output file
heprupgeneral process information

◆ HepMC2Writer() [2/2]

HEJ::HepMC2Writer::HepMC2Writer ( )
delete

◆ ~HepMC2Writer()

HEJ::HepMC2Writer::~HepMC2Writer ( )
override

Member Function Documentation

◆ write()

void HEJ::HepMC2Writer::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: