ATLAS Offline Software
Loading...
Searching...
No Matches
EGPhotonBDTToolWrapper.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_EGSPHOTONBDTTOOLWRAPPER_H
6#define DERIVATIONFRAMEWORK_EGSPHOTONBDTTOOLWRAPPER_H
7
9//
12//
18#include "GaudiKernel/ToolHandle.h"
20//
21#include <string>
22
23namespace DerivationFramework {
24
25 class EGPhotonBDTToolWrapper : public extends<AthAlgTool, IAugmentationTool>
26 {
27 public:
28
29 using base_class::base_class;
30
31 virtual StatusCode initialize() override final;
32 virtual StatusCode addBranches(const EventContext& ctx) const override final;
33
34 private:
35 // selector tool
36 ToolHandle<IAsgEGammaIsEMSelector> m_selectorTool{this, "PhotonBDTSelectionTool", "", "Selector tool",};
37 // photon observable tool (for calculating the BDT score)
38 ToolHandle<IPhotonObservableTool> m_observableTool{this, "PhotonObservableTool", "", "Observable tool",};
39 // shower shape correction tool
40 ToolHandle<IElectronPhotonShowerShapeFudgeTool> m_fudgeMCTool{ this, "EGammaFudgeMCTool", "", "Fudging tool" };
41 // photon container name
42 SG::ReadHandleKey<xAOD::EgammaContainer> m_ContainerName{ this, "ContainerName", "", "Input" };
43
44 // Write decoration handle keys
45 // these are not really configuarable
52 Gaudi::Property<std::string> m_cut{ this, "CutType", "", "cut type" };
53 };
54}
55
56#endif // DERIVATIONFRAMEWORK_EGPHOTONBDTTOOLWRAPPER_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.
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_decoratorPass
SG::ReadHandleKey< xAOD::EgammaContainer > m_ContainerName
ToolHandle< IAsgEGammaIsEMSelector > m_selectorTool
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_decoratorIsEM
virtual StatusCode initialize() override final
virtual StatusCode addBranches(const EventContext &ctx) const override final
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_decoratorScore
ToolHandle< IElectronPhotonShowerShapeFudgeTool > m_fudgeMCTool
ToolHandle< IPhotonObservableTool > m_observableTool
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.