ATLAS Offline Software
Loading...
Searching...
No Matches
EGSelectionToolWrapper.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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"
19#include "GaudiKernel/ToolHandle.h"
21//
22#include <string>
23
24namespace DerivationFramework {
25
26 class EGSelectionToolWrapper : public extends<AthAlgTool, IAugmentationTool>
27 {
28 public:
29
30 using base_class::base_class;
31
32 virtual StatusCode initialize() override final;
33 virtual StatusCode addBranches(const EventContext& ctx) const override final;
34
35 private:
36 ToolHandle<IAsgEGammaIsEMSelector> m_tool{
37 this,
38 "EGammaSelectionTool",
39 "",
40 "Selector tool",
41 };
42 ToolHandle<IElectronPhotonShowerShapeFudgeTool>
43 m_fudgeMCTool{ this, "EGammaFudgeMCTool", "", "Fudging tool" };
44
46 "ContainerName", "", "Input" };
47
48 // Write decoration handle keys
49 // these are not really configuarable
54 Gaudi::Property<std::string> m_cut{ this, "CutType", "", "cut type" };
55
56 };
57}
58
59#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
ToolHandle< IElectronPhotonShowerShapeFudgeTool > m_fudgeMCTool
SG::ReadHandleKey< xAOD::EgammaContainer > m_ContainerName
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_decoratorPass
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.