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 beamspot_y_size_
Extent of the beamspot in y_.
double beamspot_x_size_
Extent of the beamspot in x_.
double beamspot_z_size_
Extent of the beamspot in y_.
bool use_beamspot_
Flag denoting whether the vertex position of a particle should be smeared.
void GeneratePrimaries(G4Event *event) override
Generate primaries for the event.
virtual ~PrimaryGeneratorAction()=default
Class destructor.
bool time_shift_primaries_
Should we time-shift so that the primary vertices arrive (or originate) at t=0ns at z_=0mm?