@@ -181,6 +181,15 @@ struct DetectorOccupancyQaTask {
181181 histos.add (" dEdx_vs_centr_vs_occup_narrow_p_win_pos_FractionPIDclsInRange" , " dE/dx" , kTH3F , {{20 , 0 , 4000 , " nITStrk cls567" }, axisOccupancyForDeDxStudies, axisDeDx});
182182 histos.add (" dEdx_vs_centr_vs_occup_narrow_p_win_neg_FractionPIDclsInRange" , " dE/dx" , kTH3F , {{20 , 0 , 4000 , " nITStrk cls567" }, axisOccupancyForDeDxStudies, axisDeDx});
183183
184+ AxisSpec axisNTPCcls{160 , 0 , 160 , " n TPC clusters" };
185+ histos.add (" tpcNClsFound_vs_centr_vs_occup" , " " , kTH3F , {{20 , 0 , 4000 , " nITStrk cls567" }, axisOccupancyForDeDxStudies, axisNTPCcls});
186+ histos.add (" tpcNClsFindable_vs_centr_vs_occup" , " " , kTH3F , {{20 , 0 , 4000 , " nITStrk cls567" }, axisOccupancyForDeDxStudies, axisNTPCcls});
187+ histos.add (" tpcNClsShared_vs_centr_vs_occup" , " " , kTH3F , {{20 , 0 , 4000 , " nITStrk cls567" }, axisOccupancyForDeDxStudies, axisNTPCcls});
188+ histos.add (" tpcNClsShared_vs_centr_vs_occup_Aside" , " " , kTH3F , {{20 , 0 , 4000 , " nITStrk cls567" }, axisOccupancyForDeDxStudies, axisNTPCcls});
189+ histos.add (" tpcNClsShared_vs_centr_vs_occup_Cside" , " " , kTH3F , {{20 , 0 , 4000 , " nITStrk cls567" }, axisOccupancyForDeDxStudies, axisNTPCcls});
190+ histos.add (" tpcNClsShared_vs_centr_vs_occup_pos" , " " , kTH3F , {{20 , 0 , 4000 , " nITStrk cls567" }, axisOccupancyForDeDxStudies, axisNTPCcls});
191+ histos.add (" tpcNClsShared_vs_centr_vs_occup_neg" , " " , kTH3F , {{20 , 0 , 4000 , " nITStrk cls567" }, axisOccupancyForDeDxStudies, axisNTPCcls});
192+
184193 AxisSpec axisFractionNclsFindableMinusPID{110 , -1.1 , 1.1 , " TPC nClsFindableMinusPID / nClsFindable" };
185194 histos.add (" fraction_tpcNClsFindableMinusPID_vs_occup" , " " , kTH2D , {axisOccupancyForDeDxStudies, axisFractionNclsFindableMinusPID});
186195 histos.add (" fraction_tpcNClsFindableMinusPID_vs_occup_peripheralByV0A" , " " , kTH2D , {axisOccupancyForDeDxStudies, axisFractionNclsFindableMinusPID});
@@ -1003,6 +1012,23 @@ struct DetectorOccupancyQaTask {
10031012 if (fractionTPCcls >= 0 && fractionTPCcls < 0.8 )
10041013 histos.fill (HIST (" dEdx_vs_centr_vs_occup_narrow_p_win_neg_FractionPIDclsInRange" ), nPV, occupancy, track.tpcSignal ());
10051014 }
1015+
1016+ // nTPCcls vs nITStr vs occup
1017+ histos.fill (HIST (" tpcNClsFound_vs_centr_vs_occup" ), nPV, occupancy, track.tpcNClsFound ());
1018+ histos.fill (HIST (" tpcNClsFindable_vs_centr_vs_occup" ), nPV, occupancy, track.tpcNClsFindable ());
1019+ histos.fill (HIST (" tpcNClsShared_vs_centr_vs_occup" ), nPV, occupancy, track.tpcNClsShared ());
1020+
1021+ // nTPCsharedCls for A and C separately
1022+ if (track.tgl () > 0 .) // A side
1023+ histos.fill (HIST (" tpcNClsShared_vs_centr_vs_occup_Aside" ), nPV, occupancy, track.tpcNClsShared ());
1024+ else // C side
1025+ histos.fill (HIST (" tpcNClsShared_vs_centr_vs_occup_Cside" ), nPV, occupancy, track.tpcNClsShared ());
1026+
1027+ // nTPCsharedCls for pos and neg
1028+ if (signedP > 0 )
1029+ histos.fill (HIST (" tpcNClsShared_vs_centr_vs_occup_pos" ), nPV, occupancy, track.tpcNClsShared ());
1030+ else
1031+ histos.fill (HIST (" tpcNClsShared_vs_centr_vs_occup_neg" ), nPV, occupancy, track.tpcNClsShared ());
10061032 }
10071033 }
10081034 }
0 commit comments