From b4f759009c7d2ecff42bfebd6c6b1a661e36293e Mon Sep 17 00:00:00 2001 From: abmodak <67369858+abmodak@users.noreply.github.com> Date: Sat, 6 Jun 2026 00:43:30 +0200 Subject: [PATCH] Add multNTracksPV multiplicity estimator in the task --- .../TwoParticleCorrelations/TableProducer/longrangeMaker.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PWGCF/TwoParticleCorrelations/TableProducer/longrangeMaker.cxx b/PWGCF/TwoParticleCorrelations/TableProducer/longrangeMaker.cxx index 03a5d861653..0eaaf4a4f82 100644 --- a/PWGCF/TwoParticleCorrelations/TableProducer/longrangeMaker.cxx +++ b/PWGCF/TwoParticleCorrelations/TableProducer/longrangeMaker.cxx @@ -117,6 +117,7 @@ struct LongrangeMaker { Configurable isApplyNoCollInRofStrict{"isApplyNoCollInRofStrict", false, "Enable NoCollInRofStrict cut"}; Configurable isApplyNoHighMultCollInPrevRof{"isApplyNoHighMultCollInPrevRof", false, "Enable NoHighMultCollInPrevRof cut"}; Configurable isApplyCentFT0C{"isApplyCentFT0C", false, "Centrality based on FT0C"}; + Configurable isApplyMultNTracksPV{"isApplyMultNTracksPV", false, "Multiplicity based on MultNTracksPV"}; Configurable isApplyCentFV0A{"isApplyCentFV0A", false, "Centrality based on FV0A"}; Configurable isApplyCentFT0M{"isApplyCentFT0M", false, "Centrality based on FT0A + FT0C"}; Configurable isApplyOccuSelection{"isApplyOccuSelection", false, "Enable occupancy selection"}; @@ -1140,6 +1141,9 @@ struct LongrangeMaker { float selColCent(CheckColCent const& col) { auto cent = -1; + if (cfgevtsel.isApplyMultNTracksPV) { + cent = col.multNTracksPV(); + } if (cfgevtsel.isApplyCentFT0C) { cent = col.centFT0C(); }