#ifndef ExR05RunAction_h #define ExR05RunAction_h 1 #include "G4UserRunAction.hh" #include "globals.hh" class G4Run; class RecorderBase; class ExR05RunAction : public G4UserRunAction { public: // If the constructor is called with a RecordBase arguement, // then we'll perform some record keeping in the user action classes. ExR05RunAction(RecorderBase* r = 0); virtual ~ExR05RunAction(); public: virtual void BeginOfRunAction(const G4Run* aRun); virtual void EndOfRunAction(const G4Run* aRun); private: G4int runIDcounter; // Save the RecorderBase object to be called at the beginning // and end of the run. RecorderBase * recorder; }; #endif