#ifndef YOURSTEPPINGACTION_HH #define YOURSTEPPINGACTION_HH #include "G4UserSteppingAction.hh" class YourDetectorConstruction; class YourEventAction; class YourSteppingAction : public G4UserSteppingAction { public: YourSteppingAction(YourDetectorConstruction* det, YourEventAction* evtAct); virtual ~YourSteppingAction(); virtual void UserSteppingAction(const G4Step* stp); private: YourDetectorConstruction* fDetector; YourEventAction* fEvtAct; }; #endif // YOURSTEPPINGACTION_HH