00001 #ifndef BesTofTrig_h 00002 #define BesTofTrig_h 1 00003 #include <vector> 00004 00005 using namespace std; 00006 #include "Trigger/TofHitCount.h" 00007 00008 class IBesGlobalTrigSvc; 00009 class BesGlobalTrigSvc; 00010 00011 class BesTofTrig{ 00012 public: 00013 BesTofTrig(); 00014 ~BesTofTrig(); 00015 void startTofTrig(); 00016 00017 inline std::vector<int>& GetbHitpos() { return bHitpos; } 00018 inline std::vector<int>& GetecapHitpos() { return ecapHitpos; } 00019 inline std::vector<int>& GetwcapHitpos() { return wcapHitpos; } 00020 private: 00021 TofHitCount* m_TofHitCount; 00022 bool NBTOF1,NBTOF2,NETOF1,NETOF2,NTOF1; 00023 bool TBB,ETBB; 00024 std::vector<int> bHitpos; 00025 std::vector<int> ecapHitpos; 00026 std::vector<int> wcapHitpos; 00027 00028 BesGlobalTrigSvc* m_pIBGT; 00029 IBesGlobalTrigSvc* m_tmpSvc; 00030 00031 }; 00032 #endif