SLIC  6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
LHEPrimaryGenerator.hh
Go to the documentation of this file.
1 
7 #ifndef SLIC_LHEPRIMARYGENERATOR_HH_
8 #define SLIC_LHEPRIMARYGENERATOR_HH_
9 
10 // Geant4
11 #include "G4VPrimaryGenerator.hh"
12 
13 // LDMX
14 #include "LHEReader.hh"
15 
16 namespace slic {
17 
22 class LHEPrimaryGenerator: public G4VPrimaryGenerator {
23 
24  public:
25 
31 
35  virtual ~LHEPrimaryGenerator();
36 
41  void GeneratePrimaryVertex(G4Event* anEvent);
42 
43  private:
44 
49 };
50 
51 }
52 
53 #endif
Generates a Geant4 event from an LHEEvent.
void GeneratePrimaryVertex(G4Event *anEvent)
LHEPrimaryGenerator(LHEReader *reader)
Reads LHE event data into an LHEEvent object.
Definition: LHEReader.hh:22