]>
Commit | Line | Data |
---|---|---|
6fc5df41 | 1 | // $Id$ |
2 | // Category: event | |
3 | // | |
4 | // Class that ensures additional call to sensitive detector | |
5 | // when track crosses geometrical boundary. | |
6 | ||
7 | #ifndef TG4_STEPPING_ACTION_H | |
8 | #define TG4_STEPPING_ACTION_H | |
9 | ||
10 | #include <G4UserSteppingAction.hh> | |
6fc5df41 | 11 | |
12 | class G4Step; | |
13 | ||
14 | class TG4SteppingAction : public G4UserSteppingAction | |
15 | { | |
16 | public: | |
17 | TG4SteppingAction(); | |
18 | // --> protected | |
19 | // TG4SteppingAction(const TG4SteppingAction& right); | |
20 | virtual ~TG4SteppingAction(); | |
21 | ||
22 | // methods | |
23 | virtual void SteppingAction(const G4Step* step) {;} | |
24 | // the following method should not | |
25 | // be overwritten in a derived class | |
26 | virtual void UserSteppingAction(const G4Step* step); | |
27 | ||
28 | ||
29 | protected: | |
30 | TG4SteppingAction(const TG4SteppingAction& right); | |
31 | ||
32 | // operators | |
33 | TG4SteppingAction& operator=(const TG4SteppingAction& right); | |
34 | }; | |
35 | ||
36 | #endif //TG4_STEPPING_ACTION_H |