ATLAS Offline Software
Loading...
Searching...
No Matches
TrackToVertexWrapper.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_TRACKTOVERTEXWRAPPER_H
6#define DERIVATIONFRAMEWORK_TRACKTOVERTEXWRAPPER_H
7
8#include <string>
9#include <vector>
10
13#include "GaudiKernel/ToolHandle.h"
17
19
20namespace DerivationFramework {
21
22 class TrackToVertexWrapper : public extends<AthAlgTool, IAugmentationTool> {
23 public:
24
25 using base_class::base_class;
26
27 virtual StatusCode initialize() override final;
28 virtual StatusCode addBranches(const EventContext& ctx) const override final;
29
30 private:
31 ToolHandle< Trk::ITrackToVertexIPEstimator > m_tool
32 {this, "TrackToVertexIPEstimator", "Trk::TrackToVertexIPEstimator", ""};
33 Gaudi::Property<std::string> m_sgName
34 {this, "DecorationPrefix", "", ""};
38 {this, "VertexContainer", "PrimaryVertices", "primary vertex container"};
39
59 std::vector<SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> > m_trackFloatDecorKeys;
60 // TODO
61 // SG::WriteDecorHandleKeyArray<xAOD::TrackParticleContainer>{ this, "DecorationKeys", m_containerName, {} };
62 };
63}
64
65#endif // DERIVATIONFRAMEWORK_TRACKTOVERTEXWRAPPER_H
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
ToolHandle< Trk::ITrackToVertexIPEstimator > m_tool
std::vector< SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > > m_trackFloatDecorKeys
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexKey
virtual StatusCode initialize() override final
virtual StatusCode addBranches(const EventContext &ctx) const override final
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_containerName
Property holding a SG store/key/clid from which a ReadHandle is made.
THE reconstruction tool.