12#include "SimCore/G4User/TrackMap.h"
28 for (
auto& event_action : event_actions_) {
29 event_action->BeginOfEventAction(event);
35 for (
auto& event_action : event_actions_) {
36 event_action->EndOfEventAction(event);
Class which implements the Geant4 user event action.
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...
Dynamically loadable photonuclear models either from SimCore or external libraries implementing this ...