|
SLIC
6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
|
Reads LHE event data into an LHEEvent object. More...
#include <LHEReader.hh>
Public Member Functions | |
| LHEReader (const std::string &fileName) | |
| virtual | ~LHEReader () |
| LHEEvent * | readNextEvent () |
Private Attributes | |
| std::ifstream | ifs_ |
Reads LHE event data into an LHEEvent object.
Definition at line 22 of file LHEReader.hh.
| LHEReader | ( | const std::string & | fileName | ) |
Class constructor.
| fileName | The input file name. |
Definition at line 9 of file LHEReader.cc.
References LOG::endl, and LHEReader::ifs_.
|
virtual |
| LHEEvent * readNextEvent | ( | ) |
Read the next event.
Definition at line 18 of file LHEReader.cc.
References LHEEvent::addParticle(), LOG::endl, LHEParticle::getMOTHUP(), LHEEvent::getParticles(), LHEReader::ifs_, and LHEParticle::setMother().
Referenced by LHEPrimaryGenerator::GeneratePrimaryVertex().
|
private |
The input file stream.
Definition at line 48 of file LHEReader.hh.
Referenced by LHEReader::LHEReader(), LHEReader::~LHEReader(), and LHEReader::readNextEvent().