7#ifndef SIMCORE_G4USER_EVENTACTION_H
8#define SIMCORE_G4USER_EVENTACTION_H
18#include "G4UserEventAction.hh"
74 event_actions_.push_back(eventAction);
78 std::vector<std::shared_ptr<UserAction>> event_actions_;
File holding UserAction prototype and supporting macro.
Implementation of user event action hook.
virtual ~EventAction()=default
Class destructor.
void registerAction(std::shared_ptr< UserAction > eventAction)
Register a user action of type EventAction with this class.
EventAction()=default
Class constructor.
void BeginOfEventAction(const G4Event *event)
Implementation of begin of event hook.
void EndOfEventAction(const G4Event *event)
Implementation of end of event hook.
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 ...