From 3976be06ebde691057dae211b0bb046e0392fc1b Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Fri, 9 May 2025 10:14:54 +0000 Subject: [PATCH] Please consider the following formatting changes --- .../Tasks/threeParticleCorrelations.cxx | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/PWGCF/MultiparticleCorrelations/Tasks/threeParticleCorrelations.cxx b/PWGCF/MultiparticleCorrelations/Tasks/threeParticleCorrelations.cxx index a436ae77557..15f37379a33 100644 --- a/PWGCF/MultiparticleCorrelations/Tasks/threeParticleCorrelations.cxx +++ b/PWGCF/MultiparticleCorrelations/Tasks/threeParticleCorrelations.cxx @@ -816,15 +816,15 @@ struct ThreeParticleCorrelations { { if (confRDSwitch) { - + auto proton = v0.template posTrack_as(); if (v0Sign(v0) == -1) { - proton = v0.template negTrack_as(); + proton = v0.template negTrack_as(); } double dEta = proton.eta() - track.eta(); if (std::abs(dEta) > dEtaMin) { - return kTRUE; + return kTRUE; } double dPhiStar; @@ -833,30 +833,30 @@ struct ThreeParticleCorrelations { double phaseTrack = (-0.3 * B * track.sign()) / (2 * track.pt()); for (double r = rMin; r <= rMax; r += 0.01) { - dPhiStar = RecoDecay::constrainAngle(dPhi + std::asin(phaseProton * r) - std::asin(phaseTrack * r), -constants::math::PIHalf); - - if (r == rMin) { - if (!Mix) { - rPhiStarRegistry.fill(HIST("hSEProtonPreCut"), dPhiStar, dEta); - } else { - rPhiStarRegistry.fill(HIST("hMEProtonPreCut"), dPhiStar, dEta); - } - } - - if (std::abs(dPhiStar) < dPhiStarMin) { - return kFALSE; - } - - if (r == rMin) { - if (!Mix) { - rPhiStarRegistry.fill(HIST("hSEProtonPostCut"), dPhiStar, dEta); - } else { - rPhiStarRegistry.fill(HIST("hMEProtonPostCut"), dPhiStar, dEta); - } - } + dPhiStar = RecoDecay::constrainAngle(dPhi + std::asin(phaseProton * r) - std::asin(phaseTrack * r), -constants::math::PIHalf); + + if (r == rMin) { + if (!Mix) { + rPhiStarRegistry.fill(HIST("hSEProtonPreCut"), dPhiStar, dEta); + } else { + rPhiStarRegistry.fill(HIST("hMEProtonPreCut"), dPhiStar, dEta); + } + } + + if (std::abs(dPhiStar) < dPhiStarMin) { + return kFALSE; + } + + if (r == rMin) { + if (!Mix) { + rPhiStarRegistry.fill(HIST("hSEProtonPostCut"), dPhiStar, dEta); + } else { + rPhiStarRegistry.fill(HIST("hMEProtonPostCut"), dPhiStar, dEta); + } + } } } - + return kTRUE; } };