00001 #ifndef MdcFastTrkAlg_FLAG_ 00002 #define MdcFastTrkAlg_FLAG_ 00003 00004 #include "GaudiKernel/Algorithm.h" 00005 //#include "MdcFastTrkAlg/FTFinder.h" 00006 00007 #ifndef OnlineMode 00008 #include "GaudiKernel/NTuple.h" 00009 #endif 00010 00011 #ifndef OnlineMode 00012 #include "BesTimerSvc/IBesTimerSvc.h" 00013 #include "BesTimerSvc/BesTimerSvc.h" 00014 #include <string> 00015 #endif 00016 00017 class FTFinder; 00018 class MdcFastTrkAlg:public Algorithm { 00019 public: 00020 MdcFastTrkAlg(const std::string& name, ISvcLocator* pSvcLocator); 00021 StatusCode initialize(); 00022 StatusCode execute(); 00023 StatusCode finalize(); 00024 StatusCode beginRun(); 00025 00026 private: 00027 FTFinder* m_ftFinder; 00028 double m_bunchtime_MC; 00029 double m_mdc_tcal; 00030 00031 #ifndef OnlineMode 00032 NTuple::Tuple* m_tuple; 00033 00034 IBesTimerSvc* m_timersvc; 00035 #define NTIMERS 2 00036 BesTimer* m_timer[NTIMERS]; 00037 #endif 00038 00039 }; 00040 00041 #endif /* MdcFastTrkAlg_FLAG_ */