ATLAS Offline Software
Loading...
Searching...
No Matches
TVAAugmentationTool.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 DERIVATIONFRAMEWORK_TVAAUGMENTATIONTOOL_H
6#define DERIVATIONFRAMEWORK_TVAAUGMENTATIONTOOL_H
7
10#include "AsgTools/ToolHandle.h"
12#include "AthLinks/ElementLink.h"
15#include <memory>
16
17namespace DerivationFramework {
18 class TVAAugmentationTool : public extends<AthAlgTool, IAugmentationTool>
19 {
20 public:
21
22 using base_class::base_class;
23
24 virtual StatusCode initialize() override final;
25 virtual StatusCode addBranches(const EventContext& ctx) const override final;
26 private:
27 // Properties
28 SG::ReadHandleKey<xAOD::TrackParticleContainer> m_trackName{this, "TrackName", "InDetTrackParticles"};
29 SG::ReadHandleKey<xAOD::VertexContainer> m_vertexName{this, "VertexName", "PrimaryVertices"};
30 SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> m_vtxDec_key {this, "LinkName", m_trackName, "", "Decoration for associated vertex"};
31 PublicToolHandle<CP::ITrackVertexAssociationTool> m_tool{this, "TVATool", ""};
32 // Internals
34
35 }; //> end class TVAAugmentationTool
36} //> end namespace DerivationFramework
37
38#endif //> !DERIVATIONFRAMEWORK_TVAAUGMENTATIONTOOL_H
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_vtxDec_key
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackName
virtual StatusCode initialize() override final
virtual StatusCode addBranches(const EventContext &ctx) const override final
PublicToolHandle< CP::ITrackVertexAssociationTool > m_tool
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexName
ElementLink< xAOD::VertexContainer > vtxLink_t
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.
THE reconstruction tool.