00001 00012 #ifndef STAGEPULLER_H 00013 #define STAGEPULLER_H 00014 00015 00016 #include "Stage/IStage.h" 00017 00018 #include "Context/TimeStamp.h" 00019 00020 #include "GaudiAlg/GaudiAlgorithm.h" 00021 #include "GaudiKernel/ToolHandle.h" 00022 00023 #include <string> 00024 00025 class StagePuller : public GaudiAlgorithm 00026 { 00027 00028 public: 00029 00030 StagePuller(const std::string& name, ISvcLocator* pSvcLocator); 00031 virtual ~StagePuller(); 00032 00033 virtual StatusCode initialize(); 00034 virtual StatusCode execute(); 00035 virtual StatusCode finalize(); 00036 00037 private: 00038 00040 ToolHandle<IStage> m_stage; 00041 00048 int m_runTimeSeconds; 00049 TimeStamp m_startTime; 00050 }; 00051 00052 #endif // STAGEPULLER_H