@@ -261,6 +261,11 @@ struct TimeDependentQaTask {
261261 histos.add (" multDistributions/hSecondsDistrZNACdiffAmpl" , " " , kTH2D , {axisSecondsVeryWideBins, {200 , -1 ., 1 ., " ZN A-C diff" }});
262262 histos.add (" multDistributions/hSecondsDistrZNACdiffNormAmpl" , " " , kTH2D , {axisSecondsVeryWideBins, {200 , -1 ., 1 ., " ZN A-C diff" }});
263263
264+ // 2D vs time
265+ histos.add (" multDistributions/hSecondsNPVvsZNAampl" , " " , kTH3F , {axisSecondsSuperWideBins, {200 , 0 , 600 , " n PV tracks" }, {200 , 0 , maxZNACenergyForTimeDepDistributions, " ZNA ampl" }});
266+ histos.add (" multDistributions/hSecondsNPVvsZNCampl" , " " , kTH3F , {axisSecondsSuperWideBins, {200 , 0 , 600 , " n PV tracks" }, {200 , 0 , maxZNACenergyForTimeDepDistributions, " ZNC ampl" }});
267+
268+ // now histos after kNoSameBunchPileup cut:
264269 histos.add (" multDistributionsNoPileup/hSecondsDistrPVtracks" , " " , kTH2D , {axisSecondsVeryWideBins, {maxNtracks, -0.5 , maxNtracks - 0.5 , " n PV tracks" }});
265270 histos.add (" multDistributionsNoPileup/hSecondsDistrT0A" , " " , kTH2D , {axisSecondsVeryWideBins, {250 , 0 , maxT0ACamplForTimeDepDistributions, " T0A ampl" }});
266271 histos.add (" multDistributionsNoPileup/hSecondsDistrT0C" , " " , kTH2D , {axisSecondsVeryWideBins, {250 , 0 , maxT0ACamplForTimeDepDistributions, " T0C ampl" }});
@@ -273,6 +278,10 @@ struct TimeDependentQaTask {
273278 histos.add (" multDistributionsNoPileup/hSecondsDistrZNCampl" , " " , kTH2D , {axisSecondsVeryWideBins, {320 , 0 , maxZNACenergyForTimeDepDistributions, " ZNC ampl" }});
274279 histos.add (" multDistributionsNoPileup/hSecondsDistrZNACdiffAmpl" , " " , kTH2D , {axisSecondsVeryWideBins, {200 , -1 ., 1 ., " ZN A-C diff" }});
275280 histos.add (" multDistributionsNoPileup/hSecondsDistrZNACdiffNormAmpl" , " " , kTH2D , {axisSecondsVeryWideBins, {200 , -1 ., 1 ., " ZN A-C diff" }});
281+
282+ // 2D vs time
283+ histos.add (" multDistributionsNoPileup/hSecondsNPVvsZNAampl" , " " , kTH3F , {axisSecondsSuperWideBins, {200 , 0 , 600 , " n PV tracks" }, {200 , 0 , maxZNACenergyForTimeDepDistributions, " ZNA ampl" }});
284+ histos.add (" multDistributionsNoPileup/hSecondsNPVvsZNCampl" , " " , kTH3F , {axisSecondsSuperWideBins, {200 , 0 , 600 , " n PV tracks" }, {200 , 0 , maxZNACenergyForTimeDepDistributions, " ZNC ampl" }});
276285 }
277286
278287 // ### QA event selection bits
@@ -838,6 +847,9 @@ struct TimeDependentQaTask {
838847 if (ZNsumAmpl > 0 )
839848 histos.fill (HIST (" multDistributions/hSecondsDistrZNACdiffNormAmpl" ), secFromSOR, ZNdiffAmpl / ZNsumAmpl);
840849
850+ histos.fill (HIST (" multDistributions/hSecondsNPVvsZNAampl" ), secFromSOR, nPVtracks, ZNAampl);
851+ histos.fill (HIST (" multDistributions/hSecondsNPVvsZNCampl" ), secFromSOR, nPVtracks, ZNCampl);
852+
841853 // FT0A,C, V0A
842854 // float multT0A = bc.has_ft0() ? bc.ft0().sumAmpA() : -999.f;
843855 // float multT0C = bc.has_ft0() ? fbcundBC.ft0().sumAmpC() : -999.f;
@@ -860,6 +872,10 @@ struct TimeDependentQaTask {
860872 if (ZNsumAmpl > 0 )
861873 histos.fill (HIST (" multDistributionsNoPileup/hSecondsDistrZNACdiffNormAmpl" ), secFromSOR, ZNdiffAmpl / ZNsumAmpl);
862874
875+ histos.fill (HIST (" multDistributionsNoPileup/hSecondsNPVvsZNAampl" ), secFromSOR, nPVtracks, ZNAampl);
876+ histos.fill (HIST (" multDistributionsNoPileup/hSecondsNPVvsZNCampl" ), secFromSOR, nPVtracks, ZNCampl);
877+
878+ //
863879 histos.fill (HIST (" multDistributionsNoPileup/hSecondsDistrT0A" ), secFromSOR, col.multFT0A ());
864880 histos.fill (HIST (" multDistributionsNoPileup/hSecondsDistrT0C" ), secFromSOR, col.multFT0C ());
865881 histos.fill (HIST (" multDistributionsNoPileup/hSecondsDistrV0A" ), secFromSOR, col.multFV0A ());
0 commit comments