14#include "SimCore/TrackMap.h"
20#include "G4RunManager.hh"
30 for (
auto& eventAction : eventActions_) {
31 eventAction->BeginOfEventAction(event);
37 for (
auto& eventAction : eventActions_) {
38 eventAction->EndOfEventAction(event);
Class which implements the Geant4 user event action.
Class providing a Geant4 run manager implementation.
Class which implements the user tracking action.
void clear()
Clear the internal maps.
void BeginOfEventAction(const G4Event *event)
Implementation of begin of event hook.
void EndOfEventAction(const G4Event *event)
Implementation of end of event hook.
TrackMap & getTrackMap()
Get a handle to the current TrackMap for the event.
static TrackingAction * get()
Get a pointer to the current UserTrackingAction from the G4RunManager.
This namespace is meant to contain all the standard user actions that allow a Geant4 user to interfac...