|
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 (std::shared_ptr< UserAction > stackingAction) |
| Register a user action of type stacking action with this class. | |
Private Attributes | |
| std::vector< std::shared_ptr< UserAction > > | stacking_actions_ |
| 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 stacking_actions_.
|
override |
Invoked when there is a new stacking stage.
Definition at line 26 of file StackingAction.cxx.
References stacking_actions_.
|
override |
Invoked for a new event.
Definition at line 30 of file StackingAction.cxx.
References stacking_actions_.
|
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 stacking_actions_.
|
private |
Collection of user stacking actions.
Definition at line 68 of file StackingAction.h.
Referenced by ClassifyNewTrack(), NewStage(), PrepareNewEvent(), and registerAction().