ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkInDet
DerivationFrameworkInDet
InDetTrackSelectionToolWrapper.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 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 "
xAODTracking/TrackParticleContainer.h
"
18
#include "GaudiKernel/ToolHandle.h"
19
#include "
StoreGate/WriteDecorHandleKey.h
"
20
21
namespace
DerivationFramework
{
22
23
class
InDetTrackSelectionToolWrapper
:
public
extends<AthAlgTool, IAugmentationTool> {
24
public
:
25
26
using
base_class::base_class;
27
28
virtual
StatusCode
initialize
()
override
final ;
29
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const
override
final
;
30
31
private
:
32
ToolHandle< InDet::IInDetTrackSelectionTool >
m_tool
33
{
this
,
"TrackSelectionTool"
,
""
};
34
35
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_tracksKey
36
{
this
,
"ContainerName"
,
"InDetTrackParticles"
,
"The input TrackParticleCollection"
};
37
38
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_decorationKey
39
{
this
,
"DecorationName"
,
""
,
"Name of the decoration which provides the track selection result."
};
40
};
41
}
42
43
#endif
// DERIVATIONFRAMEWORK_INDETTRACKSELECTIONTOOLWRAPPER_H
AthAlgTool.h
TrackParticleContainer.h
IAugmentationTool.h
IInDetTrackSelectionTool.h
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
DerivationFramework::InDetTrackSelectionToolWrapper
Definition
InDetTrackSelectionToolWrapper.h:23
DerivationFramework::InDetTrackSelectionToolWrapper::m_tracksKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tracksKey
Definition
InDetTrackSelectionToolWrapper.h:36
DerivationFramework::InDetTrackSelectionToolWrapper::initialize
virtual StatusCode initialize() override final
Definition
InDetTrackSelectionToolWrapper.cxx:19
DerivationFramework::InDetTrackSelectionToolWrapper::m_tool
ToolHandle< InDet::IInDetTrackSelectionTool > m_tool
Definition
InDetTrackSelectionToolWrapper.h:33
DerivationFramework::InDetTrackSelectionToolWrapper::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition
InDetTrackSelectionToolWrapper.cxx:43
DerivationFramework::InDetTrackSelectionToolWrapper::m_decorationKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_decorationKey
Definition
InDetTrackSelectionToolWrapper.h:39
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
Generated on
for ATLAS Offline Software by
1.17.0