ATLAS Offline Software
Loading...
Searching...
No Matches
PhotonVertexSelectionWrapper.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef DERIVATIONFRAMEWORK_PHOTONVERTEXSELECTIONWRAPPER_H
6#define DERIVATIONFRAMEWORK_PHOTONVERTEXSELECTIONWRAPPER_H
7
8#include <string>
9
12
13#include "GaudiKernel/ToolHandle.h"
15
22
23// namespace CP
24//{
25// class IPhotonPointingTool;
26//}
27
28namespace DerivationFramework {
29
30 class PhotonVertexSelectionWrapper : public extends<AthAlgTool, IAugmentationTool>
31 {
32 public:
33
34 using base_class::base_class;
35
36 virtual StatusCode initialize() override final;
37 virtual StatusCode addBranches(const EventContext& ctx) const override final;
38
39 private:
41 ToolHandle<CP::IPhotonPointingTool> m_photonPointingTool{
42 this,
43 "PhotonPointingTool",
44 "",
45 "Handle to the photon pointing tool"
46 };
47
50 this,
51 "PhotonContainer",
52 "Photons",
53 "SG key of input photon container"
54 };
55
58 this,
59 "VertexContainer",
60 "PrimaryVertices",
61 "SG key of input vertex container"
62 };
63
64 // Write decoration handle keys
65 // these are not really configurable
83 };
84}
85
86#endif // DERIVATIONFRAMEWORK_PHOTONVERTEXSELECTIONWRAPPER_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Handle class for reading from StoreGate.
Handle class for adding a decoration to an object.
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_vtxSumPt
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_vtxPhi
ToolHandle< CP::IPhotonPointingTool > m_photonPointingTool
PhotonPointingTool.
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_vtxSumPt2
SG::ReadHandleKey< xAOD::PhotonContainer > m_photonContainer
Input photon container.
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainer
Input primary vertex container.
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_vtxEta
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_vtxPt
virtual StatusCode addBranches(const EventContext &ctx) const override final
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.
THE reconstruction tool.