ATLAS Offline Software
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
egammaMonitorPhotonAlgorithm::m_baseName
TString m_baseName
Definition: egammaMonitorPhotonAlgorithm.h:28
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
egammaMonitorPhotonAlgorithm::m_photonsKey
SG::ReadHandleKey< xAOD::PhotonContainer > m_photonsKey
Definition: egammaMonitorPhotonAlgorithm.h:29
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
egammaMonitorPhotonAlgorithm::filltopoPhotonShowerShapes
void filltopoPhotonShowerShapes(const EventContext &ctx) const
Definition: egammaMonitorPhotonAlgorithm.cxx:32
egammaMonitorPhotonAlgorithm::egammaMonitorPhotonAlgorithm
egammaMonitorPhotonAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: egammaMonitorPhotonAlgorithm.cxx:8
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
egammaMonitorPhotonAlgorithm::m_isoKey
SG::ReadDecorHandleKeyArray< xAOD::PhotonContainer > m_isoKey
Definition: egammaMonitorPhotonAlgorithm.h:30
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
egammaMonitorPhotonAlgorithm::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: egammaMonitorPhotonAlgorithm.h:31
egammaMonitorPhotonAlgorithm::initialize
virtual StatusCode initialize() override
Definition: egammaMonitorPhotonAlgorithm.cxx:12
egammaMonitorBaseAlgorithm
Definition: egammaMonitorBaseAlgorithm.h:24
egammaMonitorPhotonAlgorithm::filltopoPhotonIsolation
void filltopoPhotonIsolation(const EventContext &ctx) const
Definition: egammaMonitorPhotonAlgorithm.cxx:89
egammaMonitorPhotonAlgorithm::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: egammaMonitorPhotonAlgorithm.cxx:24
egammaMonitorPhotonAlgorithm
Definition: egammaMonitorPhotonAlgorithm.h:13
egammaMonitorBaseAlgorithm.h
ReadDecorHandleKeyArray.h