SLIC  6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
SteppingAction.hh
Go to the documentation of this file.
1 #ifndef SLIC_STEPPINGACTION_HH_
2 #define SLIC_STEPPINGACTION_HH_ 1
3 
4 // SLIC
5 #include "Module.hh"
7 
8 // Geant4
9 #include "G4UserSteppingAction.hh"
10 #include "G4Track.hh"
11 #include "G4Step.hh"
12 #include "G4StepPoint.hh"
13 
14 class UserRegionInformation;
15 
16 namespace slic {
17 
22 class SteppingAction: public G4UserSteppingAction, public Module, public PluginManagerAccessor {
23 
24  public:
25 
30 
34  virtual ~SteppingAction();
35 
40  void UserSteppingAction(const G4Step* step);
41 
47  bool isBackScattering(const G4Step* step);
48 
49  private:
50 
55  void checkKillTrack(const G4Step* step);
56 };
57 }
58 
59 #endif
Base class for slic code modules that provides common functionality, such as logging to an output str...
Definition: Module.hh:25
Mixin for accessing the PluginManager.
Implementation of G4UserSteppingAction.
void UserSteppingAction(const G4Step *step)
bool isBackScattering(const G4Step *step)
void checkKillTrack(const G4Step *step)