LDMX Software
|
Class implementing a user stacking action. More...
#include <StackingAction.h>
Public Member Functions | |
StackingAction ()=default | |
Constructor. | |
virtual | ~StackingAction ()=default |
Destructor. | |
G4ClassificationOfNewTrack | ClassifyNewTrack (const G4Track *track) override |
Classify a new track. | |
void | NewStage () override |
Invoked when there is a new stacking stage. | |
void | PrepareNewEvent () override |
Invoked for a new event. | |
void | registerAction (UserAction *stackingAction) |
Register a user action of type stacking action with this class. | |
Private Attributes | |
std::vector< UserAction * > | stackingActions_ |
Collection of user stacking actions. | |
Class implementing a user stacking action.
Definition at line 32 of file StackingAction.h.
|
override |
Classify a new track.
aTrack | The track to classify. |
Definition at line 6 of file StackingAction.cxx.
References stackingActions_.
|
override |
Invoked when there is a new stacking stage.
Definition at line 25 of file StackingAction.cxx.
References stackingActions_.
|
override |
Invoked for a new event.
Definition at line 29 of file StackingAction.cxx.
References stackingActions_.
|
inline |
Register a user action of type stacking action with this class.
action | User action of type StackingAction |
Definition at line 62 of file StackingAction.h.
References stackingActions_.
|
private |
Collection of user stacking actions.
Definition at line 68 of file StackingAction.h.
Referenced by ClassifyNewTrack(), NewStage(), PrepareNewEvent(), and registerAction().