@@ -52,6 +52,7 @@ struct flowZdcEnergy {
5252
5353 ConfigurableAxis axisCent{" axisCent" , {90 , 0 , 90 }, " Centrality (%)" };
5454 ConfigurableAxis axisMult{" axisMult" , {100 , 0 , 100000 }, " Multiplicity" };
55+ ConfigurableAxis axisMultDivided{" axisMultDivided" , {30 , 0 , 15000 }, " Multiplicity bins for ZN energy" };
5556 ConfigurableAxis axisPt{" axisPt" , {100 , 0 , 15 }, " #P_{t}" };
5657 ConfigurableAxis axisEta{" axisEta" , {64 , -1.6 , 1.6 }, " #eta" };
5758 ConfigurableAxis axisEnergy{" axisEnergy" , {300 , 0 , 300 }, " Energy" };
@@ -120,6 +121,21 @@ struct flowZdcEnergy {
120121 registry.add (" hEnergyWithCent_ZNA_SumSectors" , " " , {HistType::kTH2D , {axisEnergy, axisCent}});
121122 registry.add (" hEnergyWithCent_ZNC_SumSectors" , " " , {HistType::kTH2D , {axisEnergy, axisCent}});
122123 registry.add (" hEnergyWithCent_RescaledSumDiff" , " " , {HistType::kTH2D , {axisRescaledDiff, axisCent}});
124+
125+ registry.add (" hEnergyWithMult_ZNA_Common" , " " , {HistType::kTH2D , {axisEnergy, axisMultDivided}});
126+ registry.add (" hEnergyWithMult_ZNC_Common" , " " , {HistType::kTH2D , {axisEnergy, axisMultDivided}});
127+ registry.add (" hEnergyWithMult_RescaledDiff" , " " , {HistType::kTH2D , {axisRescaledDiff, axisMultDivided}});
128+ registry.add (" hEnergyWithMult_ZNA_1" , " " , {HistType::kTH2D , {axisEnergy, axisMultDivided}});
129+ registry.add (" hEnergyWithMult_ZNA_2" , " " , {HistType::kTH2D , {axisEnergy, axisMultDivided}});
130+ registry.add (" hEnergyWithMult_ZNA_3" , " " , {HistType::kTH2D , {axisEnergy, axisMultDivided}});
131+ registry.add (" hEnergyWithMult_ZNA_4" , " " , {HistType::kTH2D , {axisEnergy, axisMultDivided}});
132+ registry.add (" hEnergyWithMult_ZNC_1" , " " , {HistType::kTH2D , {axisEnergy, axisMultDivided}});
133+ registry.add (" hEnergyWithMult_ZNC_2" , " " , {HistType::kTH2D , {axisEnergy, axisMultDivided}});
134+ registry.add (" hEnergyWithMult_ZNC_3" , " " , {HistType::kTH2D , {axisEnergy, axisMultDivided}});
135+ registry.add (" hEnergyWithMult_ZNC_4" , " " , {HistType::kTH2D , {axisEnergy, axisMultDivided}});
136+ registry.add (" hEnergyWithMult_ZNA_SumSectors" , " " , {HistType::kTH2D , {axisEnergy, axisMultDivided}});
137+ registry.add (" hEnergyWithMult_ZNC_SumSectors" , " " , {HistType::kTH2D , {axisEnergy, axisMultDivided}});
138+ registry.add (" hEnergyWithMult_RescaledSumDiff" , " " , {HistType::kTH2D , {axisRescaledDiff, axisMultDivided}});
123139 }
124140
125141 // Helper: event selection
@@ -128,9 +144,6 @@ struct flowZdcEnergy {
128144 {
129145 if (!UseEvsel) {
130146 registry.fill (HIST (" QA/hEventCount" ), kAllEvents );
131- registry.fill (HIST (" QA/hEventCount" ), kSeln );
132- registry.fill (HIST (" QA/hEventCount" ), kZvtx );
133- registry.fill (HIST (" QA/hEventCount" ), kCentrality );
134147 } else {
135148 registry.fill (HIST (" QA/hEventCount" ), kAllEvents );
136149 if (runmode == 2 && !collision.sel7 ()) {
@@ -154,7 +167,7 @@ struct flowZdcEnergy {
154167
155168 // Helper: fill ZDC observables
156169 template <typename TCollision, typename TBCs>
157- void fillZDCObservables (TCollision const & collision, float centrality)
170+ void fillZDCObservables (TCollision const & collision, float centrality, float multiTPC )
158171 {
159172 const auto & foundBC = collision.template foundBC_as <TBCs>();
160173 if (!foundBC.has_zdc ()) {
@@ -198,11 +211,26 @@ struct flowZdcEnergy {
198211 registry.fill (HIST (" hEnergyWithCent_ZNA_SumSectors" ), sumEnergyZNA, centrality);
199212 registry.fill (HIST (" hEnergyWithCent_ZNC_SumSectors" ), sumEnergyZNC, centrality);
200213
214+ registry.fill (HIST (" hEnergyWithMult_ZNA_Common" ), energyCommonZNA, multiTPC);
215+ registry.fill (HIST (" hEnergyWithMult_ZNC_Common" ), energyCommonZNC, multiTPC);
216+ registry.fill (HIST (" hEnergyWithMult_ZNA_1" ), energySectorZNA1, multiTPC);
217+ registry.fill (HIST (" hEnergyWithMult_ZNA_2" ), energySectorZNA2, multiTPC);
218+ registry.fill (HIST (" hEnergyWithMult_ZNA_3" ), energySectorZNA3, multiTPC);
219+ registry.fill (HIST (" hEnergyWithMult_ZNA_4" ), energySectorZNA4, multiTPC);
220+ registry.fill (HIST (" hEnergyWithMult_ZNC_1" ), energySectorZNC1, multiTPC);
221+ registry.fill (HIST (" hEnergyWithMult_ZNC_2" ), energySectorZNC2, multiTPC);
222+ registry.fill (HIST (" hEnergyWithMult_ZNC_3" ), energySectorZNC3, multiTPC);
223+ registry.fill (HIST (" hEnergyWithMult_ZNC_4" ), energySectorZNC4, multiTPC);
224+ registry.fill (HIST (" hEnergyWithMult_ZNA_SumSectors" ), sumEnergyZNA, multiTPC);
225+ registry.fill (HIST (" hEnergyWithMult_ZNC_SumSectors" ), sumEnergyZNC, multiTPC);
226+
201227 if (commonDen > 1 .e -6f ) {
202228 registry.fill (HIST (" hEnergyWithCent_RescaledDiff" ), (energyCommonZNA - energyCommonZNC) / commonDen, centrality);
229+ registry.fill (HIST (" hEnergyWithMult_RescaledDiff" ), (energyCommonZNA - energyCommonZNC) / commonDen, multiTPC);
203230 }
204231 if (sumDen > 1 .e -6f ) {
205232 registry.fill (HIST (" hEnergyWithCent_RescaledSumDiff" ), (sumEnergyZNA - sumEnergyZNC) / sumDen, centrality);
233+ registry.fill (HIST (" hEnergyWithMult_RescaledSumDiff" ), (sumEnergyZNA - sumEnergyZNC) / sumDen, multiTPC);
206234 }
207235 }
208236
@@ -222,7 +250,7 @@ struct flowZdcEnergy {
222250 registry.fill (HIST (" QA/hCentrality" ), centrality);
223251 registry.fill (HIST (" QA/hMultiplicity" ), multi);
224252 registry.fill (HIST (" QA/hMultiplicity_TPC" ), multiTPC);
225- fillZDCObservables<CollisionsRun3::iterator, BCsRun3>(collision, centrality);
253+ fillZDCObservables<CollisionsRun3::iterator, BCsRun3>(collision, centrality, multiTPC );
226254
227255 for (const auto & track : tracks) {
228256 registry.fill (HIST (" QA/hPt" ), track.pt ());
@@ -246,7 +274,7 @@ struct flowZdcEnergy {
246274 registry.fill (HIST (" QA/hCentrality" ), centrality);
247275 registry.fill (HIST (" QA/hMultiplicity" ), multi);
248276 registry.fill (HIST (" QA/hMultiplicity_TPC" ), multiTPC);
249- fillZDCObservables<CollisionsRun2::iterator, BCsRun2>(collision, centrality);
277+ fillZDCObservables<CollisionsRun2::iterator, BCsRun2>(collision, centrality, multiTPC );
250278
251279 for (const auto & track : tracks) {
252280 registry.fill (HIST (" QA/hPt" ), track.pt ());
0 commit comments