7#ifndef SIMCORE_G4USER_STACKINGACTION_H
8#define SIMCORE_G4USER_STACKINGACTION_H
18#include "G4UserStackingAction.hh"
23#include "SimCore/UserAction.h"
Interface that defines a user action.
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(UserAction *stackingAction)
Register a user action of type stacking action with this class.
std::vector< UserAction * > stackingActions_
Collection of user stacking actions.
StackingAction()=default
Constructor.
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...