HEJ 2.2.2
High energy resummation for hadron colliders
|
Event reader with internal buffer. More...
#include <BufferedEventReader.hh>
Public Member Functions | |
BufferedEventReader (std::unique_ptr< EventReader > reader) | |
bool | read_event () override |
Read an event. More... | |
std::string const & | header () const override |
Access header text. More... | |
LHEF::HEPRUP const & | heprup () const override |
Access run information. More... | |
LHEF::HEPEUP const & | hepeup () const override |
Access last read event. More... | |
std::optional< std::size_t > | number_events () const override |
Guess number of events from header. More... | |
template<class... T> | |
void | emplace (T &&... args) |
Push event back into reader. More... | |
Public Member Functions inherited from HEJ::EventReader | |
virtual bool | read_event ()=0 |
Read an event. More... | |
virtual std::string const & | header () const =0 |
Access header text. More... | |
virtual LHEF::HEPRUP const & | heprup () const =0 |
Access run information. More... | |
virtual LHEF::HEPEUP const & | hepeup () const =0 |
Access last read event. More... | |
virtual std::optional< std::size_t > | number_events () const =0 |
Guess number of events from header. More... | |
virtual double | scalefactor () const |
virtual | ~EventReader ()=default |
Event reader with internal buffer.
Having a buffer makes it possible to put events back into the reader so that they are read again
|
inlineexplicit |
|
inline |
Push event back into reader.
|
inlineoverridevirtual |
Access header text.
Implements HEJ::EventReader.
|
inlineoverridevirtual |
Access last read event.
Implements HEJ::EventReader.
|
inlineoverridevirtual |
Access run information.
Implements HEJ::EventReader.
|
inlineoverridevirtual |
Guess number of events from header.
Implements HEJ::EventReader.
|
overridevirtual |
Read an event.
Implements HEJ::EventReader.