ATLAS Offline Software
Loading...
Searching...
No Matches
EGPhotonBDTToolDecorator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef DERIVATIONFRAMEWORK_EGSPHOTONBDTTOOLDECORATOR_H
6#define DERIVATIONFRAMEWORK_EGSPHOTONBDTTOOLDECORATOR_H
7
9//
12//
16#include "GaudiKernel/ToolHandle.h"
18//
19#include <string>
20
21namespace DerivationFramework {
22
23 class EGPhotonBDTToolDecorator : public extends<AthAlgTool, IAugmentationTool>
24 {
25 public:
26
27 using base_class::base_class;
28
29 virtual StatusCode initialize() override final;
30 virtual StatusCode addBranches(const EventContext& ctx) const override final;
31
32 private:
33 // photon observable tool (for calculating the BDT score)
34 ToolHandle<IPhotonObservableTool> m_observableTool{this, "PhotonObservableTool", "", "Observable tool",};
35 // photon container name
36 SG::ReadHandleKey<xAOD::EgammaContainer> m_ContainerName{ this, "ContainerName", "", "Input to decorate" };
37 // Fudged photon container name
38 SG::ReadHandleKey<xAOD::EgammaContainer> m_fudgedContainerName{ this, "FudgedContainerName", "", "Input with fudge factors applied" };
39
40 // Write decoration handle keys
43 };
44}
45
46#endif // DERIVATIONFRAMEWORK_EGPHOTONBDTTOOLDECORATOR_H
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.
virtual StatusCode addBranches(const EventContext &ctx) const override final
SG::ReadHandleKey< xAOD::EgammaContainer > m_fudgedContainerName
SG::ReadHandleKey< xAOD::EgammaContainer > m_ContainerName
ToolHandle< IPhotonObservableTool > m_observableTool
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_decoratorScore
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.