]>
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> | |
11 | #include <globals.hh> | |
12 | ||
13 | class G4Step; | |
14 | ||
15 | class TG4SteppingAction : public G4UserSteppingAction | |
16 | { | |
17 | public: | |
18 | TG4SteppingAction(); | |
19 | // --> protected | |
20 | // TG4SteppingAction(const TG4SteppingAction& right); | |
21 | virtual ~TG4SteppingAction(); | |
22 | ||
23 | // methods | |
24 | virtual void SteppingAction(const G4Step* step) {;} | |
25 | // the following method should not | |
26 | // be overwritten in a derived class | |
27 | virtual void UserSteppingAction(const G4Step* step); | |
28 | ||
29 | ||
30 | protected: | |
31 | TG4SteppingAction(const TG4SteppingAction& right); | |
32 | ||
33 | // operators | |
34 | TG4SteppingAction& operator=(const TG4SteppingAction& right); | |
35 | }; | |
36 | ||
37 | #endif //TG4_STEPPING_ACTION_H |