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);