// $Id: MyGaudiAlgorithm.h,v 1.1 2008/10/10 15:18:56 marcocle Exp $ #ifndef GAUDIEXAMPLE_MYALGORITHM_H #define GAUDIEXAMPLE_MYALGORITHM_H 1 // Include files #include "GaudiAlg/GaudiAlgorithm.h" #include "GaudiKernel/Property.h" #include "GaudiKernel/MsgStream.h" #include "GaudiKernel/ToolHandle.h" // Forward references class IMyTool; /** @class MyAlgorithm Trivial Algorithm for tutotial purposes @author nobody */ class MyGaudiAlgorithm : public GaudiAlgorithm { public: /// Constructor of this form must be provided MyGaudiAlgorithm(const std::string& name, ISvcLocator* pSvcLocator); /// Three mandatory member functions of any algorithm StatusCode initialize(); StatusCode execute(); StatusCode finalize(); private: IMyTool* m_privateTool; IMyTool* m_publicTool; IMyTool* m_privateGTool; IMyTool* m_publicGTool; std::string m_privateToolType; IMyTool* m_privateToolWithName; IMyOtherTool* m_privateOtherInterface; ToolHandle m_myPrivToolHandle; ToolHandle m_myPubToolHandle; }; #endif // GAUDIEXAMPLE_MYALGORITHM_H