00001 #ifndef TRIGGERMATCHINGTOOL_TESTMATCHINGTOOLALG_H 00002 #define TRIGGERMATCHINGTOOL_TESTMATCHINGTOOLALG_H 1 00003 00004 #include "AthAnalysisBaseComps/AthAnalysisAlgorithm.h" 00005 00006 #include "TriggerMatchingTool/IMatchingTool.h" 00007 00008 #include <map> 00009 00010 class TestMatchingToolAlg: public ::AthAnalysisAlgorithm { 00011 public: 00012 TestMatchingToolAlg( const std::string& name, ISvcLocator* pSvcLocator ) : AthAnalysisAlgorithm( name, pSvcLocator ) {} 00013 virtual ~TestMatchingToolAlg() {} 00014 00015 virtual StatusCode initialize(); 00016 virtual StatusCode execute(); 00017 virtual StatusCode finalize(); 00018 00019 private: 00020 00021 ToolHandle<Trig::IMatchingTool> m_tmt; 00022 00023 std::map<std::string,int> m_matches; 00024 00025 }; 00026 00027 #endif //> !TRIGGERMATCHINGTOOL_TESTMATCHINGTOOLALG_H