ATLAS Offline Software
TestMatchingToolAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGGERMATCHINGTOOL_TESTMATCHINGTOOLALG_H
6 #define TRIGGERMATCHINGTOOL_TESTMATCHINGTOOLALG_H 1
7 
9 
11 
12 #include <map>
13 
15  public:
16  TestMatchingToolAlg( const std::string& name, ISvcLocator* pSvcLocator ) : AthAnalysisAlgorithm( name, pSvcLocator ) {}
17  virtual ~TestMatchingToolAlg() {}
18 
19  virtual StatusCode initialize();
20  virtual StatusCode execute();
21  virtual StatusCode finalize();
22 
23  private:
24 
25  ToolHandle<Trig::IMatchingTool> m_tmt;
26 
27  std::map<std::string,int> m_matches;
28 
29 };
30 
31 #endif //> !TRIGGERMATCHINGTOOL_TESTMATCHINGTOOLALG_H
AthAnalysisAlgorithm
Definition: AthAnalysisAlgorithm.h:34
TestMatchingToolAlg
Definition: TestMatchingToolAlg.h:14
TestMatchingToolAlg::m_tmt
ToolHandle< Trig::IMatchingTool > m_tmt
Definition: TestMatchingToolAlg.h:25
TestMatchingToolAlg::finalize
virtual StatusCode finalize()
Definition: TestMatchingToolAlg.cxx:110
TestMatchingToolAlg::execute
virtual StatusCode execute()
Definition: TestMatchingToolAlg.cxx:18
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TestMatchingToolAlg::TestMatchingToolAlg
TestMatchingToolAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TestMatchingToolAlg.h:16
AthAnalysisAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TestMatchingToolAlg::initialize
virtual StatusCode initialize()
Definition: TestMatchingToolAlg.cxx:12
IMatchingTool.h
TestMatchingToolAlg::m_matches
std::map< std::string, int > m_matches
Definition: TestMatchingToolAlg.h:27
TestMatchingToolAlg::~TestMatchingToolAlg
virtual ~TestMatchingToolAlg()
Definition: TestMatchingToolAlg.h:17