00001 // $Id: GiGaEventActionBase.h,v 1.7 2002/05/07 12:21:29 ibelyaev Exp $ 00002 // ============================================================================ 00003 // CVS tag $Name: v19r4 $ 00004 // ============================================================================ 00005 // $Log: GiGaEventActionBase.h,v $ 00006 // Revision 1.7 2002/05/07 12:21:29 ibelyaev 00007 // see $GIGAROOT/doc/release.notes 7 May 2002 00008 // 00009 // ============================================================================ 00010 #ifndef GIGA_GiGaEventActionBase_H 00011 #define GIGA_GiGaEventActionBase_H 1 00012 // ============================================================================ 00013 // base class 00014 #include "GiGa/IGiGaEventAction.h" 00015 #include "GiGa/GiGaBase.h" 00016 00017 class G4EventManager; 00018 class G4Event; 00019 00028 class GiGaEventActionBase : 00029 public virtual IGiGaEventAction , 00030 public GiGaBase 00031 { 00032 00033 protected: 00034 00042 GiGaEventActionBase 00043 ( const std::string& type , 00044 const std::string& name , 00045 const IInterface* parent ); 00046 00048 virtual ~GiGaEventActionBase() ; 00049 00050 public: 00051 00058 virtual StatusCode initialize () ; 00059 00066 virtual StatusCode finalize () ; 00067 00068 protected: 00069 00071 inline const G4EventManager* evtMgr() const 00072 { return G4UserEventAction::fpEventManager; } 00073 00074 private: 00076 GiGaEventActionBase () ; 00077 GiGaEventActionBase ( const GiGaEventActionBase& ); 00078 GiGaEventActionBase& operator=( const GiGaEventActionBase& ); 00079 00080 }; 00081 // ============================================================================ 00082 00083 // ============================================================================ 00084 // The END 00085 // ============================================================================ 00086 #endif // GIGA_GiGaEventActionBase_H 00087 // ============================================================================ 00088 00089 00090 00091 00092 00093 00094 00095 00096 00097 00098 00099 00100 00101