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