@@ -1087,7 +1087,6 @@ struct DetectorOccupancyQaTask {
10871087 // July 2025: more for data vs MC:
10881088 if (track.hasTPC () && occupancy >= 0 && confAddBasicQAhistos) {
10891089 float pt = track.pt ();
1090- // pt 0.2-0.5
10911090 if (pt > 0.2 && pt < 0.5 ) {
10921091 if (nPV >= 10 && nPV < 400 ) {
10931092 histos.fill (HIST (" QA_noTPCcuts/nPV_10_200/tpcNClsFindable_vs_occup_pt_02_05" ), track.tpcNClsFindable (), occupancy);
@@ -1098,9 +1097,7 @@ struct DetectorOccupancyQaTask {
10981097 histos.fill (HIST (" QA_noTPCcuts/nPV_above2000/tpcNClsFound_vs_occup_pt_02_05" ), track.tpcNClsFound (), occupancy);
10991098 histos.fill (HIST (" QA_noTPCcuts/nPV_above2000/tpcChi2NCl_vs_occup_pt_02_05" ), track.tpcChi2NCl (), occupancy);
11001099 }
1101- }
1102- // pt 0.5-1.0
1103- else if (pt > 0.5 && pt < 1.0 ) {
1100+ } else if (pt > 0.5 && pt < 1.0 ) {
11041101 if (nPV >= 10 && nPV < 400 ) {
11051102 histos.fill (HIST (" QA_noTPCcuts/nPV_10_200/tpcNClsFindable_vs_occup_pt_05_10" ), track.tpcNClsFindable (), occupancy);
11061103 histos.fill (HIST (" QA_noTPCcuts/nPV_10_200/tpcNClsFound_vs_occup_pt_05_10" ), track.tpcNClsFound (), occupancy);
@@ -1110,9 +1107,7 @@ struct DetectorOccupancyQaTask {
11101107 histos.fill (HIST (" QA_noTPCcuts/nPV_above2000/tpcNClsFound_vs_occup_pt_05_10" ), track.tpcNClsFound (), occupancy);
11111108 histos.fill (HIST (" QA_noTPCcuts/nPV_above2000/tpcChi2NCl_vs_occup_pt_05_10" ), track.tpcChi2NCl (), occupancy);
11121109 }
1113- }
1114- // pt > 1.0
1115- else if (pt > 1.0 ) {
1110+ } else if (pt > 1.0 ) {
11161111 if (nPV >= 10 && nPV < 400 ) {
11171112 histos.fill (HIST (" QA_noTPCcuts/nPV_10_200/tpcNClsFindable_vs_occup_pt_above1_0" ), track.tpcNClsFindable (), occupancy);
11181113 histos.fill (HIST (" QA_noTPCcuts/nPV_10_200/tpcNClsFound_vs_occup_pt_above1_0" ), track.tpcNClsFound (), occupancy);
@@ -1383,8 +1378,8 @@ struct DetectorOccupancyQaTask {
13831378 int tpcNClsFound = track.tpcNClsFound ();
13841379 int tpcNClsCrossedRows = track.tpcNClsCrossedRows ();
13851380
1386- if (sign > 0 ) // positive tracks
1387- {
1381+ if (sign > 0 ) {
1382+ // positive tracks
13881383 histos.fill (HIST (" track_distr_nITStrThisEv_10_200/kine_vs_weighted_occup/PV_hPt_pos" ), pt, occupancy);
13891384 histos.fill (HIST (" track_distr_nITStrThisEv_10_200/kine_vs_weighted_occup/PV_hEta_pos" ), eta, occupancy);
13901385 histos.fill (HIST (" track_distr_nITStrThisEv_10_200/kine_vs_weighted_occup/PV_hPhi_pos" ), phi, occupancy, pt);
@@ -1401,8 +1396,8 @@ struct DetectorOccupancyQaTask {
14011396 histos.fill (HIST (" track_distr_nITStrThisEv_10_200/kine_vs_weighted_occup/QA_tpcNClsFound_pos" ), tpcNClsFound);
14021397 histos.fill (HIST (" track_distr_nITStrThisEv_10_200/kine_vs_weighted_occup/QA_tpcNClsCrossedRows_pos" ), tpcNClsCrossedRows);
14031398 }
1404- } else // negative tracks
1405- {
1399+ } else {
1400+ // negative tracks
14061401 histos.fill (HIST (" track_distr_nITStrThisEv_10_200/kine_vs_weighted_occup/PV_hPt_neg" ), pt, occupancy);
14071402 histos.fill (HIST (" track_distr_nITStrThisEv_10_200/kine_vs_weighted_occup/PV_hEta_neg" ), eta, occupancy);
14081403 histos.fill (HIST (" track_distr_nITStrThisEv_10_200/kine_vs_weighted_occup/PV_hPhi_neg" ), phi, occupancy, pt);
@@ -1449,8 +1444,8 @@ struct DetectorOccupancyQaTask {
14491444 } // end of TPC good global
14501445
14511446 // July 2025: for data vs MC kine distr comparison
1452- if (sign > 0 ) // positive tracks
1453- {
1447+ if (sign > 0 ) {
1448+ // positive tracks
14541449 histos.fill (HIST (" track_distr_nITStrThisEv_above_2000/kine_vs_weighted_occup/PV_hPt_pos" ), pt, occupancy);
14551450 histos.fill (HIST (" track_distr_nITStrThisEv_above_2000/kine_vs_weighted_occup/PV_hEta_pos" ), eta, occupancy);
14561451 histos.fill (HIST (" track_distr_nITStrThisEv_above_2000/kine_vs_weighted_occup/PV_hPhi_pos" ), phi, occupancy, pt);
@@ -1463,8 +1458,8 @@ struct DetectorOccupancyQaTask {
14631458 histos.fill (HIST (" track_distr_nITStrThisEv_above_2000/kine_vs_weighted_occup/hPhi_posModifiedQA" ), phi);
14641459 }
14651460 }
1466- } else // negative tracks
1467- {
1461+ } else {
1462+ // negative tracks
14681463 histos.fill (HIST (" track_distr_nITStrThisEv_above_2000/kine_vs_weighted_occup/PV_hPt_neg" ), pt, occupancy);
14691464 histos.fill (HIST (" track_distr_nITStrThisEv_above_2000/kine_vs_weighted_occup/PV_hEta_neg" ), eta, occupancy);
14701465 histos.fill (HIST (" track_distr_nITStrThisEv_above_2000/kine_vs_weighted_occup/PV_hPhi_neg" ), phi, occupancy, pt);
0 commit comments