@@ -165,7 +165,7 @@ struct ThreeParticleCorrelations {
165165 rQARegistry.add (" hPtPion_MC" , " hPtPion_MC" , {HistType::kTH1D , {{trackPtAxis}}});
166166 rQARegistry.add (" hPtKaon_MC" , " hPtKaon_MC" , {HistType::kTH1D , {{trackPtAxis}}});
167167 rQARegistry.add (" hPtProton_MC" , " hPtProton_MC" , {HistType::kTH1D , {{trackPtAxis}}});
168-
168+
169169 rQARegistry.add (" hdEdx" , " hdEdx" , {HistType::kTH2D , {{56 , 0.2 , 3.0 }, {180 , 20 , 200 }}});
170170 rQARegistry.add (" hdEdxPion" , " hdEdxPion" , {HistType::kTH2D , {{56 , 0.2 , 3.0 }, {180 , 20 , 200 }}});
171171 rQARegistry.add (" hdEdxKaon" , " hdEdxKaon" , {HistType::kTH2D , {{56 , 0.2 , 3.0 }, {180 , 20 , 200 }}});
@@ -188,11 +188,11 @@ struct ThreeParticleCorrelations {
188188
189189 // PhiStar
190190 rPhiStarRegistry.add (" hSEProtonPreCut_OS" , " hSEProtonPreCut_OS" , {HistType::kTH2D , {{80 , -0.2 , 0.2 }, {40 , -0.1 , 0.1 }}});
191- rPhiStarRegistry.add (" hSEProtonPreCut_SS" , " hSEProtonPreCut_SS" , {HistType::kTH2D , {{80 , -0.2 , 0.2 }, {40 , -0.1 , 0.1 }}});
191+ rPhiStarRegistry.add (" hSEProtonPreCut_SS" , " hSEProtonPreCut_SS" , {HistType::kTH2D , {{80 , -0.2 , 0.2 }, {40 , -0.1 , 0.1 }}});
192192 rPhiStarRegistry.add (" hSEProtonPostCut_OS" , " hSEProtonPostCut_OS" , {HistType::kTH2D , {{80 , -0.2 , 0.2 }, {40 , -0.1 , 0.1 }}});
193- rPhiStarRegistry.add (" hSEProtonPostCut_SS" , " hSEProtonPostCut_SS" , {HistType::kTH2D , {{80 , -0.2 , 0.2 }, {40 , -0.1 , 0.1 }}});
193+ rPhiStarRegistry.add (" hSEProtonPostCut_SS" , " hSEProtonPostCut_SS" , {HistType::kTH2D , {{80 , -0.2 , 0.2 }, {40 , -0.1 , 0.1 }}});
194194 rPhiStarRegistry.add (" hMEProtonPreCut_OS" , " hMEProtonPreCut_OS" , {HistType::kTH2D , {{80 , -0.2 , 0.2 }, {40 , -0.1 , 0.1 }}});
195- rPhiStarRegistry.add (" hMEProtonPreCut_SS" , " hMEProtonPreCut_SS" , {HistType::kTH2D , {{80 , -0.2 , 0.2 }, {40 , -0.1 , 0.1 }}});
195+ rPhiStarRegistry.add (" hMEProtonPreCut_SS" , " hMEProtonPreCut_SS" , {HistType::kTH2D , {{80 , -0.2 , 0.2 }, {40 , -0.1 , 0.1 }}});
196196 rPhiStarRegistry.add (" hMEProtonPostCut_OS" , " hMEProtonPostCut_OS" , {HistType::kTH2D , {{80 , -0.2 , 0.2 }, {40 , -0.1 , 0.1 }}});
197197 rPhiStarRegistry.add (" hMEProtonPostCut_SS" , " hMEProtonPostCut_SS" , {HistType::kTH2D , {{80 , -0.2 , 0.2 }, {40 , -0.1 , 0.1 }}});
198198
@@ -239,7 +239,7 @@ struct ThreeParticleCorrelations {
239239 rSECorrRegistry.add (" hSameLambdaKaon_SGNL" , " Same-event #Lambda - K correlator (SGNL region)" , {HistType::kTHnSparseF , {{phiAxis}, {etaAxis}, {centralityAxis}, {zvtxAxis}, {2 , -2 , 2 }, {2 , -2 , 2 }}});
240240 rSECorrRegistry.add (" hSameLambdaKaon_SB" , " Same-event #Lambda - K correlator (SB region)" , {HistType::kTHnSparseF , {{phiAxis}, {etaAxis}, {centralityAxis}, {zvtxAxis}, {2 , -2 , 2 }, {2 , -2 , 2 }}});
241241 rSECorrRegistry.add (" hSameLambdaProton_SGNL" , " Same-event #Lambda - p correlator (SGNL region)" , {HistType::kTHnSparseF , {{phiAxis}, {etaAxis}, {centralityAxis}, {zvtxAxis}, {2 , -2 , 2 }, {2 , -2 , 2 }}});
242- rSECorrRegistry.add (" hSameLambdaProton_SB" , " Same-event #Lambda - p correlator (SB region)" , {HistType::kTHnSparseF , {{phiAxis}, {etaAxis}, {centralityAxis}, {zvtxAxis}, {2 , -2 , 2 }, {2 , -2 , 2 }}});
242+ rSECorrRegistry.add (" hSameLambdaProton_SB" , " Same-event #Lambda - p correlator (SB region)" , {HistType::kTHnSparseF , {{phiAxis}, {etaAxis}, {centralityAxis}, {zvtxAxis}, {2 , -2 , 2 }, {2 , -2 , 2 }}});
243243 rSECorrRegistry.add (" hSameLambdaPion_MC" , " Same-event #Lambda - #pi correlator (MC)" , {HistType::kTHnSparseF , {{phiAxis}, {etaAxis}, {centralityAxis}, {zvtxAxis}, {2 , -2 , 2 }, {2 , -2 , 2 }}});
244244 rSECorrRegistry.add (" hSameLambdaKaon_MC" , " Same-event #Lambda - K correlator (MC)" , {HistType::kTHnSparseF , {{phiAxis}, {etaAxis}, {centralityAxis}, {zvtxAxis}, {2 , -2 , 2 }, {2 , -2 , 2 }}});
245245 rSECorrRegistry.add (" hSameLambdaProton_MC" , " Same-event #Lambda - p correlator (MC)" , {HistType::kTHnSparseF , {{phiAxis}, {etaAxis}, {centralityAxis}, {zvtxAxis}, {2 , -2 , 2 }, {2 , -2 , 2 }}});
@@ -354,31 +354,31 @@ struct ThreeParticleCorrelations {
354354 } else if (assocPID[0 ] == protonID) { // Protons
355355 rSECorrRegistry.fill (HIST (" hSameLambdaProton_SGNL" ), deltaPhi, deltaEta, collision.centFT0C (), collision.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffProtons, associate));
356356 }
357-
357+
358358 } else if (candMass >= MassLambda0 - 8 * dGaussSigma && candMass <= MassLambda0 + 8 * dGaussSigma) {
359359 if (assocPID[0 ] == pionID) { // Pions
360360 rSECorrRegistry.fill (HIST (" hSameLambdaPion_SB" ), deltaPhi, deltaEta, collision.centFT0C (), collision.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffPions, associate));
361- if (candMass >= MassLambda0 - 8 * dGaussSigma && candMass < MassLambda0 + 4 * dGaussSigma) {
362- rSECorrRegistry.fill (HIST (" hSameLambdaPion_leftSB" ), deltaPhi, deltaEta, collision.centFT0C (), collision.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffPions, associate));
363- } else if (candMass > MassLambda0 - 4 * dGaussSigma && candMass <= MassLambda0 + 8 * dGaussSigma) {
364- rSECorrRegistry.fill (HIST (" hSameLambdaPion_rightSB" ), deltaPhi, deltaEta, collision.centFT0C (), collision.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffPions, associate));
365- }
366-
367- } else if (assocPID[0 ] == kaonID) { // Kaons
361+ if (candMass >= MassLambda0 - 8 * dGaussSigma && candMass < MassLambda0 + 4 * dGaussSigma) {
362+ rSECorrRegistry.fill (HIST (" hSameLambdaPion_leftSB" ), deltaPhi, deltaEta, collision.centFT0C (), collision.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffPions, associate));
363+ } else if (candMass > MassLambda0 - 4 * dGaussSigma && candMass <= MassLambda0 + 8 * dGaussSigma) {
364+ rSECorrRegistry.fill (HIST (" hSameLambdaPion_rightSB" ), deltaPhi, deltaEta, collision.centFT0C (), collision.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffPions, associate));
365+ }
366+
367+ } else if (assocPID[0 ] == kaonID) { // Kaons
368368 rSECorrRegistry.fill (HIST (" hSameLambdaKaon_SB" ), deltaPhi, deltaEta, collision.centFT0C (), collision.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffKaons, associate));
369- if (candMass >= MassLambda0 - 8 * dGaussSigma && candMass < MassLambda0 + 4 * dGaussSigma) {
370- rSECorrRegistry.fill (HIST (" hSameLambdaKaon_leftSB" ), deltaPhi, deltaEta, collision.centFT0C (), collision.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffKaons, associate));
371- } else if (candMass > MassLambda0 - 4 * dGaussSigma && candMass <= MassLambda0 + 8 * dGaussSigma) {
372- rSECorrRegistry.fill (HIST (" hSameLambdaKaon_rightSB" ), deltaPhi, deltaEta, collision.centFT0C (), collision.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffKaons, associate));
373- }
374-
369+ if (candMass >= MassLambda0 - 8 * dGaussSigma && candMass < MassLambda0 + 4 * dGaussSigma) {
370+ rSECorrRegistry.fill (HIST (" hSameLambdaKaon_leftSB" ), deltaPhi, deltaEta, collision.centFT0C (), collision.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffKaons, associate));
371+ } else if (candMass > MassLambda0 - 4 * dGaussSigma && candMass <= MassLambda0 + 8 * dGaussSigma) {
372+ rSECorrRegistry.fill (HIST (" hSameLambdaKaon_rightSB" ), deltaPhi, deltaEta, collision.centFT0C (), collision.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffKaons, associate));
373+ }
374+
375375 } else if (assocPID[0 ] == protonID) { // Protons
376376 rSECorrRegistry.fill (HIST (" hSameLambdaProton_SB" ), deltaPhi, deltaEta, collision.centFT0C (), collision.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffProtons, associate));
377- if (candMass >= MassLambda0 - 8 * dGaussSigma && candMass < MassLambda0 + 4 * dGaussSigma) {
378- rSECorrRegistry.fill (HIST (" hSameLambdaProton_leftSB" ), deltaPhi, deltaEta, collision.centFT0C (), collision.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffProtons, associate));
379- } else if (candMass > MassLambda0 - 4 * dGaussSigma && candMass <= MassLambda0 + 8 * dGaussSigma) {
380- rSECorrRegistry.fill (HIST (" hSameLambdaProton_rightSB" ), deltaPhi, deltaEta, collision.centFT0C (), collision.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffProtons, associate));
381- }
377+ if (candMass >= MassLambda0 - 8 * dGaussSigma && candMass < MassLambda0 + 4 * dGaussSigma) {
378+ rSECorrRegistry.fill (HIST (" hSameLambdaProton_leftSB" ), deltaPhi, deltaEta, collision.centFT0C (), collision.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffProtons, associate));
379+ } else if (candMass > MassLambda0 - 4 * dGaussSigma && candMass <= MassLambda0 + 8 * dGaussSigma) {
380+ rSECorrRegistry.fill (HIST (" hSameLambdaProton_rightSB" ), deltaPhi, deltaEta, collision.centFT0C (), collision.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffProtons, associate));
381+ }
382382 }
383383 }
384384 }
@@ -420,31 +420,31 @@ struct ThreeParticleCorrelations {
420420 } else if (assocPID[0 ] == protonID) { // Protons
421421 rMECorrRegistry.fill (HIST (" hMixLambdaProton_SGNL" ), deltaPhi, deltaEta, coll_1.centFT0C (), coll_1.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffProtons, associate));
422422 }
423-
423+
424424 } else if (candMass >= MassLambda0 - 8 * dGaussSigma && candMass <= MassLambda0 + 8 * dGaussSigma) {
425425 if (assocPID[0 ] == pionID) { // Pions
426426 rMECorrRegistry.fill (HIST (" hMixLambdaPion_SB" ), deltaPhi, deltaEta, coll_1.centFT0C (), coll_1.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffPions, associate));
427- if (candMass >= MassLambda0 - 8 * dGaussSigma && candMass < MassLambda0 + 4 * dGaussSigma) {
428- rMECorrRegistry.fill (HIST (" hMixLambdaPion_leftSB" ), deltaPhi, deltaEta, coll_1.centFT0C (), coll_1.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffPions, associate));
429- } else if (candMass > MassLambda0 - 4 * dGaussSigma && candMass <= MassLambda0 + 8 * dGaussSigma) {
430- rMECorrRegistry.fill (HIST (" hMixLambdaPion_rightSB" ), deltaPhi, deltaEta, coll_1.centFT0C (), coll_1.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffPions, associate));
431- }
432-
433- } else if (assocPID[0 ] == kaonID) { // Kaons
427+ if (candMass >= MassLambda0 - 8 * dGaussSigma && candMass < MassLambda0 + 4 * dGaussSigma) {
428+ rMECorrRegistry.fill (HIST (" hMixLambdaPion_leftSB" ), deltaPhi, deltaEta, coll_1.centFT0C (), coll_1.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffPions, associate));
429+ } else if (candMass > MassLambda0 - 4 * dGaussSigma && candMass <= MassLambda0 + 8 * dGaussSigma) {
430+ rMECorrRegistry.fill (HIST (" hMixLambdaPion_rightSB" ), deltaPhi, deltaEta, coll_1.centFT0C (), coll_1.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffPions, associate));
431+ }
432+
433+ } else if (assocPID[0 ] == kaonID) { // Kaons
434434 rMECorrRegistry.fill (HIST (" hMixLambdaKaon_SB" ), deltaPhi, deltaEta, coll_1.centFT0C (), coll_1.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffKaons, associate));
435- if (candMass >= MassLambda0 - 8 * dGaussSigma && candMass < MassLambda0 + 4 * dGaussSigma) {
436- rMECorrRegistry.fill (HIST (" hMixLambdaKaon_leftSB" ), deltaPhi, deltaEta, coll_1.centFT0C (), coll_1.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffKaons, associate));
437- } else if (candMass > MassLambda0 - 4 * dGaussSigma && candMass <= MassLambda0 + 8 * dGaussSigma) {
438- rMECorrRegistry.fill (HIST (" hMixLambdaKaon_rightSB" ), deltaPhi, deltaEta, coll_1.centFT0C (), coll_1.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffKaons, associate));
439- }
435+ if (candMass >= MassLambda0 - 8 * dGaussSigma && candMass < MassLambda0 + 4 * dGaussSigma) {
436+ rMECorrRegistry.fill (HIST (" hMixLambdaKaon_leftSB" ), deltaPhi, deltaEta, coll_1.centFT0C (), coll_1.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffKaons, associate));
437+ } else if (candMass > MassLambda0 - 4 * dGaussSigma && candMass <= MassLambda0 + 8 * dGaussSigma) {
438+ rMECorrRegistry.fill (HIST (" hMixLambdaKaon_rightSB" ), deltaPhi, deltaEta, coll_1.centFT0C (), coll_1.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffKaons, associate));
439+ }
440440
441- } else if (assocPID[0 ] == protonID) { // Protons
441+ } else if (assocPID[0 ] == protonID) { // Protons
442442 rMECorrRegistry.fill (HIST (" hMixLambdaProton_SB" ), deltaPhi, deltaEta, coll_1.centFT0C (), coll_1.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffProtons, associate));
443- if (candMass >= MassLambda0 - 8 * dGaussSigma && candMass < MassLambda0 + 4 * dGaussSigma) {
444- rMECorrRegistry.fill (HIST (" hMixLambdaProton_leftSB" ), deltaPhi, deltaEta, coll_1.centFT0C (), coll_1.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffProtons, associate));
445- } else if (candMass > MassLambda0 - 4 * dGaussSigma && candMass <= MassLambda0 + 8 * dGaussSigma) {
446- rMECorrRegistry.fill (HIST (" hMixLambdaProton_rightSB" ), deltaPhi, deltaEta, coll_1.centFT0C (), coll_1.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffProtons, associate));
447- }
443+ if (candMass >= MassLambda0 - 8 * dGaussSigma && candMass < MassLambda0 + 4 * dGaussSigma) {
444+ rMECorrRegistry.fill (HIST (" hMixLambdaProton_leftSB" ), deltaPhi, deltaEta, coll_1.centFT0C (), coll_1.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffProtons, associate));
445+ } else if (candMass > MassLambda0 - 4 * dGaussSigma && candMass <= MassLambda0 + 8 * dGaussSigma) {
446+ rMECorrRegistry.fill (HIST (" hMixLambdaProton_rightSB" ), deltaPhi, deltaEta, coll_1.centFT0C (), coll_1.posZ (), triggSign, associate.sign (), 1 . / trackEff (hEffProtons, associate));
447+ }
448448 }
449449 }
450450 }
@@ -463,15 +463,15 @@ struct ThreeParticleCorrelations {
463463
464464 // Start of the MC Track QA
465465 for (const auto & track : groupMCAssociates) {
466- if (track.isPhysicalPrimary ()) {
467-
468- if (std::abs (track.pdgCode ()) == kPiPlus ) { // Pions
469- rQARegistry.fill (HIST (" hPtPion_MC" ), track.pt ());
470- } else if (std::abs (track.pdgCode ()) == kKPlus ) { // Kaons
471- rQARegistry.fill (HIST (" hPtKaon_MC" ), track.pt ());
472- } else if (std::abs (track.pdgCode ()) == kProton ) { // Protons
473- rQARegistry.fill (HIST (" hPtProton_MC" ), track.pt ());
474- }
466+ if (track.isPhysicalPrimary ()) {
467+
468+ if (std::abs (track.pdgCode ()) == kPiPlus ) { // Pions
469+ rQARegistry.fill (HIST (" hPtPion_MC" ), track.pt ());
470+ } else if (std::abs (track.pdgCode ()) == kKPlus ) { // Kaons
471+ rQARegistry.fill (HIST (" hPtKaon_MC" ), track.pt ());
472+ } else if (std::abs (track.pdgCode ()) == kProton ) { // Protons
473+ rQARegistry.fill (HIST (" hPtProton_MC" ), track.pt ());
474+ }
475475 }
476476 }
477477 // End of the MC Track QA
@@ -596,23 +596,23 @@ struct ThreeParticleCorrelations {
596596 auto particle = track.mcParticle ();
597597 if (particle.isPhysicalPrimary ()) {
598598
599- // Efficiency - Reconstructed
600- rMCRegistry.fill (HIST (" hReconstructed" ), track.pt (), track.eta (), collision.centFT0C ());
601- if (particle.pdgCode () == kPiPlus ) { // Pos pions
602- rMCRegistry.fill (HIST (" hRecPionP" ), track.pt (), track.eta (), collision.centFT0C ());
603- } else if (particle.pdgCode () == kPiMinus ) { // Neg pions
604- rMCRegistry.fill (HIST (" hRecPionN" ), track.pt (), track.eta (), collision.centFT0C ());
605- } else if (particle.pdgCode () == kKPlus ) { // Pos kaons
606- rMCRegistry.fill (HIST (" hRecKaonP" ), track.pt (), track.eta (), collision.centFT0C ());
607- } else if (particle.pdgCode () == kKMinus ) { // Neg kaons
608- rMCRegistry.fill (HIST (" hRecKaonN" ), track.pt (), track.eta (), collision.centFT0C ());
609- } else if (particle.pdgCode () == kProton ) { // Pos protons
610- rMCRegistry.fill (HIST (" hRecProtonP" ), track.pt (), track.eta (), collision.centFT0C ());
611- } else if (particle.pdgCode () == kProtonBar ) { // Neg protons
612- rMCRegistry.fill (HIST (" hRecProtonN" ), track.pt (), track.eta (), collision.centFT0C ());
613- }
614-
615- if (trackFilters (track)) {
599+ // Efficiency - Reconstructed
600+ rMCRegistry.fill (HIST (" hReconstructed" ), track.pt (), track.eta (), collision.centFT0C ());
601+ if (particle.pdgCode () == kPiPlus ) { // Pos pions
602+ rMCRegistry.fill (HIST (" hRecPionP" ), track.pt (), track.eta (), collision.centFT0C ());
603+ } else if (particle.pdgCode () == kPiMinus ) { // Neg pions
604+ rMCRegistry.fill (HIST (" hRecPionN" ), track.pt (), track.eta (), collision.centFT0C ());
605+ } else if (particle.pdgCode () == kKPlus ) { // Pos kaons
606+ rMCRegistry.fill (HIST (" hRecKaonP" ), track.pt (), track.eta (), collision.centFT0C ());
607+ } else if (particle.pdgCode () == kKMinus ) { // Neg kaons
608+ rMCRegistry.fill (HIST (" hRecKaonN" ), track.pt (), track.eta (), collision.centFT0C ());
609+ } else if (particle.pdgCode () == kProton ) { // Pos protons
610+ rMCRegistry.fill (HIST (" hRecProtonP" ), track.pt (), track.eta (), collision.centFT0C ());
611+ } else if (particle.pdgCode () == kProtonBar ) { // Neg protons
612+ rMCRegistry.fill (HIST (" hRecProtonN" ), track.pt (), track.eta (), collision.centFT0C ());
613+ }
614+
615+ if (trackFilters (track)) {
616616
617617 // Efficiency - Reconstructed & PID filters applied
618618 rMCRegistry.fill (HIST (" hIdentified" ), track.pt (), track.eta (), collision.centFT0C ());
@@ -933,19 +933,19 @@ struct ThreeParticleCorrelations {
933933 dPhiStar = RecoDecay::constrainAngle (dPhi + std::asin (phaseProton * r) - std::asin (phaseTrack * r), -constants::math::PIHalf);
934934
935935 if (r == rMin) {
936- if (!Mix) { // Same-event
937- if (v0Sign (v0) * track.sign () == -1 ) { // OS
938- rPhiStarRegistry.fill (HIST (" hSEProtonPreCut_OS" ), dPhiStar, dEta);
939- } else if (v0Sign (v0) * track.sign () == 1 ) { // SS
940- rPhiStarRegistry.fill (HIST (" hSEProtonPreCut_SS" ), dPhiStar, dEta);
941- }
942-
943- } else { // Mixed-event
936+ if (!Mix) { // Same-event
937+ if (v0Sign (v0) * track.sign () == -1 ) { // OS
938+ rPhiStarRegistry.fill (HIST (" hSEProtonPreCut_OS" ), dPhiStar, dEta);
939+ } else if (v0Sign (v0) * track.sign () == 1 ) { // SS
940+ rPhiStarRegistry.fill (HIST (" hSEProtonPreCut_SS" ), dPhiStar, dEta);
941+ }
942+
943+ } else { // Mixed-event
944944 if (v0Sign (v0) * track.sign () == -1 ) { // OS
945- rPhiStarRegistry.fill (HIST (" hMEProtonPreCut_OS" ), dPhiStar, dEta);
946- } else if (v0Sign (v0) * track.sign () == 1 ) { // SS
947- rPhiStarRegistry.fill (HIST (" hMEProtonPreCut_SS" ), dPhiStar, dEta);
948- }
945+ rPhiStarRegistry.fill (HIST (" hMEProtonPreCut_OS" ), dPhiStar, dEta);
946+ } else if (v0Sign (v0) * track.sign () == 1 ) { // SS
947+ rPhiStarRegistry.fill (HIST (" hMEProtonPreCut_SS" ), dPhiStar, dEta);
948+ }
949949 }
950950 }
951951
@@ -954,19 +954,19 @@ struct ThreeParticleCorrelations {
954954 }
955955
956956 if (r == rMin) {
957- if (!Mix) { // Same-event
958- if (v0Sign (v0) * track.sign () == -1 ) { // OS
959- rPhiStarRegistry.fill (HIST (" hSEProtonPostCut_OS" ), dPhiStar, dEta);
960- } else if (v0Sign (v0) * track.sign () == 1 ) { // SS
961- rPhiStarRegistry.fill (HIST (" hSEProtonPostCut_SS" ), dPhiStar, dEta);
962- }
963-
964- } else { // Mixed-event
957+ if (!Mix) { // Same-event
965958 if (v0Sign (v0) * track.sign () == -1 ) { // OS
966- rPhiStarRegistry.fill (HIST (" hMEProtonPostCut_OS" ), dPhiStar, dEta);
967- } else if (v0Sign (v0) * track.sign () == 1 ) { // SS
968- rPhiStarRegistry.fill (HIST (" hMEProtonPostCut_SS" ), dPhiStar, dEta);
969- }
959+ rPhiStarRegistry.fill (HIST (" hSEProtonPostCut_OS" ), dPhiStar, dEta);
960+ } else if (v0Sign (v0) * track.sign () == 1 ) { // SS
961+ rPhiStarRegistry.fill (HIST (" hSEProtonPostCut_SS" ), dPhiStar, dEta);
962+ }
963+
964+ } else { // Mixed-event
965+ if (v0Sign (v0) * track.sign () == -1 ) { // OS
966+ rPhiStarRegistry.fill (HIST (" hMEProtonPostCut_OS" ), dPhiStar, dEta);
967+ } else if (v0Sign (v0) * track.sign () == 1 ) { // SS
968+ rPhiStarRegistry.fill (HIST (" hMEProtonPostCut_SS" ), dPhiStar, dEta);
969+ }
970970 }
971971 }
972972 }
0 commit comments