@@ -227,6 +227,8 @@ struct TimeDependentQaTask {
227227 histos.add (" multDistributions/hSecondsDistrPVtracks" , " " , kTH2D , {axisSecondsVeryWideBins, {maxNtracks, -0.5 , maxNtracks - 0.5 , " n PV tracks" }});
228228 histos.add (" multDistributions/hSecondsDistrZNA" , " " , kTH2D , {axisSecondsVeryWideBins, {320 , 0 , maxZNACenergyForTimeDepDistributions, " ZNA ampl" }});
229229 histos.add (" multDistributions/hSecondsDistrZNC" , " " , kTH2D , {axisSecondsVeryWideBins, {320 , 0 , maxZNACenergyForTimeDepDistributions, " ZNC ampl" }});
230+ histos.add (" multDistributions/hSecondsDistrZNACdiff" , " " , kTH2D , {axisSecondsVeryWideBins, {600 , -maxZNACenergyForTimeDepDistributions, maxZNACenergyForTimeDepDistributions, " ZN A-C diff" }});
231+ histos.add (" multDistributions/hSecondsDistrZNACdiffNorm" , " " , kTH2D , {axisSecondsVeryWideBins, {200 , -1 ., 1 ., " ZN A-C diff" }});
230232 histos.add (" multDistributions/hSecondsDistrT0A" , " " , kTH2D , {axisSecondsVeryWideBins, {250 , 0 , maxT0ACamplForTimeDepDistributions, " T0A ampl" }});
231233 histos.add (" multDistributions/hSecondsDistrT0C" , " " , kTH2D , {axisSecondsVeryWideBins, {250 , 0 , maxT0ACamplForTimeDepDistributions, " T0C ampl" }});
232234 histos.add (" multDistributions/hSecondsDistrV0A" , " " , kTH2D , {axisSecondsVeryWideBins, {400 , 0 , maxV0AamplForTimeDepDistributions, " V0A ampl" }});
@@ -766,6 +768,11 @@ struct TimeDependentQaTask {
766768 // float multZNC = bc.has_zdc() ? bc.zdc().energyCommonZNC() : -999.f;
767769 histos.fill (HIST (" multDistributions/hSecondsDistrZNA" ), secFromSOR, col.multZNA ());
768770 histos.fill (HIST (" multDistributions/hSecondsDistrZNC" ), secFromSOR, col.multZNC ());
771+ float ZNdiff = col.multZNA () - col.multZNC ();
772+ float ZNsum = col.multZNA () - col.multZNC ();
773+ histos.fill (HIST (" multDistributions/hSecondsDistrZNACdiff" ), secFromSOR, ZNdiff);
774+ if (ZNsum > 0 )
775+ histos.fill (HIST (" multDistributions/hSecondsDistrZNACdiffNorm" ), secFromSOR, ZNdiff / ZNsum);
769776
770777 // FT0A,C, V0A
771778 // float multT0A = bc.has_ft0() ? bc.ft0().sumAmpA() : -999.f;
0 commit comments