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//
17#include "GaudiKernel/ToolHandle.h"
19//
20#include <string>
21
22namespace DerivationFramework {
23
24 class EGPhotonBDTToolDecorator : public extends<AthAlgTool, IAugmentationTool>
25 {
26 public:
27
28 using base_class::base_class;
29
30 virtual StatusCode initialize() override final;
31 virtual StatusCode addBranches(const EventContext& ctx) const override final;
32
33 private:
34 // photon observable tool (for calculating the BDT score)
35 ToolHandle<IPhotonObservableTool> m_observableTool{this, "PhotonObservableTool", "", "Observable tool",};
36 // shower shape correction tool
37 ToolHandle<IElectronPhotonShowerShapeFudgeTool> m_fudgeMCTool{ this, "EGammaFudgeMCTool", "", "Fudging tool" };
38 // photon container name
39 SG::ReadHandleKey<xAOD::EgammaContainer> m_ContainerName{ this, "ContainerName", "", "Input" };
40
41 // Write decoration handle keys
44 };
45}
46
47#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
ToolHandle< IElectronPhotonShowerShapeFudgeTool > m_fudgeMCTool
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.