|
SLIC
6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
|
Generates a Geant4 event from an LHEEvent. More...
#include <LHEPrimaryGenerator.hh>
Public Member Functions | |
| LHEPrimaryGenerator (LHEReader *reader) | |
| virtual | ~LHEPrimaryGenerator () |
| void | GeneratePrimaryVertex (G4Event *anEvent) |
Private Attributes | |
| LHEReader * | reader_ |
Generates a Geant4 event from an LHEEvent.
Definition at line 22 of file LHEPrimaryGenerator.hh.
| LHEPrimaryGenerator | ( | LHEReader * | reader | ) |
Class constructor.
| reader | The LHE reader with the event data. |
Definition at line 17 of file LHEPrimaryGenerator.cc.
|
virtual |
Class destructor.
Definition at line 21 of file LHEPrimaryGenerator.cc.
References LHEPrimaryGenerator::reader_.
| void GeneratePrimaryVertex | ( | G4Event * | anEvent | ) |
Generate vertices in the Geant4 event.
| anEvent | The Geant4 event. |
Definition at line 25 of file LHEPrimaryGenerator.cc.
References LOG::endl, LHEParticle::getIDUP(), LHEParticle::getISTUP(), LHEParticle::getMother(), LHEEvent::getParticles(), LHEParticle::getPUP(), LHEParticle::getVTIMUP(), LHEEvent::getXWGTUP(), LHEPrimaryGenerator::reader_, and LHEReader::readNextEvent().
Referenced by LHEEventSource::generate().
|
private |
The LHE reader with the event data.
Definition at line 48 of file LHEPrimaryGenerator.hh.
Referenced by LHEPrimaryGenerator::~LHEPrimaryGenerator(), and LHEPrimaryGenerator::GeneratePrimaryVertex().