@@ -262,6 +262,7 @@ struct tofPidQa {
262262 {
263263 const AxisSpec multAxis{100 , 0 , 100 , " TOF multiplicity" };
264264 const AxisSpec vtxZAxis{100 , -20 , 20 , " Vtx_{z} (cm)" };
265+ const AxisSpec contributorsAxis{100 , 0 , 1000 , " PV contributors" };
265266 const AxisSpec etaAxis{etaBins, " #it{#eta}" };
266267 const AxisSpec phiAxis{phiBins, " #it{#phi}" };
267268 const AxisSpec colTimeAxis{100 , -2000 , 2000 , " Collision time (ps)" };
@@ -295,6 +296,7 @@ struct tofPidQa {
295296 h->GetXaxis ()->SetBinLabel (5 , " hasTOF" );
296297 h->GetXaxis ()->SetBinLabel (6 , " goodTOFMatch" );
297298
299+ histos.add (" event/pvcontributors" , " " , kTH1D , {contributorsAxis});
298300 histos.add (" event/vertexz" , " " , kTH1D , {vtxZAxis});
299301 h = histos.add <TH1>(" event/particlehypo" , " " , kTH1D , {{10 , 0 , 10 , " PID in tracking" }});
300302 for (int i = 0 ; i < 9 ; i++) {
@@ -389,6 +391,7 @@ struct tofPidQa {
389391 pvContributors++;
390392 }
391393 }
394+ histos.fill (HIST (" event/pvcontributors" ), pvContributors);
392395 if (pvContributors < pvContributorsMin) {
393396 return false ;
394397 }
0 commit comments