LDMX Software
LHEReader.h
Go to the documentation of this file.
1
7#ifndef SIMCORE_LHEREADER_H_
8#define SIMCORE_LHEREADER_H_
9
10// LDMX
12
13// STL
14#include <fstream>
15
16namespace simcore::lhe {
17
22class LHEReader {
23 public:
28 LHEReader(std::string& fileName);
29
33 virtual ~LHEReader();
34
40
41 private:
45 std::ifstream ifs_;
46};
47
48} // namespace simcore::lhe
49
50#endif
Class defining an LHE event with a list of particles and information from the header block.
LHE event with a list of particles and information from the header block.
Definition LHEEvent.h:29
Reads LHE event data into an LHEEvent object.
Definition LHEReader.h:22
std::ifstream ifs_
The input file stream.
Definition LHEReader.h:45
virtual ~LHEReader()
Class destructor.
Definition LHEReader.cxx:13
LHEEvent * readNextEvent()
Read the next event.
Definition LHEReader.cxx:15