From e7604032f566b919dab4de73eacaa10c82d3fb0d Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Tue, 12 May 2026 15:47:32 +0000 Subject: [PATCH] Please consider the following formatting changes --- .../femtoUniversePairTaskTrackV0Helicity.cxx | 78 +++++++++---------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackV0Helicity.cxx b/PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackV0Helicity.cxx index 6cdd3fe0b1b..de365d980f2 100644 --- a/PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackV0Helicity.cxx +++ b/PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackV0Helicity.cxx @@ -522,47 +522,47 @@ struct FemtoUniversePairTaskTrackV0Helicity { if (part.has_fdMCParticle()) if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) { thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMC"), part.mLambda()); - else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) - thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMC"), part.mKaon()); - - if (cosineTheta <= helicityconfigs.confLimitHel0 && cosineTheta >= helicityconfigs.confLimitHel1) { - if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) { - thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMCHel1"), part.mLambda()); - } else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) { - if (helicityconfigs.isRealK0Short) - thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel1"), part.mKaon()); - else - thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel1"), part.mLambda()); - } - } else if (cosineTheta < helicityconfigs.confLimitHel1 && cosineTheta >= helicityconfigs.confLimitHel2) { - if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) { - thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMCHel2"), part.mLambda()); - } else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) { - if (helicityconfigs.isRealK0Short) - thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel2"), part.mKaon()); - else - thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel2"), part.mLambda()); - } - } else if (cosineTheta < helicityconfigs.confLimitHel2 && cosineTheta >= helicityconfigs.confLimitHel3) { - if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) { - thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMCHel3"), part.mLambda()); - } else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) { - if (helicityconfigs.isRealK0Short) - thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel3"), part.mKaon()); - else - thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel3"), part.mLambda()); - } - } else if (cosineTheta < helicityconfigs.confLimitHel3 && cosineTheta >= helicityconfigs.confLimitHel4) { - if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) { - thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMCHel4"), part.mLambda()); - } else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) { - if (helicityconfigs.isRealK0Short) - thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel4"), part.mKaon()); - else - thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel4"), part.mLambda()); + else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) + thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMC"), part.mKaon()); + + if (cosineTheta <= helicityconfigs.confLimitHel0 && cosineTheta >= helicityconfigs.confLimitHel1) { + if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) { + thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMCHel1"), part.mLambda()); + } else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) { + if (helicityconfigs.isRealK0Short) + thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel1"), part.mKaon()); + else + thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel1"), part.mLambda()); + } + } else if (cosineTheta < helicityconfigs.confLimitHel1 && cosineTheta >= helicityconfigs.confLimitHel2) { + if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) { + thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMCHel2"), part.mLambda()); + } else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) { + if (helicityconfigs.isRealK0Short) + thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel2"), part.mKaon()); + else + thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel2"), part.mLambda()); + } + } else if (cosineTheta < helicityconfigs.confLimitHel2 && cosineTheta >= helicityconfigs.confLimitHel3) { + if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) { + thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMCHel3"), part.mLambda()); + } else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) { + if (helicityconfigs.isRealK0Short) + thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel3"), part.mKaon()); + else + thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel3"), part.mLambda()); + } + } else if (cosineTheta < helicityconfigs.confLimitHel3 && cosineTheta >= helicityconfigs.confLimitHel4) { + if ((part.fdMCParticle()).pdgMCTruth() == kLambda0) { + thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassLambdaMCHel4"), part.mLambda()); + } else if ((part.fdMCParticle()).pdgMCTruth() == kK0Short) { + if (helicityconfigs.isRealK0Short) + thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel4"), part.mKaon()); + else + thetaRegistry.fill(HIST("Theta/Mother/MCReco/hInvMassK0ShortMCHel4"), part.mLambda()); + } } } - } } }