We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebed33f commit 1663c69Copy full SHA for 1663c69
PWGHF/D2H/Tasks/taskDs.cxx
@@ -759,6 +759,9 @@ struct HfTaskDs {
759
float centrality = evaluateCentralityColl(collision);
760
std::get<TH2Ptr>(histosPtr[DataType::Data]["hNPvContribAll"])->Fill(numPvContributors, centrality);
761
for (int i = 0; i < DataType::kDataTypes; i++) {
762
+ if (i == DataType::McBkg && !fillMcBkgHistos) {
763
+ continue;
764
+ }
765
if (nCandsPerType[i]) {
766
std::get<TH2Ptr>(histosPtr[i]["hNPvContribCands"])->Fill(numPvContributors, centrality);
767
}
0 commit comments