Skip to content

Commit a4be99b

Browse files
authored
add more QA histos for MC
1 parent 8aeef94 commit a4be99b

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

DPG/Tasks/AOTEvent/lightIonsEvSelQa.cxx

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,12 @@ struct LightIonsEvSelQa {
655655
histos.add("MCnonTVX/hMCdataVzDiff", "", kTH2F, {axisNcontrib, axisVtxZdiff});
656656
histos.add("MCnonTVX/hMCdataBcDiffVsMult", "", kTH2F, {axisNcontrib, axisBcDiff});
657657
histos.add("MCnonTVX/hMCdataFoundBcDiffVsMult", "", kTH2F, {axisNcontrib, axisBcDiff});
658+
659+
//
660+
histos.add("MC_not_TF_ROF_borders/hNcontribColFromData", "", kTH1F, {axisNcontrib});
661+
histos.add("MC_not_TF_ROF_borders/hNcontribAccFromData", "", kTH1F, {axisNcontrib});
662+
histos.add("MC_not_TF_ROF_borders/hNcontribColFromData_foundBcDiff0", "", kTH1F, {axisNcontrib});
663+
histos.add("MC_not_TF_ROF_borders/hNcontribAccFromData_foundBcDiff0", "", kTH1F, {axisNcontrib});
658664
}
659665

660666
Preslice<FullTracksIU> perCollision = aod::track::collisionId;
@@ -946,9 +952,11 @@ struct LightIonsEvSelQa {
946952
nGlobalTracksPV++;
947953
} // end of track loop
948954

949-
histos.fill(HIST("hNcontribColFromData"), nPVtracks);
950-
if (col.selection_bit(kIsTriggerTVX))
951-
histos.fill(HIST("hNcontribAccFromData"), nPVtracks);
955+
if (col.selection_bit(kNoTimeFrameBorder) && col.selection_bit(kNoITSROFrameBorder)) {
956+
histos.fill(HIST("hNcontribColFromData"), nPVtracks);
957+
if (col.selection_bit(kIsTriggerTVX))
958+
histos.fill(HIST("hNcontribAccFromData"), nPVtracks);
959+
}
952960

953961
bool hasFT0 = foundBC.has_ft0();
954962
bool hasFV0A = foundBC.has_fv0a();
@@ -1867,6 +1875,18 @@ struct LightIonsEvSelQa {
18671875
histos.fill(HIST("MCnonTVX/hMCdataBcDiffVsMult"), col.numContrib(), bcDiff);
18681876
histos.fill(HIST("MCnonTVX/hMCdataFoundBcDiffVsMult"), col.numContrib(), foundBcDiff);
18691877
}
1878+
1879+
if (col.selection_bit(kNoTimeFrameBorder) && col.selection_bit(kNoITSROFrameBorder)) {
1880+
histos.fill(HIST("MC_not_TF_ROF_borders/hNcontribColFromData"), col.numContrib());
1881+
if (col.selection_bit(kIsTriggerTVX))
1882+
histos.fill(HIST("MC_not_TF_ROF_borders/hNcontribAccFromData"), col.numContrib());
1883+
1884+
if (foundBcDiff == 0) {
1885+
histos.fill(HIST("MC_not_TF_ROF_borders/hNcontribColFromData_foundBcDiff0"), col.numContrib());
1886+
if (col.selection_bit(kIsTriggerTVX))
1887+
histos.fill(HIST("MC_not_TF_ROF_borders/hNcontribAccFromData_foundBcDiff0"), col.numContrib());
1888+
}
1889+
}
18701890
}
18711891
}
18721892
}

0 commit comments

Comments
 (0)