7#ifndef SIMCORE_G4USER_EVENTACTION_H
8#define SIMCORE_G4USER_EVENTACTION_H
18#include "G4UserEventAction.hh"
23#include "SimCore/UserAction.h"
74 eventActions_.push_back(eventAction);
78 std::vector<UserAction*> eventActions_;
Interface that defines a user action.
Implementation of user event action hook.
virtual ~EventAction()=default
Class destructor.
EventAction()=default
Class constructor.
void registerAction(UserAction *eventAction)
Register a user action of type EventAction with this class.
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...