Skip to content

Commit a24f031

Browse files
authored
[PWGCF] flow-task: add mult vs centrality QA before sel8 (#9529)
1 parent 4c58191 commit a24f031

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PWGCF/Flow/Tasks/flowTask.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ struct FlowTask {
217217
registry.add("hMult", "Multiplicity distribution", {HistType::kTH1D, {{3000, 0.5, 3000.5}}});
218218
registry.add("hCent", "Centrality distribution", {HistType::kTH1D, {{90, 0, 90}}});
219219
if (!cfgUseSmallMemory) {
220+
registry.add("BeforeSel8_globalTracks_centT0C", "before sel8;Centrality T0C;mulplicity global tracks", {HistType::kTH2D, {axisCentForQA, axisNch}});
220221
registry.add("BeforeCut_globalTracks_centT0C", "before cut;Centrality T0C;mulplicity global tracks", {HistType::kTH2D, {axisCentForQA, axisNch}});
221222
registry.add("BeforeCut_PVTracks_centT0C", "before cut;Centrality T0C;mulplicity PV tracks", {HistType::kTH2D, {axisCentForQA, axisNchPV}});
222223
registry.add("BeforeCut_globalTracks_PVTracks", "before cut;mulplicity PV tracks;mulplicity global tracks", {HistType::kTH2D, {axisNchPV, axisNch}});
@@ -675,6 +676,9 @@ struct FlowTask {
675676
void process(AodCollisions::iterator const& collision, aod::BCsWithTimestamps const&, AodTracks const& tracks)
676677
{
677678
registry.fill(HIST("hEventCount"), 0.5);
679+
if (!cfgUseSmallMemory && tracks.size() >= 1) {
680+
registry.fill(HIST("BeforeSel8_globalTracks_centT0C"), collision.centFT0C(), tracks.size());
681+
}
678682
if (!collision.sel8())
679683
return;
680684
if (tracks.size() < 1)

0 commit comments

Comments
 (0)