ATLAS Offline Software
Loading...
Searching...
No Matches
egammaMonitorElectronAlgorithm.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef egammaMonitorElectronAlgorithm_H
6#define egammaMonitorElectronAlgorithm_H
7
9
11
13{
14
15 public:
16
17 egammaMonitorElectronAlgorithm(const std::string& name, ISvcLocator* pSvcLocator);
18 virtual StatusCode initialize() override;
19 virtual StatusCode execute(const EventContext& ctx) const override;
20
21 protected:
22
23 void filltopoElectronTrackCaloMatch(const EventContext& ctx) const;
24 void filltopoElectronShowerShapes(const EventContext& ctx) const;
25 void filltopoElectronIsolation(const EventContext& ctx) const;
26
27 private:
28
29 TString m_baseName;
30 SG::ReadHandleKey<xAOD::ElectronContainer> m_electronsKey{this, "ElectronKey", "Electrons", ""};
31 SG::ReadDecorHandleKeyArray<xAOD::ElectronContainer> m_isoKey{this, "IsoVarKeys", { }, "The list of isolation variables to be monitored"};
32 ToolHandle<GenericMonitoringTool> m_monTool{this, "MonTool", "", "Monitoring tool"};
33};
34
35
36
37#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
egammaMonitorBaseAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronsKey
ToolHandle< GenericMonitoringTool > m_monTool
virtual StatusCode execute(const EventContext &ctx) const override
egammaMonitorElectronAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
void filltopoElectronTrackCaloMatch(const EventContext &ctx) const
void filltopoElectronIsolation(const EventContext &ctx) const
void filltopoElectronShowerShapes(const EventContext &ctx) const
SG::ReadDecorHandleKeyArray< xAOD::ElectronContainer > m_isoKey
DecorHandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader > ReadDecorHandleKeyArray