File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -463,7 +463,7 @@ struct HfTreeCreatorLcToPKPi {
463463 auto trackNeg = candidate.template prong1_as <soa::Join<TracksWPid, o2::aod::McTrackLabels>>(); // negative daughter (positive for the antiparticles)
464464 auto trackPos2 = candidate.template prong2_as <soa::Join<TracksWPid, o2::aod::McTrackLabels>>(); // positive daughter (negative for the antiparticles)
465465 auto fillTable = [&](int CandFlag) {
466- double pseudoRndm = trackPos1.pt () * 1000 . - ( int64_t ) (trackPos1.pt () * 1000 );
466+ double pseudoRndm = trackPos1.pt () * 1000 . - static_cast < int64_t > (trackPos1.pt () * 1000 );
467467 const int FunctionSelection = CandFlag == 0 ? candidate.isSelLcToPKPi () : candidate.isSelLcToPiKP ();
468468 const int sigbgstatus = DetermineSignalBgStatus (candidate, CandFlag);
469469 bool isMcCandidateSignal = (sigbgstatus == 1 ) || (sigbgstatus == 2 );
@@ -836,7 +836,7 @@ struct HfTreeCreatorLcToPKPi {
836836 auto trackNeg = candidate.template prong1_as <TracksWPid>(); // negative daughter (positive for the antiparticles)
837837 auto trackPos2 = candidate.template prong2_as <TracksWPid>(); // positive daughter (negative for the antiparticles)
838838 auto fillTable = [&](int CandFlag) {
839- double pseudoRndm = trackPos1.pt () * 1000 . - ( int64_t ) (trackPos1.pt () * 1000 );
839+ double pseudoRndm = trackPos1.pt () * 1000 . - static_cast < int64_t > (trackPos1.pt () * 1000 );
840840 const int FunctionSelection = CandFlag == 0 ? candidate.isSelLcToPKPi () : candidate.isSelLcToPiKP ();
841841 if (FunctionSelection >= selectionFlagLc && (candidate.pt () > downSampleBkgPtMax || (pseudoRndm < downSampleBkgFactor && candidate.pt () < downSampleBkgPtMax))) {
842842 float FunctionInvMass, FunctionInvMassKPi;
Original file line number Diff line number Diff line change 2222#define HomogeneousField
2323#endif
2424
25+ #include < utility>
26+
2527#include < TDatabasePDG.h> // FIXME
2628
2729#include " KFParticle.h"
You can’t perform that action at this time.
0 commit comments