4#include "G4UserEventAction.hh"
Handles event begin/end callbacks and triggers digitization + streaming.
void EndOfEventAction(const G4Event *event) override
Called by Geant4 at the end of an event.
void BeginOfEventAction(const G4Event *event) override
Called by Geant4 at the beginning of an event.
GEventAction(const std::shared_ptr< GOptions > &gopt, GRunAction *run_a)
Constructs the event action.
Handles run begin/end callbacks and creates the per-thread run object.
constexpr const char * EVENTACTION_LOGGER
Declares GRunAction, responsible for run lifecycle hooks and run object creation.
Namespace collecting helpers for the event action.
GOptions defineOptions()
Returns the options associated with the event action.