@@ -140,6 +140,18 @@ struct StronglyIntensiveCorr {
140140 std::vector<double > centClassEdges (centEdges.begin (), centEdges.end ());
141141 AxisSpec centClassAxis = {centClassEdges, " centrality class (%)" };
142142 AxisSpec etaGapAxis = {NEtaGaps, -0.05 , 1.55 , " #Delta#eta" };
143+
144+ // Seven physical, non-overlapping FB gaps:
145+ // DeltaEta = 0.0, 0.2, ..., 1.2.
146+ std::vector<double > physicalGapEdges = {
147+ -0.1 , 0.1 , 0.3 , 0.5 ,
148+ 0.7 , 0.9 , 1.1 , 1.3
149+ };
150+
151+ AxisSpec physicalGapAxis = {
152+ physicalGapEdges,
153+ " #Delta#eta"
154+ };
143155 AxisSpec nAxis = {500 , 0.0 , 500.0 , " N" };
144156 AxisSpec counterAxis = {20 , 0.5 , 20.5 , " counter" };
145157 AxisSpec ptAxis = {{0.2 , 0.5 , 0.8 , 1.0 , 1.5 , 2.0 , 5.0 }, " #it{p}_{T} (GeV/#it{c})" };
@@ -175,6 +187,20 @@ struct StronglyIntensiveCorr {
175187 histos.add (" QA/fb/nFminusNB" , " nF-nB;nF-nB;Counts" , kTH1D , {{500 , -250.0 , 250.0 }});
176188 histos.add (" QA/fb/nFplusNB" , " nF+nB;nF+nB;Counts" , kTH1D , {{500 , 0.0 , 500.0 }});
177189
190+ // Event-level multiplicity QA for every physical gap.
191+ // Axes: centrality x DeltaEta x multiplicity.
192+ histos.add (
193+ " QA/fbAllGaps/nFvsCentGap" ,
194+ " Forward multiplicity;centrality (%);#Delta#eta;n_{F}" ,
195+ kTH3D ,
196+ {centAxis, physicalGapAxis, nAxis});
197+
198+ histos.add (
199+ " QA/fbAllGaps/nBvsCentGap" ,
200+ " Backward multiplicity;centrality (%);#Delta#eta;n_{B}" ,
201+ kTH3D ,
202+ {centAxis, physicalGapAxis, nAxis});
203+
178204 histos.add (" QA/mcReco/nRecoAll" , " MC reco all selected;n;Counts" , kTH1D , {nAxis});
179205 histos.add (" QA/mcReco/nRecoPrimary" , " MC reco primary selected;n;Counts" , kTH1D , {nAxis});
180206 histos.add (" QA/mcReco/nRecoSecondary" , " MC reco secondary selected;n;Counts" , kTH1D , {nAxis});
@@ -626,6 +652,39 @@ struct StronglyIntensiveCorr {
626652 histos.fill (HIST (" QA/fb/nFplusNB" ), nf + nb);
627653 }
628654
655+ void fillAllGapMultiplicityQA (
656+ float cent,
657+ std::array<double , NEtaGaps> const & nF,
658+ std::array<double , NEtaGaps> const & nB)
659+ {
660+ for (int i = 0 ; i < NEtaGaps; ++i) {
661+ const double gap =
662+ 2.0 * (
663+ etaCenter[i] -
664+ cfgEtaWidth.value / 2.0
665+ );
666+
667+ // etaCenter = 0 corresponds to overlapping windows and
668+ // gives DeltaEta = -0.2. Keep only the seven physical,
669+ // non-overlapping values from 0.0 to 1.2.
670+ if (gap < -1 .e -6 || gap > 1.200001 ) {
671+ continue ;
672+ }
673+
674+ histos.fill (
675+ HIST (" QA/fbAllGaps/nFvsCentGap" ),
676+ cent,
677+ gap,
678+ nF[i]);
679+
680+ histos.fill (
681+ HIST (" QA/fbAllGaps/nBvsCentGap" ),
682+ cent,
683+ gap,
684+ nB[i]);
685+ }
686+ }
687+
629688 void fillInclusiveEtaGapMoments (std::array<double , NEtaGaps> const & nF,
630689 std::array<double , NEtaGaps> const & nB)
631690 {
@@ -944,6 +1003,7 @@ struct StronglyIntensiveCorr {
9441003
9451004 histos.fill (HIST (" QA/hCentrality" ), cent);
9461005 fillFBQA (cent, nF, nB);
1006+ fillAllGapMultiplicityQA (cent, nF, nB);
9471007 fillInclusiveEtaGapMoments (nF, nB);
9481008 fillCentClassEtaGapMoments (centClass, nF, nB);
9491009 fillCentWindowEtaGapMoments (centWindowClass, nF, nB);
0 commit comments