ATLAS Offline Software
AsgSelectionToolWrapper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef DERIVATIONFRAMEWORK_ASGSELECTIONTOOLWRAPPER_H
5 #define DERIVATIONFRAMEWORK_ASGSELECTIONTOOLWRAPPER_H
6 
7 
8 
12 #include "GaudiKernel/ToolHandle.h"
15 
16 namespace DerivationFramework {
17 
18  class AsgSelectionToolWrapper : public extends<AthAlgTool, IAugmentationTool> {
19  public:
20 
21  using base_class::base_class;
22 
23  virtual StatusCode initialize() override final;
24  virtual StatusCode addBranches(const EventContext& ctx) const override final;
25 
26  private:
27  PublicToolHandle<IAsgSelectionTool> m_tool{this, "AsgSelectionTool", ""};
28  Gaudi::Property<std::string> m_cut{this, "CutType", "" };
31  };
32 }
33 
34 #endif // DERIVATIONFRAMEWORK_ASGSELECTIONTOOLWRAPPER_H
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
IAugmentationTool.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
IAsgSelectionTool.h
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
DerivationFramework::AsgSelectionToolWrapper::m_tool
PublicToolHandle< IAsgSelectionTool > m_tool
Definition: AsgSelectionToolWrapper.h:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IParticleContainer.h
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::AsgSelectionToolWrapper::m_containerKey
SG::ReadHandleKey< xAOD::IParticleContainer > m_containerKey
Definition: AsgSelectionToolWrapper.h:29
DerivationFramework::AsgSelectionToolWrapper::m_cut
Gaudi::Property< std::string > m_cut
Definition: AsgSelectionToolWrapper.h:28
DerivationFramework::AsgSelectionToolWrapper::initialize
virtual StatusCode initialize() override final
Definition: AsgSelectionToolWrapper.cxx:15
DerivationFramework::AsgSelectionToolWrapper::m_decorKey
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decorKey
Definition: AsgSelectionToolWrapper.h:30
DerivationFramework::AsgSelectionToolWrapper
Definition: AsgSelectionToolWrapper.h:18
DerivationFramework::AsgSelectionToolWrapper::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition: AsgSelectionToolWrapper.cxx:24