4#include "G4VUserActionInitialization.hh"
79class GAction :
public GBase<GAction>,
public G4VUserActionInitialization {
87 GAction(std::shared_ptr<GOptions> gopts, std::shared_ptr<gdynamicdigitization::dRoutinesMap> digi_map);
99 void Build()
const override;
123 std::shared_ptr<gdynamicdigitization::dRoutinesMap> digitization_routines_map;
Registers GEMC user actions for worker and master threads.
GAction(std::shared_ptr< GOptions > gopts, std::shared_ptr< gdynamicdigitization::dRoutinesMap > digi_map)
Constructs the action initializer.
void Build() const override
Registers user actions for worker threads (and sequential mode).
void BuildForMaster() const override
Registers user actions for the master thread.
Declares GEventAction, responsible for per-event lifecycle hooks and event publication.
Declares GPrimaryGeneratorAction, the primary particle generation action.
Declares GRunAction, responsible for run lifecycle hooks and run object creation.
Declares GRun, the per-thread run container.
constexpr const char * GACTION_LOGGER
Namespace collecting helpers for the actions subsystem.
GOptions defineOptions()
Builds and returns the complete set of options required by the actions subsystem.
GOptions defineOptions()
Returns the options associated with the event action.
GOptions defineOptions()
Returns the options associated with the primary generator action.
GOptions defineOptions()
Returns the options associated with the run container scope.
GOptions defineOptions()
Returns the options associated with the run action.