ATLAS Offline Software
DecoratePhotonPointingAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PHOTONVERTEXSELECTION_DECORATEPHOTONPOINTINGALG_H
6 #define PHOTONVERTEXSELECTION_DECORATEPHOTONPOINTINGALG_H
7 
10 #include <AsgTools/ToolHandle.h>
13 
22  public:
23  DecoratePhotonPointingAlg(const std::string& name,
24  ISvcLocator* svcLoc = nullptr);
25 
26  virtual StatusCode initialize() override;
27  StatusCode execute() override;
28 
29  private:
31  this, "PhotonContainerKey", "Photons", "The input Photons container (it can be also Electrons)"};
32 
33  ToolHandle<CP::IPhotonPointingTool> m_pointingTool{
34  this, "PhotonPointingTool",
35  "CP::PhotonPointingTool/PhotonPointingTool", ""};
36 };
37 
38 #endif // PHOTONVERTEXSELECTION_DECORATEPHOTONPOINTINGALG_H
DecoratePhotonPointingAlg
An algorithm to decorate photons (also electrons) with pointing variables.
Definition: DecoratePhotonPointingAlg.h:21
EgammaContainerFwd.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
AnaAlgorithm.h
DecoratePhotonPointingAlg::DecoratePhotonPointingAlg
DecoratePhotonPointingAlg(const std::string &name, ISvcLocator *svcLoc=nullptr)
Definition: DecoratePhotonPointingAlg.cxx:11
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DecoratePhotonPointingAlg::m_photonContainerKey
SG::ReadHandleKey< xAOD::EgammaContainer > m_photonContainerKey
Definition: DecoratePhotonPointingAlg.h:30
DecoratePhotonPointingAlg::initialize
virtual StatusCode initialize() override
Definition: DecoratePhotonPointingAlg.cxx:15
DecoratePhotonPointingAlg::m_pointingTool
ToolHandle< CP::IPhotonPointingTool > m_pointingTool
Definition: DecoratePhotonPointingAlg.h:33
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
DecoratePhotonPointingAlg::execute
StatusCode execute() override
Definition: DecoratePhotonPointingAlg.cxx:21
IPhotonPointingTool.h
ToolHandle.h