ATLAS Offline Software
InDetTrackSelectionToolWrapper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // InDetTrackSelectionToolWrapper.h
8 
9 #ifndef DERIVATIONFRAMEWORK_INDETTRACKSELECTIONTOOLWRAPPER_H
10 #define DERIVATIONFRAMEWORK_INDETTRACKSELECTIONTOOLWRAPPER_H
11 
12 #include <string>
13 
17 #include "GaudiKernel/ToolHandle.h"
19 
20 namespace DerivationFramework {
21 
23  public:
24  InDetTrackSelectionToolWrapper(const std::string& t, const std::string& n, const IInterface* p);
25 
28  virtual StatusCode addBranches() const;
29 
30  private:
31  ToolHandle< InDet::IInDetTrackSelectionTool > m_tool
32  {this,"TrackSelectionTool","InDet::InDetTrackSelectionTool/TrackSelectionTool"}; // @TODO should not have a default value, since there is not generally correct default
33 
35  {this, "ContainerName", "InDetTrackParticles", "The input TrackParticleCollection"};
36 
38  {this, "DecorationName", "","Name of the decoration which provides the track selection result."};
39  };
40 }
41 
42 #endif // DERIVATIONFRAMEWORK_INDETTRACKSELECTIONTOOLWRAPPER_H
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer >
DerivationFramework::InDetTrackSelectionToolWrapper::addBranches
virtual StatusCode addBranches() const
Pass the thinning service
Definition: InDetTrackSelectionToolWrapper.cxx:55
DerivationFramework::InDetTrackSelectionToolWrapper::finalize
StatusCode finalize()
Definition: InDetTrackSelectionToolWrapper.cxx:50
IAugmentationTool.h
DerivationFramework::InDetTrackSelectionToolWrapper::InDetTrackSelectionToolWrapper
InDetTrackSelectionToolWrapper(const std::string &t, const std::string &n, const IInterface *p)
Definition: InDetTrackSelectionToolWrapper.cxx:19
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
DerivationFramework::InDetTrackSelectionToolWrapper::m_tool
ToolHandle< InDet::IInDetTrackSelectionTool > m_tool
Definition: InDetTrackSelectionToolWrapper.h:32
SG::ReadHandleKey< xAOD::TrackParticleContainer >
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
DerivationFramework::InDetTrackSelectionToolWrapper
Definition: InDetTrackSelectionToolWrapper.h:22
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework::InDetTrackSelectionToolWrapper::m_tracksKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tracksKey
Definition: InDetTrackSelectionToolWrapper.h:35
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
IInDetTrackSelectionTool.h
DerivationFramework::InDetTrackSelectionToolWrapper::initialize
StatusCode initialize()
Definition: InDetTrackSelectionToolWrapper.cxx:27
AthAlgTool
Definition: AthAlgTool.h:26
DerivationFramework::InDetTrackSelectionToolWrapper::m_decorationKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decorationKey
Definition: InDetTrackSelectionToolWrapper.h:38