ATLAS Offline Software
G4AtlasTrackingAction.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef G4ATLASTOOLS__G4UA_G4ATLASTRACKINGACTION_H
6 #define G4ATLASTOOLS__G4UA_G4ATLASTRACKINGACTION_H
7 
8 // STL includes
9 #include <vector>
10 
11 // Geant4 includes
12 #include "G4UserTrackingAction.hh"
13 
14 namespace G4UA
15 {
16 
27  class G4AtlasTrackingAction : public G4UserTrackingAction
28  {
29 
30  public:
31 
34 
38  void PreUserTrackingAction(const G4Track* trk) override final;
39 
43  void PostUserTrackingAction(const G4Track* trk) override final;
44 
46  void addTrackAction(G4UserTrackingAction* action);
47 
48  private:
49 
51  std::vector<G4UserTrackingAction*> m_trackActions;
52 
53  }; // class G4AtlasTrackingAction
54 
55 } // namespace G4UA
56 
57 #endif
G4UA
for nSW
Definition: CalibrationDefaultProcessing.h:19
G4UA::G4AtlasTrackingAction::G4AtlasTrackingAction
G4AtlasTrackingAction()
Constructor.
Definition: G4AtlasTrackingAction.cxx:14
G4UA::G4AtlasTrackingAction::PostUserTrackingAction
void PostUserTrackingAction(const G4Track *trk) override final
Geant4 method for post-tracking action.
Definition: G4AtlasTrackingAction.cxx:32
G4UA::G4AtlasTrackingAction::PreUserTrackingAction
void PreUserTrackingAction(const G4Track *trk) override final
Geant4 method for pre-tracking action.
Definition: G4AtlasTrackingAction.cxx:21
G4UA::G4AtlasTrackingAction
Atlas subclass of the G4 tracking action.
Definition: G4AtlasTrackingAction.h:28
G4UA::G4AtlasTrackingAction::addTrackAction
void addTrackAction(G4UserTrackingAction *action)
Add one action to the list.
Definition: G4AtlasTrackingAction.cxx:43
G4UA::G4AtlasTrackingAction::m_trackActions
std::vector< G4UserTrackingAction * > m_trackActions
List of ATLAS actions.
Definition: G4AtlasTrackingAction.h:51
python.CaloScaleNoiseConfig.action
action
Definition: CaloScaleNoiseConfig.py:77