From 70455c4912df1458989a40efb6da765efdf56333 Mon Sep 17 00:00:00 2001 From: Paul Gessinger Date: Wed, 20 Dec 2023 18:08:32 +0100 Subject: [PATCH] fixup: GridDensityVertexFinder::setTracksToRemove --- Core/include/Acts/Vertexing/GridDensityVertexFinder.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Core/include/Acts/Vertexing/GridDensityVertexFinder.hpp b/Core/include/Acts/Vertexing/GridDensityVertexFinder.hpp index 3d7238307bb..2521ffd1f35 100644 --- a/Core/include/Acts/Vertexing/GridDensityVertexFinder.hpp +++ b/Core/include/Acts/Vertexing/GridDensityVertexFinder.hpp @@ -121,6 +121,13 @@ class GridDensityVertexFinder final : public IVertexFinder { bool hasTrivialState() const override { return true; } + void setTracksToRemove( + IVertexFinder::State& state, + const std::vector& removedTracks) const override { + auto& thisState = state.template as(); + thisState.tracksToRemove = removedTracks; + } + /// @brief Constructor for user-defined InputTrack type /// /// @param cfg Configuration object