#ifndef LGSteppingAction_h #define LGSteppingAction_h 1 #include "globals.hh" #include "G4UserSteppingAction.hh" #include "TH1.h" #include "TH2.h" class LGDetectorConstruction; class LGEventAction; class LGSteppingAction : public G4UserSteppingAction { public: LGSteppingAction(LGEventAction*, G4double, G4int, TH1F**, TH2F**, G4int); ~LGSteppingAction(); void UserSteppingAction(const G4Step*);// a pure virtual method private: LGEventAction* event_Action; G4double zGlass; G4int QE; // quantum efficiency flag TH1F **Spec; // pointer to spectrum pointers to count cerenkov photons, angle etc. TH2F **Spec2d; // pointer to 2d-spectrum pointers G4int LGBendFirst; }; #endif /*LGSteppingAction_h*/