From 02d43f3bd030c01fbb07dce8035334dfc3db28d4 Mon Sep 17 00:00:00 2001 From: jikim1290 Date: Mon, 24 Aug 2026 13:24:40 +0900 Subject: [PATCH 1/2] add trigger particle counting --- PWGLF/Tasks/Strangeness/lambdaTwoPartPolarization.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/PWGLF/Tasks/Strangeness/lambdaTwoPartPolarization.cxx b/PWGLF/Tasks/Strangeness/lambdaTwoPartPolarization.cxx index 34b2a8ac52d..11f3a47007b 100644 --- a/PWGLF/Tasks/Strangeness/lambdaTwoPartPolarization.cxx +++ b/PWGLF/Tasks/Strangeness/lambdaTwoPartPolarization.cxx @@ -184,6 +184,7 @@ struct LfLambdaTwoPartPolarization { histos.add("AnaHL/ALambdaSignalSin2", "", {HistType::kTHnSparseF, {ptAxis, ptAxis, detaAxis, dphiAxis, centAxis, massAxis, cosSigAxis}}); histos.add("AnaHL/ALambdaSignalCos2", "", {HistType::kTHnSparseF, {ptAxis, ptAxis, detaAxis, dphiAxis, centAxis, massAxis, cosSigAxis}}); + histos.add("AnaHL/RefTrig", "", {HistType::kTH2F, {ptAxis, centAxis}}); histos.add("AnaHL/Ref", "", {HistType::kTHnSparseF, {ptAxis, ptAxis, detaAxis, dphiAxis, centAxis}}); fMultPVCutLow = new TF1("fMultPVCutLow", "[0]+[1]*x+[2]*x*x+[3]*x*x*x - 2.5*([4]+[5]*x+[6]*x*x+[7]*x*x*x+[8]*x*x*x*x)", 0, 100); @@ -334,12 +335,14 @@ struct LfLambdaTwoPartPolarization { if (!selectTrack(trk1)) { continue; } + + histos.fill(HIST("AnaHL/RefTrig"), trk1.pt(), centrality); for (const auto& trk2 : trks2) { if (!selectTrack(trk2)) { continue; } - if (trk1.globalIndex() >= trk2.globalIndex()) { + if (doprocessDataSame && trk1.globalIndex() >= trk2.globalIndex()) { continue; } @@ -574,7 +577,7 @@ struct LfLambdaTwoPartPolarization { centrality = collision.centFT0C(); } else if (cfgCentEst == kFT0M) { centrality = collision.centFT0M(); - } + } if (!eventSelected(collision) && cfgEvtSel) { return; } From 0744eeb110eecd887bef99a675af49ff33da54a1 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Mon, 24 Aug 2026 04:25:59 +0000 Subject: [PATCH 2/2] Please consider the following formatting changes --- PWGLF/Tasks/Strangeness/lambdaTwoPartPolarization.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGLF/Tasks/Strangeness/lambdaTwoPartPolarization.cxx b/PWGLF/Tasks/Strangeness/lambdaTwoPartPolarization.cxx index 11f3a47007b..1859c3f0782 100644 --- a/PWGLF/Tasks/Strangeness/lambdaTwoPartPolarization.cxx +++ b/PWGLF/Tasks/Strangeness/lambdaTwoPartPolarization.cxx @@ -577,7 +577,7 @@ struct LfLambdaTwoPartPolarization { centrality = collision.centFT0C(); } else if (cfgCentEst == kFT0M) { centrality = collision.centFT0M(); - } + } if (!eventSelected(collision) && cfgEvtSel) { return; }