Skip to content

Commit 3973650

Browse files
committed
Fix event selection with zorro in track index skim creator
1 parent 129fdd8 commit 3973650

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGHF/TableProducer/trackIndexSkimCreator.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ struct HfTrackIndexSkimCreatorTagSelCollisions {
134134

135135
// QA histos
136136
HistogramRegistry registry{"registry"};
137+
OutputObj<ZorroSummary> zorroSummary{"zorroSummary"};
137138

138139
void init(InitContext const&)
139140
{
@@ -148,9 +149,8 @@ struct HfTrackIndexSkimCreatorTagSelCollisions {
148149
hfEvSel.triggerClass.value = std::distance(aliasLabels, triggerAlias);
149150
}
150151

152+
hfEvSel.init(registry, &zorroSummary); // collision monitoring
151153
if (fillHistograms) {
152-
hfEvSel.addHistograms(registry); // collision monitoring
153-
154154
if (doprocessTrigAndCentFT0ASel || doprocessTrigAndCentFT0CSel || doprocessTrigAndCentFT0MSel || doprocessTrigAndCentFV0ASel) {
155155
const AxisSpec axisCentrality{200, 0., 100., "centrality percentile"};
156156
registry.add("hCentralitySelected", "Centrality percentile of selected events in the centrality interval; centrality percentile;entries", {HistType::kTH1D, {axisCentrality}});

0 commit comments

Comments
 (0)