Skip to content

Commit 0a1dce1

Browse files
committed
const in loop and remove print statement
1 parent 863cd3b commit 0a1dce1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

PWGCF/Flow/TableProducer/zdcQVectors.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,7 @@ struct ZdcQVectors {
427427
collision.centFV0A(),
428428
collision.centNGlobal()};
429429

430-
for (auto& cent : cents) {
431-
LOGF(info, "Filling centrality: %f for event selection: %d", cent, evSel + centCounter);
430+
for (const auto& cent : cents) {
432431
registry.get<TProfile2D>(HIST("CutAnalysis/hZNA_mean_t0_cent"))->Fill(cent, evSel + centCounter, zdcBC.energyCommonZNA(), 1);
433432
registry.get<TProfile2D>(HIST("CutAnalysis/hZNA_mean_t1_cent"))->Fill(cent, evSel + centCounter, zdcBC.energySectorZNA()[0], 1);
434433
registry.get<TProfile2D>(HIST("CutAnalysis/hZNA_mean_t2_cent"))->Fill(cent, evSel + centCounter, zdcBC.energySectorZNA()[1], 1);

0 commit comments

Comments
 (0)