From 8423a24e5112f998c0eb9f2c23489929b1835fa8 Mon Sep 17 00:00:00 2001 From: Deependra Sharma Date: Wed, 20 Aug 2025 11:51:45 +0000 Subject: [PATCH 1/2] adding a new QA histogram for multiplicity --- PWGHF/HFC/TableProducer/correlatorDstarHadrons.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PWGHF/HFC/TableProducer/correlatorDstarHadrons.cxx b/PWGHF/HFC/TableProducer/correlatorDstarHadrons.cxx index 1a4cafe02ac..16f8170f213 100644 --- a/PWGHF/HFC/TableProducer/correlatorDstarHadrons.cxx +++ b/PWGHF/HFC/TableProducer/correlatorDstarHadrons.cxx @@ -196,12 +196,15 @@ struct HfCorrelatorDstarHadrons { LOGP(fatal, "One and only one process function must be enabled at a time."); } + AxisSpec axisSpecMultFT0M{binsMultiplicity, "Multiplicity in FT0M", "multFT0M"}; // 200 bins from 0 to 2000 + invMassDstarParticle = -999.0; invMassD0Particle = -999.0; binNumber = -2; binningScheme = {{binsZVtx, binsMultiplicity}, true}; + registry.add("QA/hMultFT0M", "Multiplicity distribution in FT0M", {HistType::kTH1D, {axisSpecMultFT0M}}); registry.add("QA/hCandsPerCol", "Candidates per Collision", {HistType::kTH1D, {{100, 0.0, 100.0}}}); registry.add("QA/hAssoTracksPerCol", "Tracks per Collision", {HistType::kTH1D, {{1000, 0.0, 1000.0}}}); registry.add("QA/hCandsVsTracksPerCol", "Candidates vs Tracks per Collision", {HistType::kTHnSparseF, {{100, 0.0, 100.0}, {1000, 0.0, 1000.0}}}); @@ -239,6 +242,7 @@ struct HfCorrelatorDstarHadrons { } // endif registry.fill(HIST("hTriggerColCandPairCounts"), 1); // counting number of trigger particle + registry.fill(HIST("QA/hMultFT0M"), collision.multFT0M()); registry.fill(HIST("QA/hCandsPerCol"), candidatesPerCol.size()); registry.fill(HIST("QA/hAssoTracksPerCol"), tracksPerCol.size()); registry.fill(HIST("QA/hCandsVsTracksPerCol"), candidatesPerCol.size(), tracksPerCol.size()); From dc272be38c7b4e2afae9e5a011ff475757dc9904 Mon Sep 17 00:00:00 2001 From: Deependra Sharma Date: Thu, 21 Aug 2025 12:56:22 +0000 Subject: [PATCH 2/2] correlatorDstarHadrons.cxx --- PWGHF/HFC/TableProducer/correlatorDstarHadrons.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGHF/HFC/TableProducer/correlatorDstarHadrons.cxx b/PWGHF/HFC/TableProducer/correlatorDstarHadrons.cxx index 16f8170f213..6f763420bcd 100644 --- a/PWGHF/HFC/TableProducer/correlatorDstarHadrons.cxx +++ b/PWGHF/HFC/TableProducer/correlatorDstarHadrons.cxx @@ -196,7 +196,7 @@ struct HfCorrelatorDstarHadrons { LOGP(fatal, "One and only one process function must be enabled at a time."); } - AxisSpec axisSpecMultFT0M{binsMultiplicity, "Multiplicity in FT0M", "multFT0M"}; // 200 bins from 0 to 2000 + AxisSpec axisSpecMultFT0M{binsMultiplicity, "Multiplicity in FT0M", "multFT0M"}; invMassDstarParticle = -999.0; invMassD0Particle = -999.0;