00001 // 00002 // Count hits number of certain sector in MDC, for Bhabha 00003 // 00004 // Created by Chengdong Fu, June 8,2007 00005 // 00006 00007 #ifndef EFSectorHits_H 00008 #define EFSectorHits_H 00009 00010 #include "HltDataTypes/CriteriaItemValue.h" 00011 #include "HltAlgorithms/IEFAlgorithm.h" 00012 00013 class EFSectorHits: public IEFAlgorithm{ 00014 public: 00015 EFSectorHits(const std::string& name, ISvcLocator* pSvcLocator); 00016 virtual ~EFSectorHits(); 00017 virtual StatusCode initialize(); 00018 StatusCode execute(); 00019 StatusCode finalize(); 00020 void reset(); 00021 private: 00022 bool WhetherSector(float,float=0.,float=6.2831852); 00023 private: 00024 CriteriaItemValue* m_nsec; 00025 static int idmax[43]; 00026 00027 }; 00028 #endif //EFSectorHits_H