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

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

#include <HDF5Writer.hh>

Inheritance diagram for HEJ::HDF5Writer:
Collaboration diagram for HEJ::HDF5Writer:

Public Member Functions

 HDF5Writer (std::string const &file, LHEF::HEPRUP heprup)
 Constructor. More...
 
 HDF5Writer ()=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...
 
 ~HDF5Writer () 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 HDF5 output.

Constructor & Destructor Documentation

◆ HDF5Writer() [1/2]

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

Constructor.

Parameters
filename of the output file
heprupgeneral process information

◆ HDF5Writer() [2/2]

HEJ::HDF5Writer::HDF5Writer ( )
delete

◆ ~HDF5Writer()

HEJ::HDF5Writer::~HDF5Writer ( )
override

Member Function Documentation

◆ finish()

void HEJ::HDF5Writer::finish ( )
overridevirtual

Finish writing.

Reimplemented from HEJ::EventWriter.

◆ set_xs_scale()

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

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

Implements HEJ::EventWriter.

◆ write()

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