@@ -626,7 +626,6 @@ struct HfCorrelatorLcScHadrons {
626626 // if strange TOF is unavailable
627627 passTOF = track.tofNSigmaPr () > cfgV0.cfgV0DaughPIDCutsTOFPr ;
628628 }
629-
630629 }
631630
632631 if ((std::abs (track.tpcNSigmaPr ()) > cfgV0.cfgV0DaughPIDCutsTPCPr ) && !passTOF) {
@@ -656,7 +655,6 @@ struct HfCorrelatorLcScHadrons {
656655 // Fallback to standard track TOF
657656 passTOF = std::abs (track.tofNSigmaPi ()) > cfgV0.cfgV0DaughPIDCutsTOFPi ;
658657 }
659-
660658 }
661659
662660 if ((std::abs (track.tpcNSigmaPi ()) > cfgV0.cfgV0DaughPIDCutsTPCPi ) && !passTOF) {
@@ -833,7 +831,6 @@ struct HfCorrelatorLcScHadrons {
833831 // Correlate Lc with all Lambda V0 in the same event
834832 for (const auto & v0 : v0s) {
835833
836-
837834 const int v0Lambda = 1 ;
838835 const int v0AntiLambda = -1 ;
839836
@@ -844,21 +841,19 @@ struct HfCorrelatorLcScHadrons {
844841 auto posTrackV0 = v0.template posTrack_as <TrackType>();
845842 auto negTrackV0 = v0.template negTrack_as <TrackType>();
846843
847-
848844 if ((candidate.prong0Id () == posTrackV0.globalIndex ()) || (candidate.prong1Id () == posTrackV0.globalIndex ()) || (candidate.prong2Id () == posTrackV0.globalIndex ()) || (candidate.prong0Id () == negTrackV0.globalIndex ()) || (candidate.prong1Id () == negTrackV0.globalIndex ()) || (candidate.prong2Id () == negTrackV0.globalIndex ())) {
849845 if (!cfgCharmCand.storeAutoCorrelationFlag ) {
850846 continue ;
851847 }
852848 correlationStatus = true ;
853849 }
854850
855-
856851 if (cfgV0.cfgIsCorrCollMatchV0 && ((v0.collisionId () != posTrackV0.collisionId ()) || (v0.collisionId () != negTrackV0.collisionId ()))) {
857852 continue ;
858853 }
859854
860855 // Process Lambda (proton-pion)
861- if ((std::abs (o2::constants::physics::MassLambda - v0.mLambda ()) < cfgV0.cfgHypMassWindow ) && v0.alpha () > 0 ) {
856+ if ((std::abs (o2::constants::physics::MassLambda - v0.mLambda ()) < cfgV0.cfgHypMassWindow ) && v0.alpha () > 0 ) {
862857 if (isSelectedV0Daughter (posTrackV0, v0, kProton ) && isSelectedV0Daughter (negTrackV0, v0, kPiMinus )) {
863858
864859 if (selLcPKPi) {
@@ -879,7 +874,7 @@ struct HfCorrelatorLcScHadrons {
879874 }
880875
881876 // Process anti-Lambda (anti-proton-pion)
882- if ((std::abs (o2::constants::physics::MassLambda - v0.mAntiLambda ()) < cfgV0.cfgHypMassWindow ) && v0.alpha () < 0 ) {
877+ if ((std::abs (o2::constants::physics::MassLambda - v0.mAntiLambda ()) < cfgV0.cfgHypMassWindow ) && v0.alpha () < 0 ) {
883878 if (isSelectedV0Daughter (negTrackV0, v0, kProtonBar ) && isSelectedV0Daughter (posTrackV0, v0, kPiPlus )) {
884879
885880 if (selLcPKPi) {
@@ -966,7 +961,7 @@ struct HfCorrelatorLcScHadrons {
966961 }
967962
968963 // Process Lambda (proton + pion)
969- if (passV0Sel && std::abs (o2::constants::physics::MassLambda - v0.mLambda ()) < cfgV0.cfgHypMassWindow && v0.alpha () > 0 ) {
964+ if (passV0Sel && std::abs (o2::constants::physics::MassLambda - v0.mLambda ()) < cfgV0.cfgHypMassWindow && v0.alpha () > 0 ) {
970965 entryHadron (v0.mLambda (), trackV0Pos.eta (), trackV0Pos.pt () * trackV0Pos.sign (), 0 , 0 , v0.pt ());
971966 entryTrkPID (trackV0Pos.tpcNSigmaPr (), trackV0Pos.tpcNSigmaKa (), trackV0Pos.tpcNSigmaPi (), trackV0Pos.tofNSigmaPr (), trackV0Pos.tofNSigmaKa (), trackV0Pos.tofNSigmaPi ());
972967
@@ -1023,7 +1018,7 @@ struct HfCorrelatorLcScHadrons {
10231018 auto const & partV0Pos = trackV0Pos.mcParticle ();
10241019 auto const & partV0Neg = trackV0Neg.mcParticle ();
10251020
1026- if (passV0Sel && v0Mc.pdgCode () == kLambda0 && v0.alpha () > 0 ) {
1021+ if (passV0Sel && v0Mc.pdgCode () == kLambda0 && v0.alpha () > 0 ) {
10271022 if (isSelectedV0Daughter (trackV0Pos, v0, kProton ) && isSelectedV0Daughter (trackV0Neg, v0, kPiMinus )) {
10281023 registry.fill (HIST (" hV0LambdaMcRec" ), v0.mLambda (), v0.pt (), partV0Pos.pt ());
10291024 registry.fill (HIST (" hV0LambdaReflMcRec" ), v0.mAntiLambda (), v0.pt (), partV0Neg.pt ());
@@ -1038,7 +1033,7 @@ struct HfCorrelatorLcScHadrons {
10381033 }
10391034 }
10401035 }
1041- if (passV0Sel && v0Mc.pdgCode () == kLambda0Bar && v0.alpha () < 0 ) {
1036+ if (passV0Sel && v0Mc.pdgCode () == kLambda0Bar && v0.alpha () < 0 ) {
10421037 if (isSelectedV0Daughter (trackV0Neg, v0, kProtonBar ) && isSelectedV0Daughter (trackV0Pos, v0, kPiPlus )) {
10431038 registry.fill (HIST (" hV0LambdaMcRec" ), v0.mAntiLambda (), v0.pt (), partV0Neg.pt ());
10441039 registry.fill (HIST (" hV0LambdaReflMcRec" ), v0.mLambda (), v0.pt (), partV0Pos.pt ());
0 commit comments