ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
TrigAnalysis
TriggerMatchingTool
src
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
8
#include "
AthAnalysisBaseComps/AthAnalysisAlgorithm.h
"
9
10
#include "
TriggerMatchingTool/IMatchingTool.h
"
11
12
#include <map>
13
14
class
TestMatchingToolAlg
:
public
::AthAnalysisAlgorithm
{
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.h
IMatchingTool.h
AthAnalysisAlgorithm::AthAnalysisAlgorithm
AthAnalysisAlgorithm(const std::string &name)
Constructor taking just a name.
Definition
AthAnalysisAlgorithm.cxx:19
TestMatchingToolAlg::m_tmt
ToolHandle< Trig::IMatchingTool > m_tmt
Definition
TestMatchingToolAlg.h:25
TestMatchingToolAlg::~TestMatchingToolAlg
virtual ~TestMatchingToolAlg()
Definition
TestMatchingToolAlg.h:17
TestMatchingToolAlg::m_matches
std::map< std::string, int > m_matches
Definition
TestMatchingToolAlg.h:27
TestMatchingToolAlg::finalize
virtual StatusCode finalize()
Definition
TestMatchingToolAlg.cxx:110
TestMatchingToolAlg::TestMatchingToolAlg
TestMatchingToolAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TestMatchingToolAlg.h:16
TestMatchingToolAlg::execute
virtual StatusCode execute()
Definition
TestMatchingToolAlg.cxx:18
TestMatchingToolAlg::initialize
virtual StatusCode initialize()
Definition
TestMatchingToolAlg.cxx:12
Generated on
for ATLAS Offline Software by
1.14.0