From c4fc22ea3f8e3e0b7090b9300e98d7cc9a31874e Mon Sep 17 00:00:00 2001 From: Fabrizio Grosa Date: Wed, 22 Oct 2025 09:14:48 +0200 Subject: [PATCH] Fix vertexer configuration in HF filters --- EventFiltering/PWGHF/HFFilterHelpers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EventFiltering/PWGHF/HFFilterHelpers.h b/EventFiltering/PWGHF/HFFilterHelpers.h index e6202c5a000..65fa3132135 100644 --- a/EventFiltering/PWGHF/HFFilterHelpers.h +++ b/EventFiltering/PWGHF/HFFilterHelpers.h @@ -681,7 +681,7 @@ class HfFilterHelper template int computeNumberOfCandidates(std::vector> indices); template - int setVtxConfiguration(T1 vertexer, bool useAbsDCA); + int setVtxConfiguration(T1& vertexer, bool useAbsDCA); template bool buildV0(V const& v0Indices, T const& tracks, C const& collision, o2::vertexing::DCAFitterN<2>& dcaFitter, const std::vector& vetoedTrackIds, V0Cand& v0Cand); template @@ -2605,7 +2605,7 @@ inline int HfFilterHelper::findBin(T1 const& binsPt, T2 value) /// Set vertxing configuration /// \param vertexer o2::vertexing::DCAFitterN object template -inline int HfFilterHelper::setVtxConfiguration(T1 vertexer, bool useAbsDCA) +inline int HfFilterHelper::setVtxConfiguration(T1& vertexer, bool useAbsDCA) { // Fitter initialisation vertexer.setPropagateToPCA(true);