@@ -179,8 +179,8 @@ struct FlowZDCtask {
179179 " ZP Energy vs FT0C Centrality;Centrality [%];ZP Energy" ,
180180 kTH2F ,
181181 {AxisSpec{100 , 0 , 100 , " Centrality [%]" }, AxisSpec{100 , 0 , 500 , " ZP Energy" }});
182- // for q vector recentering
183- histos.add (" revsimag " , " revsimag " , kTH2F , {axisREQ, axisIMQ });
182+ histos. add ( " revsimag " , " revsimag " , kTH2F , {axisREQ, axisIMQ}); // for q vector recentering
183+ histos.add (" hYield " , " Nch vs pT " , kTH2F , { axisMultiplicity, axisPt });
184184
185185 if (doprocessZdcCollAssoc) { // Check if the process function for ZDCCollAssoc is enabled
186186 histos.add (" ZNAcoll" , " ZNAcoll; ZNA amplitude; Entries" , {HistType::kTH1F , {{nBinsAmp, -0.5 , maxZn}}});
@@ -248,14 +248,15 @@ struct FlowZDCtask {
248248
249249 for (const auto & track : tracks) {
250250 double phi = track.phi ();
251-
251+
252252 histos.fill (HIST (" etaHistogram" ), track.eta ());
253253 histos.fill (HIST (" phiHistogram" ), track.phi ());
254254 histos.fill (HIST (" ptHistogram" ), track.pt ());
255255
256256 qTPC += std::complex <double >(std::cos (2.0 * phi), std::sin (2.0 * phi));
257257
258258 histos.fill (HIST (" multvsCent" ), cent, nTot);
259+ histos.fill (HIST (" hYield" ), nTot, track.pt ());
259260
260261 } // end track loop
261262
@@ -290,14 +291,14 @@ struct FlowZDCtask {
290291 if (collision.has_foundFT0 ()) {
291292 auto ft0 = collision.foundFT0 ();
292293 for (const auto & amplitude : ft0.amplitudeA ()) {
293- histos.fill (HIST (" hFT0AAmp" ), amplitude);
294294 ft0aAmp += amplitude;
295295 }
296296 for (const auto & amplitude : ft0.amplitudeC ()) {
297- histos.fill (HIST (" hFT0CAmp" ), amplitude);
298297 ft0cAmp += amplitude;
299298 }
300299 }
300+ histos.fill (HIST (" hFT0AAmp" ), ft0aAmp);
301+ histos.fill (HIST (" hFT0CAmp" ), ft0cAmp);
301302 double ft0mAmp = ft0aAmp + ft0cAmp;
302303 histos.fill (HIST (" hFT0MAmp" ), ft0mAmp);
303304 if (foundBC.has_zdc ()) {
0 commit comments