@@ -316,7 +316,8 @@ struct FemtoUniversePairTaskTrackD0 {
316316 {
317317 if (mom <= ConfTrack.minMomPidTpcTofProton ) {
318318 return std::abs (nsigmaTPCPr) < ConfTrack.confNsigmaTPCProton ;
319- } else if (mom > ConfTrack.minMomPidTpcTofProton ) {
319+ }
320+ if (mom > ConfTrack.minMomPidTpcTofProton ) {
320321 return std::hypot (nsigmaTOFPr, nsigmaTPCPr) < ConfTrack.confNsigmaCombinedProton ;
321322 }
322323 return false ;
@@ -337,7 +338,8 @@ struct FemtoUniversePairTaskTrackD0 {
337338 {
338339 if (mom <= ConfTrack.minMomPidTpcTofKaon ) {
339340 return std::abs (nsigmaTPCKa) < ConfTrack.confNsigmaTPCKaon ;
340- } else if (mom > ConfTrack.minMomPidTpcTofKaon ) {
341+ }
342+ if (mom > ConfTrack.minMomPidTpcTofKaon ) {
341343 return std::hypot (nsigmaTOFKa, nsigmaTPCKa) < ConfTrack.confNsigmaCombinedKaon ;
342344 }
343345 return false ;
@@ -358,7 +360,8 @@ struct FemtoUniversePairTaskTrackD0 {
358360 {
359361 if (mom <= ConfTrack.minMomPidTpcTofPion ) {
360362 return std::abs (nsigmaTPCPi) < ConfTrack.confNsigmaTPCPion ;
361- } else if (mom > ConfTrack.minMomPidTpcTofPion ) {
363+ }
364+ if (mom > ConfTrack.minMomPidTpcTofPion ) {
362365 return std::hypot (nsigmaTOFPi, nsigmaTPCPi) < ConfTrack.confNsigmaCombinedPion ;
363366 }
364367 return false ;
@@ -784,7 +787,7 @@ struct FemtoUniversePairTaskTrackD0 {
784787 trackHistoPartD0D0bar.fillQA <isMC, false >(d0candidate);
785788 }
786789
787- float tpcNSigmaPr, tofNSigmaPr, tpcNSigmaPi, tofNSigmaPi, tpcNSigmaKa, tofNSigmaKa = 0 .;
790+ float tpcNSigmaPr = 0 . 0f , tofNSigmaPr = 0 . 0f , tpcNSigmaPi = 0 . 0f , tofNSigmaPi = 0 . 0f , tpcNSigmaKa = 0 . 0f , tofNSigmaKa = 0 .0f ;
788791
789792 if (!ConfTrack.confIsSame ) {
790793 for (auto const & track : groupPartsTrack) {
0 commit comments