Skip to content

Commit 44f283b

Browse files
fgrosaalibuild
andauthored
[PWGHF] Fix event selection with zorro in track index skim creator (#14408)
Co-authored-by: ALICE Action Bot <[email protected]>
1 parent 2e7cd35 commit 44f283b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

PWGHF/TableProducer/trackIndexSkimCreator.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#include "Common/CCDB/TriggerAliases.h"
3434
#include "Common/Core/RecoDecay.h"
3535
#include "Common/Core/TrackSelectorPID.h"
36+
#include "Common/Core/ZorroSummary.h"
3637
#include "Common/Core/trackUtilities.h"
3738
#include "Common/DataModel/Centrality.h"
3839
#include "Common/DataModel/CollisionAssociationTables.h"
@@ -134,6 +135,7 @@ struct HfTrackIndexSkimCreatorTagSelCollisions {
134135

135136
// QA histos
136137
HistogramRegistry registry{"registry"};
138+
OutputObj<ZorroSummary> zorroSummary{"zorroSummary"};
137139

138140
void init(InitContext const&)
139141
{
@@ -148,9 +150,8 @@ struct HfTrackIndexSkimCreatorTagSelCollisions {
148150
hfEvSel.triggerClass.value = std::distance(aliasLabels, triggerAlias);
149151
}
150152

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

0 commit comments

Comments
 (0)