@@ -204,12 +204,10 @@ struct FlowZdcTask {
204204 histos.add (" centHistogram" , " centHistogram" , kTH1F , {axisCent});
205205 histos.add (" multHistogram" , " multHistogram" , kTH1F , {axisMultiplicity});
206206 histos.add (" phiHistogram" , " phiHistogram" , kTH1F , {axisPhi});
207-
208207 histos.add (" hZNvsFT0Ccent" ,
209208 " ZN Energy vs FT0C Centrality" ,
210209 kTH2F ,
211210 {axisCent, axisZN});
212-
213211 histos.add (" hZPvsFT0Ccent" ,
214212 " ZP Energy vs FT0C Centrality;Centrality [%];ZP Energy" ,
215213 kTH2F ,
@@ -613,10 +611,10 @@ struct FlowZdcTask {
613611 if (!isEventSelected (collision)) {
614612 return ;
615613 }
616- const auto & foundBC = collision.foundBC_as <BCsRun3>();
614+ const auto & foundBC = collision.foundBC_as <BCsRun3>();
617615 int nTot = tracks.size ();
618616 double ft0aAmp = 0 ;
619- double ft0cAmp = 0 ;
617+ double ft0cAmp = 0 ;
620618 if (collision.has_foundFT0 ()) {
621619 auto ft0 = collision.foundFT0 ();
622620 for (const auto & amplitude : ft0.amplitudeA ()) {
@@ -626,11 +624,11 @@ struct FlowZdcTask {
626624 ft0cAmp += amplitude;
627625 }
628626 }
629- const double normT0M{(ft0aAmp + ft0aAmp) / 100 .};
627+ const double normT0M{(ft0aAmp + ft0aAmp) / 100 .};
630628 histos.fill (HIST (" hFT0AAmp" ), ft0aAmp);
631629 histos.fill (HIST (" hFT0CAmp" ), ft0aAmp);
632630 histos.fill (HIST (" hFT0MAmp" ), normT0M);
633-
631+
634632 if (!foundBC.has_zdc ()) {
635633 return ;
636634 }
@@ -647,7 +645,7 @@ struct FlowZdcTask {
647645 float tZPA{zdcread.timeZPA ()};
648646 float tZPC{zdcread.timeZPC ()};
649647 float tZDCdif{tZNC + tZPC - tZNA - tZPA};
650- float tZDCsum{tZNC + tZPC + tZNA + tZPA};
648+ float tZDCsum{tZNC + tZPC + tZNA + tZPA};
651649 float sumZNC = (zdcread.energySectorZNC ())[0 ] + (zdcread.energySectorZNC ())[1 ] + (zdcread.energySectorZNC ())[2 ] + (zdcread.energySectorZNC ())[3 ];
652650 float sumZNA = (zdcread.energySectorZNA ())[0 ] + (zdcread.energySectorZNA ())[1 ] + (zdcread.energySectorZNA ())[2 ] + (zdcread.energySectorZNA ())[3 ];
653651 float sumZPC = (zdcread.energySectorZPC ())[0 ] + (zdcread.energySectorZPC ())[1 ] + (zdcread.energySectorZPC ())[2 ] + (zdcread.energySectorZPC ())[3 ];
@@ -657,7 +655,7 @@ struct FlowZdcTask {
657655 znA /= cfgCollisionEnergy;
658656 znC /= cfgCollisionEnergy;
659657 zpA /= cfgCollisionEnergy;
660- zpC /= cfgCollisionEnergy;
658+ zpC /= cfgCollisionEnergy;
661659 // ZEM cut
662660 if (isZEMcut) {
663661 if (sumZEM < zemCut) {
@@ -672,18 +670,15 @@ struct FlowZdcTask {
672670 float sumZN = (sumZNC) + (sumZNA);
673671 float sumZP = (sumZPC) + (sumZPA);
674672 histos.fill (HIST (" zPos" ), collision.posZ ());
675- histos.fill (HIST (" T0Ccent" ), collision.centFT0C ());
676-
673+ histos.fill (HIST (" T0Ccent" ), collision.centFT0C ());
677674 histos.fill (HIST (" ZNAcoll" ), znA);
678675 histos.fill (HIST (" ZNCcoll" ), znC);
679676 histos.fill (HIST (" ZPAcoll" ), zpA);
680677 histos.fill (HIST (" ZPCcoll" ), zpC);
681678 histos.get <TH2 >(HIST (" ZNvsZEMcoll" ))->Fill (zdcread.amplitudeZEM1 () + zdcread.amplitudeZEM2 (), zdcread.amplitudeZNA () + zdcread.amplitudeZNC ());
682679 histos.get <TH2 >(HIST (" ZNAvsZNCcoll" ))->Fill (zdcread.amplitudeZNC (), zdcread.amplitudeZNA ());
683-
684680 histos.get <TH1 >(HIST (" ZEM1coll" ))->Fill (zdcread.amplitudeZEM1 ());
685- histos.get <TH1 >(HIST (" ZEM2coll" ))->Fill (zdcread.amplitudeZEM2 ());
686-
681+ histos.get <TH1 >(HIST (" ZEM2coll" ))->Fill (zdcread.amplitudeZEM2 ());
687682 histos.fill (HIST (" ZNenergy" ), sumZN);
688683 histos.fill (HIST (" ZPenergy" ), sumZP);
689684 histos.fill (HIST (" ZNCenergy" ), commonSumZnc);
@@ -704,9 +699,7 @@ struct FlowZdcTask {
704699 pZPratiovscent->Fill (cent, ratioZP);
705700 pZNvsFT0Ccent->Fill (cent, sumZN);
706701 pZPvsFT0Ccent->Fill (cent, sumZP);
707-
708702 histos.get <TH2 >(HIST (" ZDC_energy_vs_ZEM" ))->Fill (sumZEM, sumZDC);
709-
710703 }
711704
712705 void processCorrelation (CollisionDataTable::iterator const & collision, FilTrackDataTable const & tracks)
0 commit comments