7#ifndef SIMCORE_G4USER_RUNACTION_H
8#define SIMCORE_G4USER_RUNACTION_H
18#include "G4UserRunAction.hh"
64 run_actions_.push_back(runAction);
68 std::vector<std::shared_ptr<UserAction>> run_actions_;
File holding UserAction prototype and supporting macro.
Implementation of user run action hook.
void registerAction(std::shared_ptr< UserAction > runAction)
Register a user action of type RunAction with this class.
RunAction()=default
Class constructor.
void EndOfRunAction(const G4Run *run)
Implementation of end run hook.
void BeginOfRunAction(const G4Run *run)
Implementation of begin run hook.
virtual ~RunAction()=default
Class destructor.
This namespace is meant to contain all the standard user actions that allow a Geant4 user to interfac...
Dynamically loadable photonuclear models either from SimCore or external libraries implementing this ...