ATLAS Offline Software
Loading...
Searching...
No Matches
EGSelectionToolWrapper.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_EGSELECTIONTOOLWRAPPER_H
6#define DERIVATIONFRAMEWORK_EGSELECTIONTOOLWRAPPER_H
7
9//
14//
15#include "AsgTools/IAsgTool.h"
18#include "GaudiKernel/ToolHandle.h"
20//
21#include <string>
22
23namespace DerivationFramework {
24
25 class EGSelectionToolWrapper : 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 ToolHandle<IAsgEGammaIsEMSelector> m_tool{
36 this,
37 "EGammaSelectionTool",
38 "",
39 "Selector tool",
40 };
41
43 "ContainerName", "", "Input to decorate" };
44 SG::ReadHandleKey<xAOD::EgammaContainer> m_fudgedContainerName{ this, "FudgedContainerName", "", "Input with fudge factors applied" };
45
46 // Write decoration handle keys
47 // these are not really configuarable
52 Gaudi::Property<std::string> m_cut{ this, "CutType", "", "cut type" };
53
54 };
55}
56
57#endif // DERIVATIONFRAMEWORK_EGSELECTIONTOOLWRAPPER_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.
virtual StatusCode initialize() override final
ToolHandle< IAsgEGammaIsEMSelector > m_tool
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_decoratorIsEM
SG::ReadHandleKey< xAOD::EgammaContainer > m_ContainerName
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_decoratorPass
SG::ReadHandleKey< xAOD::EgammaContainer > m_fudgedContainerName
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.