ATLAS Offline Software
|
Atlas subclass of the G4 stacking action. More...
#include <G4AtlasStackingAction.h>
Public Member Functions | |
G4AtlasStackingAction () | |
Constructor. More... | |
G4ClassificationOfNewTrack | ClassifyNewTrack (const G4Track *track) override final |
Geant4 method for classifying a new track. More... | |
void | NewStage () override final |
Geant4 method for starting a new stack. More... | |
void | PrepareNewEvent () override final |
Geant4 method for stack preparation at new event. More... | |
void | addAction (G4UserStackingAction *action) |
Add one action to the list. More... | |
Private Attributes | |
std::vector< G4UserStackingAction * > | m_actions |
List of ATLAS stacking actions. More... | |
Atlas subclass of the G4 stacking action.
This object maintains a list of custom actions and when invoked by Geant4 will forward the call to each of them in turn.
Definition at line 28 of file G4AtlasStackingAction.h.
G4UA::G4AtlasStackingAction::G4AtlasStackingAction | ( | ) |
void G4UA::G4AtlasStackingAction::addAction | ( | G4UserStackingAction * | action | ) |
Add one action to the list.
Definition at line 60 of file G4AtlasStackingAction.cxx.
|
finaloverride |
Geant4 method for classifying a new track.
This method will forward the call onto each of the actions in its private list.
Definition at line 22 of file G4AtlasStackingAction.cxx.
|
finaloverride |
Geant4 method for starting a new stack.
Forwards the call onto each custom action.
Definition at line 38 of file G4AtlasStackingAction.cxx.
|
finaloverride |
Geant4 method for stack preparation at new event.
This method is possibly redundant so we may remove it.
Definition at line 49 of file G4AtlasStackingAction.cxx.
|
private |
List of ATLAS stacking actions.
Definition at line 56 of file G4AtlasStackingAction.h.