Skip to content

Commit c4fc22e

Browse files
committed
Fix vertexer configuration in HF filters
1 parent 894709e commit c4fc22e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

EventFiltering/PWGHF/HFFilterHelpers.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ class HfFilterHelper
681681
template <typename T>
682682
int computeNumberOfCandidates(std::vector<std::vector<T>> indices);
683683
template <typename T1>
684-
int setVtxConfiguration(T1 vertexer, bool useAbsDCA);
684+
int setVtxConfiguration(T1& vertexer, bool useAbsDCA);
685685
template <typename V, typename T, typename C>
686686
bool buildV0(V const& v0Indices, T const& tracks, C const& collision, o2::vertexing::DCAFitterN<2>& dcaFitter, const std::vector<int>& vetoedTrackIds, V0Cand& v0Cand);
687687
template <typename Casc, typename T, typename C, typename V>
@@ -2605,7 +2605,7 @@ inline int HfFilterHelper::findBin(T1 const& binsPt, T2 value)
26052605
/// Set vertxing configuration
26062606
/// \param vertexer o2::vertexing::DCAFitterN<N> object
26072607
template <typename T1>
2608-
inline int HfFilterHelper::setVtxConfiguration(T1 vertexer, bool useAbsDCA)
2608+
inline int HfFilterHelper::setVtxConfiguration(T1& vertexer, bool useAbsDCA)
26092609
{
26102610
// Fitter initialisation
26112611
vertexer.setPropagateToPCA(true);

0 commit comments

Comments
 (0)