Class that extends the functionality of G4ParticleGun.
int verbosity_
LDMX Verbosity for this generator.
void GeneratePrimaryVertex(G4Event *event) override
Generate the primary vertices in the Geant4 event.
virtual ~ParticleGun()=default
Destructor.
G4ParticleGun theGun_
The actual Geant4 implementation of the ParticleGun.
void RecordConfig(const std::string &id, ldmx::RunHeader &rh) override
Record the configuration of the primary generator into the run header.