00001 00011 #ifndef _SIM15_H_ 00012 #define _SIM15_H_ 00013 00014 00015 #include "GaudiAlg/GaudiAlgorithm.h" 00016 #include "ValidationTree.h" 00017 #include "GaudiKernel/IEventProcessor.h" 00018 #include <string> 00019 00020 // Fifteen begin 00021 #include "Stage/IStage.h" 00022 // Fifteen end 00023 00024 class IStageDataManager; 00025 00026 class Sim15 : public GaudiAlgorithm 00027 { 00028 00029 public: 00030 00031 Sim15(const std::string& name, ISvcLocator* pSvcLocator); 00032 virtual ~Sim15(); 00033 00034 virtual StatusCode initialize(); 00035 virtual StatusCode execute(); 00036 virtual StatusCode finalize(); 00037 00038 private: 00040 std::string m_TopStageName; 00041 int m_TopStageNum; // Faster comparison than string 00042 IStage* m_TopStage; 00044 00045 TimeStamp m_StartTime; 00046 TimeStamp m_CurrTime; 00047 double m_TimeRange; 00048 IEventProcessor* m_EvtLoopMgr; 00049 00051 bool m_monitor; 00052 ValidationTree* m_valiTree; 00053 int m_counter; 00054 00055 00056 IStageDataManager* m_sdmgr; 00057 }; 00058 00059 #endif // _SIM15_H_