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//
17#include "GaudiKernel/ToolHandle.h"
19//
20#include <string>
21
22namespace DerivationFramework {
23
24 class EGPhotonBDTToolWrapper : 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 // selector tool
35 ToolHandle<IAsgEGammaIsEMSelector> m_selectorTool{this, "PhotonBDTSelectionTool", "", "Selector tool",};
36 // photon container name
37 SG::ReadHandleKey<xAOD::EgammaContainer> m_ContainerName{ this, "ContainerName", "", "Input" };
38 // Fudged photon container name
39 SG::ReadHandleKey<xAOD::EgammaContainer> m_fudgedContainerName{ this, "FudgedContainerName", "", "Input with fudge factors applied" };
40
41 // Write decoration handle keys
42 // these are not really configuarable
47 Gaudi::Property<std::string> m_cut{ this, "CutType", "", "cut type" };
48 };
49}
50
51#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::ReadHandleKey< xAOD::EgammaContainer > m_fudgedContainerName
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.