ATLAS Offline Software
TrigEgammaMatchingToolMTTest.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 #ifndef TrigEgammaMatchingToolMTTest_H
7 #define TrigEgammaMatchingToolMTTest_H
8 
9 
15 #include <vector>
16 #include <string>
17 
18 
20  public:
21 
22  TrigEgammaMatchingToolMTTest( const std::string& name, ISvcLocator* pSvcLocator );
23  virtual StatusCode initialize() override;
24  virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
25 
26  private:
27 
28 
29  void inspect(const std::string&, const xAOD::Egamma *) const ;
30 
31  SG::ReadHandleKey<xAOD::ElectronContainer> m_electronKey{this , "ElectronKey", "Electrons", ""};
32 
33  ToolHandle<Trig::TrigDecisionTool> m_trigdec;
34  ToolHandle<TrigEgammaMatchingToolMT> m_matchTool;
35 
36 
37  std::vector<std::string> m_triggerList;
38 };
39 
40 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TrigEgammaMatchingToolMT.h
TrigEgammaMatchingToolMTTest
Definition: TrigEgammaMatchingToolMTTest.h:19
TrigEgammaMatchingToolMTTest::initialize
virtual StatusCode initialize() override
initialize
Definition: TrigEgammaMatchingToolMTTest.cxx:28
TrigDecisionTool.h
xAOD::Egamma_v1
Definition: Egamma_v1.h:56
SG::ReadHandleKey< xAOD::ElectronContainer >
TrigEgammaMatchingToolMTTest::m_electronKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronKey
Definition: TrigEgammaMatchingToolMTTest.h:31
TrigEgammaMatchingToolMTTest::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: TrigEgammaMatchingToolMTTest.cxx:125
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
ElectronContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
TrigEgammaMatchingToolMTTest::inspect
void inspect(const std::string &, const xAOD::Egamma *) const
Definition: TrigEgammaMatchingToolMTTest.cxx:45
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrigEgammaMatchingToolMTTest::m_triggerList
std::vector< std::string > m_triggerList
Definition: TrigEgammaMatchingToolMTTest.h:37
TrigEgammaMatchingToolMTTest::m_matchTool
ToolHandle< TrigEgammaMatchingToolMT > m_matchTool
Definition: TrigEgammaMatchingToolMTTest.h:34
TrigEgammaMatchingToolMTTest::m_trigdec
ToolHandle< Trig::TrigDecisionTool > m_trigdec
Definition: TrigEgammaMatchingToolMTTest.h:33
TrigEgammaMatchingToolMTTest::TrigEgammaMatchingToolMTTest
TrigEgammaMatchingToolMTTest(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigEgammaMatchingToolMTTest.cxx:14