00001 00002 #ifndef TRIGTAUMACTHING_EXAMPLE_H_ 00003 #define TRIGTAUMACTHING_EXAMPLE_H_ 00004 00005 #include "AthenaBaseComps/AthAlgorithm.h" 00006 #include "GaudiKernel/ToolHandle.h" 00007 00008 #include "TrigTauMatching/ITrigTauMatching.h" 00009 #include "TrigDecisionTool/TrigDecisionTool.h" 00010 00011 00012 class TrigTauMatching_example : public AthAlgorithm 00013 { 00014 00015 public: 00016 TrigTauMatching_example(const std::string &name, 00017 ISvcLocator *svcLoc); 00018 00019 virtual StatusCode initialize(); 00020 virtual StatusCode execute(); 00021 virtual StatusCode finalize(); 00022 00023 private: 00024 Long64_t m_eventCount; 00025 std::pair<int, int> m_tauEvents; 00026 std::pair<int, int> m_diTauEvents; 00027 ToolHandle<Trig::TrigDecisionTool> m_trigDecTool; 00028 ToolHandle<Trig::ITrigTauMatchingTool> m_matchTool; 00029 }; 00030 00031 #endif