ATLAS Offline Software
Loading...
Searching...
No Matches
InDetUsedInFitTrackDecoratorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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"
12
13// EDM include(s):
16
17// Tool include(s)
19
20// STL includes:
21#include <string>
22
27
28namespace InDet {
29
32 : public asg::AsgTool,
34 {
35
37
38
39 // Public methods:
41 public:
42
45
47 InDetUsedInFitTrackDecoratorTool(const std::string& name);
48
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 StringProperty m_vtxDecoName
84 {this, "AMVFVerticesDecoName", "TTVA_AMVFVertices",
85 "Name of the per-track AMVF vertices decoration"};
86
88 StringProperty m_wgtDecoName
89 {this, "AMVFWeightsDecoName", "TTVA_AMVFWeights",
90 "Name of the per-track AMVF weights decoration"};
91
94 {this, "TrackContainer", "InDetTrackParticles",
95 "Name of the track particle container"};
96
99 {this, "VertexContainer", "PrimaryVertices",
100 "Name of the primary vertex container"};
101
103
104 private:
105
108
111
114
116
117 }; // class: InDetUsedInFitTrackDecoratorTool
118} // namespace: InDet
119
120#endif // end: INDETUSEDINFITTRACKDECORATORTOOL_INDETUSEDINFITTRACKDECORATORTOOL_H
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trkContKey
Name of the track particle container (needed for container-less function calls)
StringProperty m_vtxDecoName
Name of the per-track decoration for the AMVF fit vertices.
virtual StatusCode initialize() override
Function initialising the tool.
virtual StatusCode finalize() override
Function finalizing the tool.
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.
InDetUsedInFitTrackDecoratorTool(const std::string &name)
Constructor.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_wgtDecoKey
Per-track decorator for the AMVF fit weights.
StringProperty m_wgtDecoName
Name of the per-track decoration for the AMVF fit weights.
SG::ReadHandleKey< xAOD::VertexContainer > m_vtxContKey
Name of the primary vertex container (needed for container-less function calls)
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_vtxDecoKey
Per-track decorator for the AMVF fit vertices.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
Primary Vertex Finder.
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".