// This code implementation is the intellectual property of // the RD44 GEANT4 collaboration. // // By copying, distributing or modifying the Program (or any work // based on the Program) you indicate your acceptance of this statement, // and all its terms. // // $Id: G4UserEventAction.hh,v 1.2 1999/04/09 03:04:00 asaim Exp $ // GEANT4 tag $Name: geant4-00-01 $ // // // #ifndef G4UserEventAction_h #define G4UserEventAction_h 1 class G4EventManager; class G4Event; class G4UserEventAction { public: G4UserEventAction() {;} virtual ~G4UserEventAction() {;} inline void SetEventManager(G4EventManager* value) { fpEventManager = value; } virtual void BeginOfEventAction(const G4Event* anEvent); virtual void EndOfEventAction(const G4Event* anEvent); protected: G4EventManager* fpEventManager; }; #endif