ATLAS Offline Software
Loading...
Searching...
No Matches
egammaMonitorPhotonAlgorithm.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 egammaMonitorPhotonAlgorithm_H
6#define egammaMonitorPhotonAlgorithm_H
7
9
11
13{
14
15 public:
16
17 egammaMonitorPhotonAlgorithm(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 filltopoPhotonShowerShapes(const EventContext& ctx) const;
24 void filltopoPhotonIsolation(const EventContext& ctx) const;
25
26 private:
27
28 TString m_baseName;
29 SG::ReadHandleKey<xAOD::PhotonContainer> m_photonsKey{this, "PhotonKey", "Photons", ""};
30 SG::ReadDecorHandleKeyArray<xAOD::PhotonContainer> m_isoKey{this, "IsoVarKeys", { }, "The list of isolation variables to be monitored"};
31 ToolHandle<GenericMonitoringTool> m_monTool{this, "MonTool", "", "Monitoring tool"};
32};
33
34#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
egammaMonitorBaseAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
void filltopoPhotonIsolation(const EventContext &ctx) const
ToolHandle< GenericMonitoringTool > m_monTool
egammaMonitorPhotonAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< xAOD::PhotonContainer > m_photonsKey
virtual StatusCode execute(const EventContext &ctx) const override
void filltopoPhotonShowerShapes(const EventContext &ctx) const
virtual StatusCode initialize() override
SG::ReadDecorHandleKeyArray< xAOD::PhotonContainer > m_isoKey
DecorHandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader > ReadDecorHandleKeyArray