From 8a9fa129696b07dff27b49ba1488ade88fe4b586 Mon Sep 17 00:00:00 2001 From: gengjiabin12 <997406694@qq.com> Date: Thu, 11 Jun 2026 21:44:44 +0800 Subject: [PATCH 1/3] Add files via upload --- PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx b/PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx index edb043a9746..c21f5e341f4 100644 --- a/PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx +++ b/PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx @@ -2807,8 +2807,13 @@ struct HStrangeCorrelation { histos.fill(HIST("Generated/hPositive") + HIST(Particlenames[Index]), mcParticle.pt(), mcParticle.eta(), 1); else if (i == IndexPion && mcParticle.pdgCode() < Neutral) histos.fill(HIST("Generated/hNegative") + HIST(Particlenames[Index]), mcParticle.pt(), mcParticle.eta(), 1); - else if (mcParticle.pdgCode() == PdgCodes[i]) - histos.fill(HIST("Generated/h") + HIST(Particlenames[Index]), mcParticle.pt(), mcParticle.eta(), 1); + else if (mcParticle.pdgCode() == PdgCodes[i]) { + if (efficiencyFlags.applyEffAsFunctionOfMultAndPhi) { + histos.fill(HIST("Generated/h") + HIST(Particlenames[Index]), mcParticle.pt(), mcParticle.eta(), mcParticle.phi(), 1); + } else { + histos.fill(HIST("Generated/h") + HIST(Particlenames[Index]), mcParticle.pt(), mcParticle.eta(), 1); + } + } }); } if (collisions.size() < 1) From 769b639848c5f7548dd0b466247f76ee5cf051b3 Mon Sep 17 00:00:00 2001 From: gengjiabin12 <997406694@qq.com> Date: Thu, 11 Jun 2026 21:45:43 +0800 Subject: [PATCH 2/3] Add files via upload --- .../TableProducer/Strangeness/hStrangeCorrelationFilter.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx b/PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx index c58c707f72a..696f1a476f6 100644 --- a/PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx +++ b/PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx @@ -764,7 +764,8 @@ struct HStrangeCorrelationFilter { continue; if (posdau.tpcNClsCrossedRows() < trackSelections.minTPCNCrossedRows) continue; - + if (v0.dcaV0daughters() > v0Selection.dcaV0dau) + continue; bool isGoodK0Short = (v0.distovertotmom(collision.posX(), collision.posY(), collision.posZ()) * o2::constants::physics::MassK0Short < v0Selection.lifetimecutK0S && std::abs(v0.dcapostopv()) > v0Selection.dcaMesonToPV && std::abs(v0.dcanegtopv()) > v0Selection.dcaMesonToPV && v0.qtarm() * v0Selection.armPodCut > std::abs(v0.alpha())); @@ -890,7 +891,8 @@ struct HStrangeCorrelationFilter { continue; if (posdau.tpcNClsCrossedRows() < trackSelections.minTPCNCrossedRows) continue; - + if (v0.dcaV0daughters() > v0Selection.dcaV0dau) + continue; bool isGoodK0Short = v0.distovertotmom(collision.posX(), collision.posY(), collision.posZ()) * o2::constants::physics::MassK0Short < v0Selection.lifetimecutK0S && std::abs(v0.dcapostopv()) > v0Selection.dcaMesonToPV && std::abs(v0.dcanegtopv()) > v0Selection.dcaMesonToPV && v0.qtarm() * v0Selection.armPodCut > std::abs(v0.alpha()); From 1a6d390acec34e172d3fb7abb69415961aaf0458 Mon Sep 17 00:00:00 2001 From: gengjiabin12 <997406694@qq.com> Date: Thu, 11 Jun 2026 22:11:46 +0800 Subject: [PATCH 3/3] Add files via upload --- PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx b/PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx index c21f5e341f4..f0f141e01d6 100644 --- a/PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx +++ b/PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx @@ -2803,11 +2803,11 @@ struct HStrangeCorrelation { continue; static_for<0, 7>([&](auto i) { constexpr int Index = i.value; - if (i == IndexPion && mcParticle.pdgCode() > Neutral) + if (i == IndexPion && mcParticle.pdgCode() > Neutral) { histos.fill(HIST("Generated/hPositive") + HIST(Particlenames[Index]), mcParticle.pt(), mcParticle.eta(), 1); - else if (i == IndexPion && mcParticle.pdgCode() < Neutral) + } else if (i == IndexPion && mcParticle.pdgCode() < Neutral) { histos.fill(HIST("Generated/hNegative") + HIST(Particlenames[Index]), mcParticle.pt(), mcParticle.eta(), 1); - else if (mcParticle.pdgCode() == PdgCodes[i]) { + } else if (mcParticle.pdgCode() == PdgCodes[i]) { if (efficiencyFlags.applyEffAsFunctionOfMultAndPhi) { histos.fill(HIST("Generated/h") + HIST(Particlenames[Index]), mcParticle.pt(), mcParticle.eta(), mcParticle.phi(), 1); } else {