hej
is hosted by
Hepforge
,
IPPP Durham
HEJ
2.1.4
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
include
HEJ
HDF5Reader.hh
Go to the documentation of this file.
1
8
#pragma once
9
10
#include <memory>
11
#include <string>
12
13
#include "
HEJ/EventReader.hh
"
14
15
namespace
HEJ
{
16
18
21
class
HDF5Reader
:
public
EventReader
{
22
public
:
23
HDF5Reader
() =
delete
;
24
26
explicit
HDF5Reader
(std::string
const
& filename);
27
29
bool
read_event
()
override
;
30
32
std::string
const
&
header
()
const override
;
33
35
LHEF::HEPRUP
const
&
heprup
()
const override
;
36
38
LHEF::HEPEUP
const
&
hepeup
()
const override
;
39
41
optional<size_t>
number_events
()
const override
;
42
43
~HDF5Reader
()
override
;
44
45
private
:
46
struct
HDF5ReaderImpl;
47
48
std::unique_ptr<HDF5ReaderImpl> impl_;
49
};
50
51
}
// namespace HEJ
EventReader.hh
Header file for event reader interface.
HEJ::HDF5Reader
Class for reading events from a file in the HDF5 file format.
Definition:
HDF5Reader.hh:21
HEJ::HDF5Reader::hepeup
LHEF::HEPEUP const & hepeup() const override
Access last read event.
HEJ::HDF5Reader::HDF5Reader
HDF5Reader(std::string const &filename)
Contruct object reading from the given file.
HEJ::HDF5Reader::HDF5Reader
HDF5Reader()=delete
HEJ::HDF5Reader::heprup
LHEF::HEPRUP const & heprup() const override
Access run information.
HEJ::HDF5Reader::read_event
bool read_event() override
Read an event.
HEJ::HDF5Reader::~HDF5Reader
~HDF5Reader() override
HEJ::HDF5Reader::header
std::string const & header() const override
Access header text.
HEJ::HDF5Reader::number_events
optional< size_t > number_events() const override
Get number of events.
HEJ
Main HEJ 2 Namespace.
Definition:
mainpage.dox:1
HEJ::optional
boost::optional< T > optional
Definition:
optional.hh:23
HEJ::EventReader
Abstract base class for reading events from files.
Definition:
EventReader.hh:26
Generated by
1.9.5