LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ArtG4SteppingAction.hh
Go to the documentation of this file.
1 // ArtG4SteppingAction.hh provides declarations for the built-in
2 // stepping action for the Art G4 simulation. In its main method,
3 // UserSteppingAction, it gets a collection of all action objects from
4 // the Action Holder service and loops over them, calling their
5 // respective UserSteppingAction methods.
6 
7 // Authors: Tasha Arvanitis, Adam Lyon
8 // Date: July 2012
9 
10 #ifndef artg4tk_geantInit_ArtG4SteppingAction_hh
11 #define artg4tk_geantInit_ArtG4SteppingAction_hh
12 
13 #include "Geant4/G4UserSteppingAction.hh"
14 
15 // Everything goes in the Art G4 namespace
16 namespace artg4tk {
17  class ActionHolderService;
18 
19  // Declaration of the class
20  class ArtG4SteppingAction : public G4UserSteppingAction {
21  public:
23 
24  private:
25  // Called at the end of each step (I think; the documentation is vague)
26  void UserSteppingAction(const G4Step*) override;
27 
29  };
30 }
31 
32 #endif /* artg4tk_geantInit_ArtG4SteppingAction_hh */
void UserSteppingAction(const G4Step *) override
ArtG4SteppingAction(ActionHolderService *)
ActionHolderService * actionHolder_