ATLAS Offline Software
AsgSelectionToolWrapper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 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 
19  public:
20  AsgSelectionToolWrapper(const std::string& t, const std::string& n, const IInterface* p);
21 
22  StatusCode initialize() override final;
23  virtual StatusCode addBranches() const override final;
24 
25  private:
26 
27  PublicToolHandle<IAsgSelectionTool> m_tool{this, "AsgSelectionTool", ""};
28  Gaudi::Property<std::string> m_cut{this, "CutType", "" };
29  Gaudi::Property<std::string> m_sgName{this, "StoreGateEntryName", ""};
30 
32 
34  "Will be composed by <ContainerName>.<StoreGateEntryName>"};
35 
36 
37  };
38 }
39 
40 #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
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
IAugmentationTool.h
DerivationFramework::AsgSelectionToolWrapper::AsgSelectionToolWrapper
AsgSelectionToolWrapper(const std::string &t, const std::string &n, const IInterface *p)
Definition: AsgSelectionToolWrapper.cxx:18
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
IAsgSelectionTool.h
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
beamspotman.n
n
Definition: beamspotman.py:731
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::AsgSelectionToolWrapper::m_sgName
Gaudi::Property< std::string > m_sgName
Definition: AsgSelectionToolWrapper.h:29
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::AsgSelectionToolWrapper::m_containerKey
SG::ReadHandleKey< xAOD::IParticleContainer > m_containerKey
Definition: AsgSelectionToolWrapper.h:31
DerivationFramework::AsgSelectionToolWrapper::addBranches
virtual StatusCode addBranches() const override final
Pass the thinning service
Definition: AsgSelectionToolWrapper.cxx:42
DerivationFramework::AsgSelectionToolWrapper::m_cut
Gaudi::Property< std::string > m_cut
Definition: AsgSelectionToolWrapper.h:28
DerivationFramework::AsgSelectionToolWrapper::initialize
StatusCode initialize() override final
Definition: AsgSelectionToolWrapper.cxx:28
DerivationFramework::AsgSelectionToolWrapper::m_decorKey
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_decorKey
Definition: AsgSelectionToolWrapper.h:33
DerivationFramework::AsgSelectionToolWrapper
Definition: AsgSelectionToolWrapper.h:18
AthAlgTool
Definition: AthAlgTool.h:26