ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecTools
InDetUsedInFitTrackDecoratorTool
InDetUsedInFitTrackDecoratorTool
InDetUsedInFitTrackDecoratorTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef INDETUSEDINFITTRACKDECORATORTOOL_INDETUSEDINFITTRACKDECORATORTOOL_H
6
#define INDETUSEDINFITTRACKDECORATORTOOL_INDETUSEDINFITTRACKDECORATORTOOL_H
7
8
// Framework include(s):
9
#include "
AsgTools/AsgTool.h
"
10
#include "
AsgDataHandles/ReadHandleKey.h
"
11
#include "
AsgDataHandles/WriteDecorHandleKey.h
"
12
13
// EDM include(s):
14
#include "
xAODTracking/TrackParticleContainer.h
"
15
#include "
xAODTracking/VertexContainer.h
"
16
17
// Tool include(s)
18
#include "
InDetRecToolInterfaces/IInDetUsedInFitTrackDecoratorTool.h
"
19
20
// STL includes:
21
#include <string>
22
27
28
namespace
InDet
{
29
31
class
InDetUsedInFitTrackDecoratorTool
32
:
public
asg::AsgTool
,
33
public
virtual
IInDetUsedInFitTrackDecoratorTool
34
{
35
36
ASG_TOOL_CLASS
(
InDetUsedInFitTrackDecoratorTool
,
IInDetUsedInFitTrackDecoratorTool
)
37
38
39
// Public methods:
41
public
:
42
45
47
InDetUsedInFitTrackDecoratorTool
(
const
std::string& name);
48
50
~InDetUsedInFitTrackDecoratorTool
();
51
53
56
58
virtual
StatusCode
initialize
()
override
;
59
61
virtual
StatusCode
finalize
()
override
;
62
64
67
69
virtual
void
decorate
(
const
xAOD::TrackParticleContainer
* trkCont,
const
xAOD::VertexContainer
* vtxCont,
const
EventContext& ctx)
const override
;
70
virtual
void
decorate
(
const
EventContext& ctx)
const override
;
71
73
75
// Private data:
77
private
:
78
81
83
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_trkContKey
84
{
this
,
"TrackContainer"
,
"InDetTrackParticles"
,
85
"Name of the track particle container"
};
86
88
SG::ReadHandleKey<xAOD::VertexContainer>
m_vtxContKey
89
{
this
,
"VertexContainer"
,
"PrimaryVertices"
,
90
"Name of the primary vertex container"
};
91
93
94
private
:
95
98
100
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_vtxDecoKey
101
{
this
,
"AMVFVerticesDecoName"
,
m_trkContKey
,
"TTVA_AMVFVertices"
,
102
"Name of the per-track AMVF vertices decoration"
};
103
105
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_wgtDecoKey
106
{
this
,
"AMVFWeightsDecoName"
,
m_trkContKey
,
"TTVA_AMVFWeights"
,
107
"Name of the per-track AMVF weights decoration"
};
108
110
111
};
// class: InDetUsedInFitTrackDecoratorTool
112
}
// namespace: InDet
113
114
#endif
// end: INDETUSEDINFITTRACKDECORATORTOOL_INDETUSEDINFITTRACKDECORATORTOOL_H
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
TrackParticleContainer.h
IInDetUsedInFitTrackDecoratorTool.h
VertexContainer.h
InDet::IInDetUsedInFitTrackDecoratorTool
Definition
IInDetUsedInFitTrackDecoratorTool.h:25
InDet::InDetUsedInFitTrackDecoratorTool::m_trkContKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trkContKey
Name of the track particle container (needed for container-less function calls).
Definition
InDetUsedInFitTrackDecoratorTool.h:84
InDet::InDetUsedInFitTrackDecoratorTool::initialize
virtual StatusCode initialize() override
Function initialising the tool.
Definition
InDetUsedInFitTrackDecoratorTool.cxx:30
InDet::InDetUsedInFitTrackDecoratorTool::finalize
virtual StatusCode finalize() override
Function finalizing the tool.
Definition
InDetUsedInFitTrackDecoratorTool.cxx:51
InDet::InDetUsedInFitTrackDecoratorTool::decorate
virtual void decorate(const xAOD::TrackParticleContainer *trkCont, const xAOD::VertexContainer *vtxCont, const EventContext &ctx) const override
Function for decorating tracks with their used-in-fit AMVF vertices and weights.
Definition
InDetUsedInFitTrackDecoratorTool.cxx:58
InDet::InDetUsedInFitTrackDecoratorTool::InDetUsedInFitTrackDecoratorTool
InDetUsedInFitTrackDecoratorTool(const std::string &name)
Constructor.
Definition
InDetUsedInFitTrackDecoratorTool.cxx:21
InDet::InDetUsedInFitTrackDecoratorTool::m_wgtDecoKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_wgtDecoKey
Per-track decorator for the AMVF fit weights.
Definition
InDetUsedInFitTrackDecoratorTool.h:106
InDet::InDetUsedInFitTrackDecoratorTool::m_vtxContKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vtxContKey
Name of the primary vertex container (needed for container-less function calls).
Definition
InDetUsedInFitTrackDecoratorTool.h:89
InDet::InDetUsedInFitTrackDecoratorTool::~InDetUsedInFitTrackDecoratorTool
~InDetUsedInFitTrackDecoratorTool()
Destructor.
InDet::InDetUsedInFitTrackDecoratorTool::m_vtxDecoKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_vtxDecoKey
Per-track decorator for the AMVF fit vertices.
Definition
InDetUsedInFitTrackDecoratorTool.h:101
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
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
xAOD::VertexContainer
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Definition
VertexContainer.h:14
xAOD::TrackParticleContainer
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticleContainer.h:14
Generated on
for ATLAS Offline Software by
1.17.0