00001 #ifndef EventFilter_H 00002 #define EventFilter_H 00003 00004 #include "GaudiKernel/Algorithm.h" 00005 00006 class HltInf; 00007 00008 class EventFilter: public Algorithm{ 00009 public: 00010 EventFilter(const std::string& name, ISvcLocator* pSvcLocator); 00011 virtual ~EventFilter(); 00012 00013 StatusCode initialize(); 00014 StatusCode execute(); 00015 00016 static const std::string& getName() { return m_type;}; 00017 static long unsigned getNEvt() { return m_nTotalEvent;}; 00018 static long unsigned getNPass() { return m_npass;}; 00019 static bool getResult() {return m_efResult;}; 00020 00021 void print(HltInf*); 00022 00023 private: 00024 static std::string m_type; 00025 static long unsigned m_nTotalEvent; 00026 static long unsigned m_npass; 00027 static bool m_efResult; 00028 00029 bool m_trgFlag; 00030 int m_outputLevel; 00031 std::vector<std::string> m_chn; 00032 bool m_example; 00033 }; 00034 #endif //EventFilter_H