SLIC  6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
LHEReader.hh
Go to the documentation of this file.
1 
7 #ifndef SLIC_LHEREADER_HH_
8 #define SLIC_LHEREADER_HH_
9 
10 // LDMX
11 #include "LHEEvent.hh"
12 
13 // STL
14 #include <fstream>
15 
16 namespace slic {
17 
22 class LHEReader {
23 
24  public:
25 
30  LHEReader(const std::string& fileName);
31 
35  virtual ~LHEReader();
36 
42 
43  private:
44 
48  std::ifstream ifs_;
49 };
50 
51 }
52 
53 #endif
LHE event with a list of particles and information from the header block.
Definition: LHEEvent.hh:26
Reads LHE event data into an LHEEvent object.
Definition: LHEReader.hh:22
std::ifstream ifs_
Definition: LHEReader.hh:48
virtual ~LHEReader()
Definition: LHEReader.cc:14
LHEEvent * readNextEvent()
Definition: LHEReader.cc:18
LHEReader(const std::string &fileName)
Definition: LHEReader.cc:9