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