7#ifndef SIMCORE_G4USER_STACKINGACTION_H
8#define SIMCORE_G4USER_STACKINGACTION_H
18#include "G4UserStackingAction.hh"
File holding UserAction prototype and supporting macro.
Class implementing a user stacking action.
void PrepareNewEvent() override
Invoked for a new event.
G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *track) override
Classify a new track.
void registerAction(std::shared_ptr< UserAction > stackingAction)
Register a user action of type stacking action with this class.
StackingAction()=default
Constructor.
std::vector< std::shared_ptr< UserAction > > stacking_actions_
Collection of user stacking actions.
void NewStage() override
Invoked when there is a new stacking stage.
virtual ~StackingAction()=default
Destructor.
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 ...