@@ -61,7 +61,6 @@ struct FlowZdcTask {
6161 Configurable<int > eventSelection{" eventSelection" , 1 , " event selection" };
6262 Configurable<float > maxZem{" maxZem" , 3099.5 , " Max ZEM signal" };
6363 // for ZDC info and analysis
64- Configurable<int > nBinsADC{" nBinsADC" , 1000 , " nbinsADC" };
6564 Configurable<float > maxZn{" maxZn" , 125.5 , " Max ZN signal" };
6665 Configurable<float > maxZp{" maxZp" , 125.5 , " Max ZP signal" };
6766 // configs for process QA
@@ -206,34 +205,16 @@ struct FlowZdcTask {
206205 xAxis->SetBinLabel (16 , " Within TDC cut?" );
207206
208207 if (doprocessQA) {
209- histos.add (" ZNVsFT0A" , " ;T0A (#times 1/100);ZNA+ZNC Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0}, {nBinsZDC, -0.5 , maxZn}}});
210- histos.add (" ZNVsFT0C" , " ;T0C (#times 1/100);ZNA+ZNC Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0}, {nBinsZDC, -0.5 , maxZn}}});
211- histos.add (" ZNVsFT0M" , " ;T0A+T0C (#times 1/100);ZNA+ZNC Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0M}, {nBinsZDC, -0.5 , maxZn}}});
212- histos.add (" CommonZNVsFT0M" , " ;T0A+T0C (#times 1/100);ZNA+ZNC Common Energy;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0M}, {nBinsZDC, -0.5 , maxZn}}});
213- histos.add (" ZNVsCent" , " ;T0C cent;ZNA + ZNC Amplitude;" , kTH2F , {{{nBinsCent, 0 ., maxCent}, {nBinsZDC, -0.5 , maxZn}}});
214- histos.add (" ZPVsFT0A" , " ;T0A (#times 1/100);ZPA+ZPC Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0}, {nBinsZDC, -0.5 , maxZp}}});
215- histos.add (" ZPVsFT0C" , " ;T0C (#times 1/100);ZPA+ZPC Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0}, {nBinsZDC, -0.5 , maxZp}}});
216- histos.add (" ZPVsFT0M" , " ;T0A+T0C (#times 1/100);ZPA+ZPC Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0M}, {nBinsZDC, -0.5 , maxZp}}});
217- histos.add (" ZPVsCent" , " ;T0C cent;ZPA + ZPC Amplitude;" , kTH2F , {{{nBinsCent, 0 ., maxCent}, {nBinsZDC, -0.5 , maxZp}}});
218- histos.add (" CommonZPVsFT0M" , " ;T0A+T0C (#times 1/100);ZPA+ZPC Common Energy;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0M}, {nBinsZDC, -0.5 , maxZp}}});
219- histos.add (" ZNAVsFT0A" , " ;T0A (#times 1/100);ZNA Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0}, {nBinsZDC, -0.5 , maxZn}}});
220208 histos.add (" ZNAVsFT0C" , " ;T0C (#times 1/100);ZNA Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0}, {nBinsZDC, -0.5 , maxZn}}});
221- histos.add (" ZNAVsCent" , " ;T0C cent;ZNA Amplitude;" , kTH2F , {{{nBinsCent, 0 ., maxCent}, {nBinsZDC, -0.5 , maxZn}}});
222209 histos.add (" ZNAVsFT0M" , " ;T0A+T0C (#times 1/100);ZNA Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0M}, {nBinsZDC, -0.5 , maxZn}}});
223- histos.add (" ZNCVsFT0A" , " ;T0A (#times 1/100);ZNC Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0}, {nBinsZDC, -0.5 , maxZn}}});
224210 histos.add (" ZNCVsFT0C" , " ;T0C (#times 1/100);ZNC Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0}, {nBinsZDC, -0.5 , maxZn}}});
225211 histos.add (" ZNCVsFT0M" , " ;T0A+T0C (#times 1/100);ZNC Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0M}, {nBinsZDC, -0.5 , maxZn}}});
226- histos.add (" ZNCVsCent" , " ;T0C cent;ZNC Amplitude;" , kTH2F , {{{nBinsCent, 0 ., maxCent}, {nBinsZDC, -0.5 , maxZn}}});
227212 histos.add (" ZPAZNAVsFT0M" , " ;T0A+T0C (#times 1/100);ZPA Amplitude;ZNA Amplitude;" , kTH3F , {{{nBinsAmpFT0M, 0 ., maxAmpFT0M}, {nBinsZP, -0.5 , maxZp}, {nBinsZN, -0.5 , maxZn}}});
228213 histos.add (" ZPCZNCVsFT0M" , " ;T0A+T0C (#times 1/100);ZPC Amplitude;ZNC Amplitude;" , kTH3F , {{{nBinsAmpFT0M, 0 ., maxAmpFT0M}, {nBinsZP, -0.5 , maxZp}, {nBinsZN, -0.5 , maxZn}}});
229- histos.add (" ZPAVsFT0A" , " ;T0A (#times 1/100);ZPA Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0}, {nBinsZDC, -0.5 , maxZp}}});
230214 histos.add (" ZPAVsFT0C" , " ;T0C (#times 1/100);ZPA Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0}, {nBinsZDC, -0.5 , maxZp}}});
231215 histos.add (" ZPAVsFT0M" , " ;T0A+T0C (#times 1/100);ZPA Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0M}, {nBinsZDC, -0.5 , maxZp}}});
232- histos.add (" ZPAVsCent" , " ;T0C cent;ZPA Amplitude;" , kTH2F , {{{nBinsCent, 0 ., maxCent}, {nBinsZDC, -0.5 , maxZp}}});
233- histos.add (" ZPCVsFT0A" , " ;T0A (#times 1/100);ZPC Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0}, {nBinsZDC, -0.5 , maxZp}}});
234216 histos.add (" ZPCVsFT0C" , " ;T0C (#times 1/100);ZPC Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0}, {nBinsZDC, -0.5 , maxZp}}});
235217 histos.add (" ZPCVsFT0M" , " ;T0A+T0C (#times 1/100);ZPC Amplitude;" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0M}, {nBinsZDC, -0.5 , maxZp}}});
236- histos.add (" ZPCVsCent" , " ;T0C cent;ZPC Amplitude;" , kTH2F , {{{nBinsCent, 0 ., maxCent}, {nBinsZDC, -0.5 , maxZp}}});
237218 histos.add (" ZN" , " ;ZNA+ZNC;Entries;" , kTH1F , {{nBinsZDC, -0.5 , maxZn}});
238219 histos.add (" ZNA" , " ;ZNA Amplitude;Entries;" , kTH1F , {{nBinsZDC, -0.5 , maxZn}});
239220 histos.add (" ZPA" , " ;ZPA Amplitude;Entries;" , kTH1F , {{nBinsZDC, -0.5 , maxZp}});
@@ -267,11 +248,9 @@ struct FlowZdcTask {
267248 histos.add (" debunch" , " ;t_{ZDC}-t_{ZDA};t_{ZDC}+t_{ZDA}" , kTH2F , {{{nBinsTDC, minTdcZn, maxTdcZn}, {nBinsTDC, minTdcZp, maxTdcZp}}});
268249 histos.add (" GlbTracks" , " Nch" , kTH1F , {{nBinsNch, minNch, maxNch}});
269250 histos.add (" ampFT0C" , " ;T0C (#times 1/100);" , kTH1F , {{nBinsAmpFT0, 0 ., maxAmpFT0}});
270- histos.add (" ampFT0A" , " ;T0A (#times 1/100);" , kTH1F , {{nBinsAmpFT0, 0 ., maxAmpFT0}});
271251 histos.add (" ampFT0M" , " ;T0A+T0C (#times 1/100);" , kTH1F , {{nBinsAmpFT0, 0 ., maxAmpFT0M}});
272252 histos.add (" NchVsFT0C" , " ;T0C (#times 1/100, -3.3 < #eta < -2.1);#it{N}_{ch} (|#eta|<0.8);" , kTH2F , {{{nBinsAmpFT0, 0 ., 950 .}, {nBinsNch, minNch, maxNch}}});
273253 histos.add (" NchVsFT0M" , " ;T0A+T0C (#times 1/100, -3.3 < #eta < -2.1 and 3.5 < #eta < 4.9);#it{N}_{ch} (|#eta|<0.8);" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0M}, {nBinsNch, minNch, maxNch}}});
274- histos.add (" NchVsFT0A" , " ;T0A (#times 1/100, 3.5 < #eta < 4.9);#it{N}_{ch} (|#eta|<0.8);" , kTH2F , {{{nBinsAmpFT0, 0 ., maxAmpFT0}, {nBinsNch, minNch, maxNch}}});
275254 histos.add (" NchVsEt" , " ;#it{E}_{T} (|#eta|<0.8);#LTITS+TPC tracks#GT (|#eta|<0.8);" , kTH2F , {{{nBinsNch, minNch, maxNch}, {nBinsNch, minNch, maxNch}}});
276255 histos.add (" NchVsMeanPt" , " ;#it{N}_{ch} (|#eta|<0.8);#LT[#it{p}_{T}]#GT (|#eta|<0.8);" , kTProfile , {{nBinsNch, minNch, maxNch}});
277256 histos.add (" NchVsNPV" , " ;#it{N}_{PV} (|#eta|<1);ITS+TPC tracks (|#eta|<0.8);" , kTH2F , {{{300 , -0.5 , 5999.5 }, {nBinsNch, minNch, maxNch}}});
@@ -280,8 +259,6 @@ struct FlowZdcTask {
280259 histos.add (" ZNAVsNch" , " ;#it{N}_{ch} (|#eta|<0.8);ZNA;" , kTH2F , {{{nBinsNch, minNch, maxNch}, {nBinsZDC, minNch, maxZn}}});
281260 histos.add (" ZPAVsNch" , " ;#it{N}_{ch} (|#eta|<0.8);ZPA;" , kTH2F , {{{nBinsNch, minNch, maxNch}, {nBinsZDC, minNch, maxZp}}});
282261 histos.add (" ZPCVsNch" , " ;#it{N}_{ch} (|#eta|<0.8);ZPA;" , kTH2F , {{{nBinsNch, minNch, maxNch}, {nBinsZDC, minNch, maxZp}}});
283- histos.add (" ZNVsNch" , " ;#it{N}_{ch} (|#eta|<0.8);ZNA+ZNC;" , kTH2F , {{{nBinsNch, minNch, maxNch}, {nBinsZDC, minNch, maxZn}}});
284- histos.add (" ZPVsNch" , " ;#it{N}_{ch} (|#eta|<0.8);ZPA+ZPC;" , kTH2F , {{{nBinsNch, minNch, maxNch}, {nBinsZDC, minNch, maxZp}}});
285262 }
286263 if (doprocessZdc) {
287264 histos.add (" ampZna" , " ;ZNA Amplitude;Entries;" , kTH1F , {{nBinsZDC, -0.5 , maxZn}});
@@ -498,10 +475,8 @@ struct FlowZdcTask {
498475 histos.fill (HIST (" T0Ccent" ), collision.centFT0C ());
499476 histos.fill (HIST (" GlbTracks" ), glbTracks);
500477 histos.fill (HIST (" ampFT0C" ), aT0C / 100 .);
501- histos.fill (HIST (" ampFT0A" ), aT0A / 100 .);
502478 histos.fill (HIST (" ampFT0M" ), (aT0A + aT0C) / 100 .);
503479 // charged particle correlations
504- histos.fill (HIST (" NchVsFT0A" ), aT0A / 100 ., glbTracks);
505480 histos.fill (HIST (" NchVsFT0C" ), aT0C / 100 ., glbTracks);
506481 histos.fill (HIST (" NchVsFT0M" ), (aT0A + aT0C) / 100 ., glbTracks);
507482 histos.fill (HIST (" hNchvsNPV" ), collision.multNTracksPVeta1 (), tracks.size ());
@@ -542,37 +517,29 @@ struct FlowZdcTask {
542517 if ((tZNA >= minTdcZn) && (tZNA <= maxTdcZn)) {
543518 histos.fill (HIST (" ZNA" ), znA);
544519 histos.fill (HIST (" ZNACommon" ), commonSumZna);
545- histos.fill (HIST (" ZNAVsFT0A" ), aT0A / 100 ., znA);
546520 histos.fill (HIST (" ZNAVsFT0C" ), aT0C / 100 ., znA);
547521 histos.fill (HIST (" ZNAVsFT0M" ), (aT0A + aT0C) / 100 ., znA);
548- histos.fill (HIST (" ZNAVsCent" ), cent, znA);
549522 histos.fill (HIST (" ZNAVsNch" ), glbTracks, znA);
550523 }
551524 if ((tZNC >= minTdcZn) && (tZNC <= maxTdcZn)) {
552525 histos.fill (HIST (" ZNC" ), znC);
553526 histos.fill (HIST (" ZNCCommon" ), commonSumZnc);
554- histos.fill (HIST (" ZNCVsFT0A" ), aT0A / 100 ., znC);
555527 histos.fill (HIST (" ZNCVsFT0C" ), aT0C / 100 ., znC);
556528 histos.fill (HIST (" ZNCVsFT0M" ), (aT0A + aT0C) / 100 ., znC);
557- histos.fill (HIST (" ZNCVsCent" ), cent, znC);
558529 histos.fill (HIST (" ZNCVsNch" ), glbTracks, znC);
559530 }
560531 if ((tZPA >= minTdcZp) && (tZPA <= maxTdcZp)) {
561532 histos.fill (HIST (" ZPA" ), zpA);
562533 histos.fill (HIST (" ZPACommon" ), commonSumZpa);
563- histos.fill (HIST (" ZPAVsFT0A" ), aT0A / 100 ., zpA);
564534 histos.fill (HIST (" ZPAVsFT0C" ), aT0C / 100 ., zpA);
565535 histos.fill (HIST (" ZPAVsFT0M" ), (aT0A + aT0C) / 100 ., zpA);
566- histos.fill (HIST (" ZPAVsCent" ), cent, zpA);
567536 histos.fill (HIST (" ZPAVsNch" ), glbTracks, zpA);
568537 }
569538 if ((tZPC >= minTdcZp) && (tZPC <= maxTdcZp)) {
570539 histos.fill (HIST (" ZPC" ), zpC);
571540 histos.fill (HIST (" ZPCCommon" ), commonSumZpc);
572- histos.fill (HIST (" ZPCVsFT0A" ), aT0A / 100 ., zpC);
573541 histos.fill (HIST (" ZPCVsFT0C" ), aT0C / 100 ., zpC);
574542 histos.fill (HIST (" ZPCVsFT0M" ), (aT0A + aT0C) / 100 ., zpC);
575- histos.fill (HIST (" ZPCVsCent" ), cent, zpC);
576543 histos.fill (HIST (" ZPCVsNch" ), glbTracks, zpC);
577544 }
578545 if (((tZNA >= minTdcZn) && (tZNA <= maxTdcZn)) && ((tZNC >= minTdcZn) && (tZNC <= maxTdcZn)))
@@ -581,21 +548,10 @@ struct FlowZdcTask {
581548 histos.fill (HIST (" ZNAVsZNC" ), znC, znA);
582549 histos.fill (HIST (" CommonZNAVsZNC" ), commonSumZnc, commonSumZna);
583550 histos.fill (HIST (" ZN" ), znA + znC);
584- histos.fill (HIST (" ZNVsFT0C" ), aT0C / 100 ., znA + znC);
585- histos.fill (HIST (" ZNVsFT0M" ), (aT0A + aT0C) / 100 ., znA + znC);
586- histos.fill (HIST (" CommonZNVsFT0M" ), (aT0A + aT0C) / 100 ., commonSumZna + commonSumZnc);
587- histos.fill (HIST (" ZNVsCent" ), cent, znA + znC);
588- histos.fill (HIST (" ZNVsNch" ), glbTracks, znA + znC);
589551 }
590552 if (((tZPA >= minTdcZp) && (tZPA <= maxTdcZp)) && ((tZPC >= minTdcZp) && (tZPC <= maxTdcZp))) {
591553 histos.fill (HIST (" ZPAVsZPC" ), zpC, zpA);
592554 histos.fill (HIST (" CommonZPAVsZPC" ), commonSumZpc, commonSumZpa);
593- histos.fill (HIST (" ZPVsFT0A" ), aT0A / 100 ., zpA + zpC);
594- histos.fill (HIST (" ZPVsFT0C" ), aT0C / 100 ., zpA + zpC);
595- histos.fill (HIST (" ZPVsFT0M" ), (aT0A + aT0C) / 100 ., zpA + zpC);
596- histos.fill (HIST (" CommonZPVsFT0M" ), (aT0A + aT0C) / 100 ., commonSumZpa + commonSumZpc);
597- histos.fill (HIST (" ZPVsCent" ), cent, zpA + zpC);
598- histos.fill (HIST (" ZPVsNch" ), glbTracks, zpA + zpC);
599555 }
600556 if (((tZNA >= minTdcZn) && (tZNA <= maxTdcZn)) && ((tZPA >= minTdcZp) && (tZPA <= maxTdcZp))) {
601557 histos.fill (HIST (" ZNAVsZPA" ), zpA, znA);
@@ -626,33 +582,16 @@ struct FlowZdcTask {
626582 histos.fill (HIST (" ZPACommon" ), commonSumZpa);
627583 histos.fill (HIST (" ZPCCommon" ), commonSumZpc);
628584 histos.fill (HIST (" ZN" ), znA + znC);
629- histos.fill (HIST (" ZPVsFT0A" ), aT0A / 100 ., zpA + zpC);
630- histos.fill (HIST (" ZPVsFT0C" ), aT0C / 100 ., zpA + zpC);
631- histos.fill (HIST (" ZPVsFT0M" ), (aT0A + aT0C) / 100 ., zpA + zpC);
632- histos.fill (HIST (" CommonZPVsFT0M" ), (aT0A + aT0C) / 100 ., commonSumZpa + commonSumZpc);
633- histos.fill (HIST (" ZPAVsFT0A" ), aT0A / 100 ., zpA);
634585 histos.fill (HIST (" ZPAVsFT0C" ), aT0C / 100 ., zpA);
635586 histos.fill (HIST (" ZPAVsFT0M" ), (aT0A + aT0C) / 100 ., zpA);
636- histos.fill (HIST (" ZNVsFT0C" ), aT0C / 100 ., znA + znC);
637- histos.fill (HIST (" ZNVsFT0M" ), (aT0A + aT0C) / 100 ., znA + znC);
638- histos.fill (HIST (" CommonZNVsFT0M" ), (aT0A + aT0C) / 100 ., commonSumZna + commonSumZnc);
639- histos.fill (HIST (" ZPCVsFT0A" ), aT0A / 100 ., zpC);
640587 histos.fill (HIST (" ZPCVsFT0C" ), aT0C / 100 ., zpC);
641588 histos.fill (HIST (" ZPCVsFT0M" ), (aT0A + aT0C) / 100 ., zpC);
642- histos.fill (HIST (" ZNCVsFT0A" ), aT0A / 100 ., znC);
643589 histos.fill (HIST (" ZNCVsFT0C" ), aT0C / 100 ., znC);
644590 histos.fill (HIST (" ZNCVsFT0M" ), (aT0A + aT0C) / 100 ., znC);
645- histos.fill (HIST (" ZNAVsFT0A" ), aT0A / 100 ., znA);
646591 histos.fill (HIST (" ZNAVsFT0C" ), aT0C / 100 ., znA);
647592 histos.fill (HIST (" ZNAVsFT0M" ), (aT0A + aT0C) / 100 ., znA);
648- histos.fill (HIST (" ZNAVsCent" ), cent, znA);
649- histos.fill (HIST (" ZNCVsCent" ), cent, znC);
650- histos.fill (HIST (" ZPVsCent" ), cent, zpA + zpC);
651- histos.fill (HIST (" ZPAVsCent" ), cent, zpA);
652- histos.fill (HIST (" ZPCVsCent" ), cent, zpC);
653593 histos.fill (HIST (" ZPAVsNch" ), glbTracks, zpA);
654594 histos.fill (HIST (" ZPCVsNch" ), glbTracks, zpC);
655- histos.fill (HIST (" ZNVsNch" ), glbTracks, znA + znC);
656595 histos.fill (HIST (" ZNCVsNch" ), glbTracks, znC);
657596 histos.fill (HIST (" ZNAVsNch" ), glbTracks, znA);
658597 histos.fill (HIST (" ZPAZNAVsFT0M" ), (aT0A + aT0C) / 100 ., zpA, znA);
0 commit comments