// $Id: ReadData.h,v 1.2 2003/04/21 22:48:25 fine Exp $ #include #include "GaudiKernel/Algorithm.h" class StoreGateSvc; ///////////////////////////////////////////////////////////////////////////// class ReadData:public Algorithm { public: ReadData (const std::string& name, ISvcLocator* pSvcLocator); StatusCode initialize(); StatusCode execute(); StatusCode finalize(); private: StoreGateSvc* p_SGevent; // cache for efficiency. std::string m_DataObjLoc; // default myDataObj name // more examples vector and map std::string m_VFLoc; std::string m_MSFLoc; };