7#ifndef SIMCORE_G4USER_PRIMARYGENERATORACTION_H
8#define SIMCORE_G4USER_PRIMARYGENERATORACTION_H
19#include "G4VUserPrimaryGeneratorAction.hh"
24#include "Framework/Configure/Parameters.h"
29namespace simcore::g4user {
Class encapsulating parameters for configuring a processor.
Implementation of Geant4 primary generator action.
double beamspotXSize_
Extent of the beamspot in x.
double beamspotYSize_
Extent of the beamspot in y.
double beamspotZSize_
Extent of the beamspot in y.
void GeneratePrimaries(G4Event *event) override
Generate primaries for the event.
virtual ~PrimaryGeneratorAction()=default
Class destructor.
bool useBeamspot_
Flag denoting whether the vertex position of a particle should be smeared.
bool time_shift_primaries_
Should we time-shift so that the primary vertices arrive (or originate) at t=0ns at z=0mm?