HEJ 2.1.4
High energy resummation for hadron colliders
|
Les Houches Event file reader for LHE files created by Sherpa. More...
#include <LesHouchesReader.hh>
Public Member Functions | |
SherpaLHEReader (std::string const &filename) | |
Inialise Reader for a Sherpa LHE file. More... | |
bool | read_event () override |
Read an event. More... | |
optional< size_t > | number_events () const override |
Guess number of events from header. More... | |
Public Member Functions inherited from HEJ::LesHouchesReader | |
LesHouchesReader (std::string const &filename) | |
Contruct object reading from the given file. More... | |
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... | |
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 optional< std::size_t > | number_events () const |
Guess number of events from header. More... | |
virtual | ~EventReader ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from HEJ::LesHouchesReader | |
LHEF::Reader & | reader () |
Underlying reader. More... | |
Les Houches Event file reader for LHE files created by Sherpa.
In Sherpa the cross section is given by sum(weights)/(number of trials). This EventReader converts the weights such that cross section=sum(weights)
|
explicit |
Inialise Reader for a Sherpa LHE file.
|
inlineoverridevirtual |
Guess number of events from header.
Reimplemented from HEJ::EventReader.
|
overridevirtual |
Read an event.
Reimplemented from HEJ::LesHouchesReader.