8#ifndef SIMCORE_LHEPRIMARYGENERATOR_H
9#define SIMCORE_LHEPRIMARYGENERATOR_H
Class for reading LHE event data.
Header file for PrimaryGenerator.
Class encapsulating parameters for configuring a processor.
Interface that defines a simulation primary generator.
Generates a Geant4 event from an LHEEvent.
simcore::lhe::LHEReader * reader_
The LHE reader with the event data.
void RecordConfig(const std::string &id, ldmx::RunHeader &rh) override
Record the configuration of the primary generator into the run header.
virtual ~LHEPrimaryGenerator()
Class destructor.
void GeneratePrimaryVertex(G4Event *anEvent) override
Generate vertices in the Geant4 event.
std::string file_path_
path to LHE file
Reads LHE event data into an LHEEvent object.