]>
Commit | Line | Data |
---|---|---|
676fb573 | 1 | // $Id$ |
2 | // Category: event | |
3 | // | |
30bf1ed6 | 4 | // Author: I. Hrivnacova |
5 | // | |
6 | // Class AliSteppingAction | |
7 | // ----------------------- | |
8 | // Class takes care of stopping particles | |
9 | // if they get outside of user defined tracking region | |
10 | // (in AliRun). | |
676fb573 | 11 | |
12 | #ifndef ALI_STEPPING_ACTION_H | |
13 | #define ALI_STEPPING_ACTION_H | |
14 | ||
30bf1ed6 | 15 | #include "AliSteppingActionMessenger.h" |
9bcb6317 | 16 | |
30bf1ed6 | 17 | #include "TG4SteppingAction.h" |
676fb573 | 18 | |
676fb573 | 19 | |
9bcb6317 | 20 | class AliSteppingAction : public TG4SteppingAction |
676fb573 | 21 | { |
676fb573 | 22 | public: |
23 | AliSteppingAction(); | |
676fb573 | 24 | virtual ~AliSteppingAction(); |
25 | ||
26 | // methods | |
9bcb6317 | 27 | virtual void SteppingAction(const G4Step* step); |
676fb573 | 28 | |
676fb573 | 29 | private: |
30bf1ed6 | 30 | AliSteppingActionMessenger fMessenger; //messenger |
676fb573 | 31 | }; |
32 | ||
676fb573 | 33 | #endif //ALI_STEPPING_ACTION_H |
34 |