![]() |
ATLAS Offline Software
|
Atlas subclass of the G4 tracking action. More...
#include <G4AtlasTrackingAction.h>
Public Member Functions | |
| G4AtlasTrackingAction () | |
| Constructor. More... | |
| void | PreUserTrackingAction (const G4Track *trk) override final |
| Geant4 method for pre-tracking action. More... | |
| void | PostUserTrackingAction (const G4Track *trk) override final |
| Geant4 method for post-tracking action. More... | |
| void | addTrackAction (G4UserTrackingAction *action) |
| Add one action to the list. More... | |
Private Attributes | |
| std::vector< G4UserTrackingAction * > | m_trackActions |
| List of ATLAS actions. More... | |
Atlas subclass of the G4 tracking action.
Maintains a list of custom tracking actions and when invoked by Geant4 will forard the call to each of them in turn.
Definition at line 27 of file G4AtlasTrackingAction.h.
| G4UA::G4AtlasTrackingAction::G4AtlasTrackingAction | ( | ) |
| void G4UA::G4AtlasTrackingAction::addTrackAction | ( | G4UserTrackingAction * | action | ) |
Add one action to the list.
Definition at line 43 of file G4AtlasTrackingAction.cxx.
|
finaloverride |
Geant4 method for post-tracking action.
This method forwards the G4 call onto each of its post-tracking ATLAS actions.
Definition at line 32 of file G4AtlasTrackingAction.cxx.
|
finaloverride |
Geant4 method for pre-tracking action.
This method forwards the G4 call onto each of its pre-tracking ATLAS actions.
Definition at line 21 of file G4AtlasTrackingAction.cxx.
|
private |
List of ATLAS actions.
Definition at line 51 of file G4AtlasTrackingAction.h.
1.8.18