SLIC  6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
StackingAction.hh
Go to the documentation of this file.
1 #ifndef SLIC_STACKINGACTION_HH_
2 #define SLIC_STACKINGACTION_HH_ 1
3 
5 
6 #include "globals.hh"
7 #include "G4UserStackingAction.hh"
8 
9 namespace slic {
10 
22 class StackingAction: public G4UserStackingAction, public PluginManagerAccessor {
23 
24  public:
26  virtual ~StackingAction();
27 
28  public:
29 
30  G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track* aTrack);
31 
32  void NewStage();
33 
34  void PrepareNewEvent();
35 };
36 
37 }
38 
39 #endif
40 
Mixin for accessing the PluginManager.
Implemention of Geant4's G4UserStackingAction.
G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack)