7#ifndef SIMCORE_G4USER_RUNACTION_H
8#define SIMCORE_G4USER_RUNACTION_H
18#include "G4UserRunAction.hh"
23#include "SimCore/UserAction.h"
64 runActions_.push_back(runAction);
68 std::vector<UserAction*> runActions_;
Interface that defines a user action.
Implementation of user run action hook.
RunAction()=default
Class constructor.
void registerAction(UserAction *runAction)
Register a user action of type RunAction with this class.
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...