4 // Class that ensures additional call to sensitive detector
5 // when track crosses geometrical boundary.
7 #ifndef TG4_STEPPING_ACTION_H
8 #define TG4_STEPPING_ACTION_H
10 #include <G4UserSteppingAction.hh>
14 class TG4SteppingAction : public G4UserSteppingAction
19 // TG4SteppingAction(const TG4SteppingAction& right);
20 virtual ~TG4SteppingAction();
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);
30 TG4SteppingAction(const TG4SteppingAction& right);
33 TG4SteppingAction& operator=(const TG4SteppingAction& right);
36 #endif //TG4_STEPPING_ACTION_H