Skip to content

Commit 9f52d58

Browse files
Fix errors and warnings
1 parent 751707b commit 9f52d58

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎PWGLF/Utils/doubleOmegaBuilderHelper.h‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@
2828
#include <DetectorsBase/Propagator.h>
2929
#include <Framework/AnalysisDataModel.h>
3030
#include <Framework/Logger.h>
31+
#include <MathUtils/Cartesian.h>
3132
#include <ReconstructionDataFormats/DCA.h>
3233
#include <ReconstructionDataFormats/Track.h>
34+
#include <ReconstructionDataFormats/TrackParametrization.h>
3335
#include <ReconstructionDataFormats/Vertex.h>
3436

3537
#include <algorithm>
@@ -617,7 +619,7 @@ class DoubleOmegaBuilderHelper
617619
// is built with respect to the primary vertex of the reference collision.
618620
template <class F>
619621
void combine(CollisionCandidates const& reference, CollisionCandidates const& omegaSource,
620-
CollisionCandidates const& lambdaSource, CollisionCandidates const& kaonSource, F&& onCandidate)
622+
CollisionCandidates const& lambdaSource, CollisionCandidates const& kaonSource, F const& onCandidate)
621623
{
622624
for (const auto& omega : omegaSource.omegas) {
623625
for (const auto& lambda : lambdaSource.lambdas[chargeIndex(omega.sign)]) {

0 commit comments

Comments
 (0)