ATLAS Offline Software
PhysicsAnalysis
DerivationFramework
DerivationFrameworkInDet
DerivationFrameworkInDet
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
14
#include "
AthenaBaseComps/AthAlgTool.h
"
15
#include "
InDetTrackSelectionTool/IInDetTrackSelectionTool.h
"
16
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
17
#include "GaudiKernel/ToolHandle.h"
18
#include "
StoreGate/WriteDecorHandleKey.h
"
19
20
namespace
DerivationFramework
{
21
22
class
InDetTrackSelectionToolWrapper
:
public
AthAlgTool
,
public
IAugmentationTool
{
23
public
:
24
InDetTrackSelectionToolWrapper
(
const
std::string&
t
,
const
std::string&
n
,
const
IInterface*
p
);
25
26
StatusCode
initialize
();
27
StatusCode
finalize
();
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
34
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_tracksKey
35
{
this
,
"ContainerName"
,
"InDetTrackParticles"
,
"The input TrackParticleCollection"
};
36
37
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_decorationKey
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
Generated on Sun Dec 22 2024 21:11:46 for ATLAS Offline Software by
1.8.18