ATLAS Offline Software
Loading...
Searching...
No Matches
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
11#include <AsgTools/ToolHandle.h>
17
26 public:
27 DecoratePhotonPointingAlg(const std::string& name,
28 ISvcLocator* svcLoc = nullptr);
29
30 virtual StatusCode initialize() override;
31 StatusCode execute() override;
32
33 private:
34
35 //Write decoration handle keys
39
40 Gaudi::Property<std::string> m_caloPointingZDecorName{this,"caloPointingZDecorName","caloPointingZ",""};
41 Gaudi::Property<std::string> m_zCommonDecorName{this,"zCommonDecorName","zCommon",""};
42 Gaudi::Property<std::string> m_zCommonErrorDecorName{this,"zCommonErrorDecorName","zCommonError",""};
43
45 this, "PhotonContainerKey", "Photons", "The input Photons container (it can be also Electrons)"};
46
48 this, "EventInfoKey", "EventInfo", "containerName to read"};
49
50 ToolHandle<CP::IPhotonPointingTool> m_pointingTool{
51 this, "PhotonPointingTool",
52 "CP::PhotonPointingTool/PhotonPointingTool", ""};
53
54 ToolHandle<CP::IPhotonVertexSelectionTool> m_photonVtxTool{
55 this, "PhotonVertexSelectionTool",
56 "CP::PhotonVertexSelectionTool/PhotonVertexSelectionTool",
57 "Photon vertex selection tool to use"};
58};
59
60#endif // PHOTONVERTEXSELECTION_DECORATEPHOTONPOINTINGALG_H
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual StatusCode initialize() override
SG::ReadHandleKey< xAOD::EgammaContainer > m_photonContainerKey
Gaudi::Property< std::string > m_zCommonDecorName
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_zCommonError
ToolHandle< CP::IPhotonPointingTool > m_pointingTool
SG::ReadHandleKey< xAOD::EventInfo > m_eventInKey
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_zCommon
ToolHandle< CP::IPhotonVertexSelectionTool > m_photonVtxTool
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_caloPointingZ
Gaudi::Property< std::string > m_caloPointingZDecorName
DecoratePhotonPointingAlg(const std::string &name, ISvcLocator *svcLoc=nullptr)
Gaudi::Property< std::string > m_zCommonErrorDecorName
the (new) base class for EventLoop algorithms
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.