From f63a212b4ee3cb64691af933147c65e40f703032 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Sat, 19 Jul 2025 19:22:05 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGLF/Utils/strangenessBuilderModule.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/PWGLF/Utils/strangenessBuilderModule.h b/PWGLF/Utils/strangenessBuilderModule.h index 27948b692e1..41d995fbb44 100644 --- a/PWGLF/Utils/strangenessBuilderModule.h +++ b/PWGLF/Utils/strangenessBuilderModule.h @@ -558,12 +558,11 @@ class BuilderModule } } - if(nEnabledTables==0){ + if (nEnabledTables == 0) { LOGF(info, "Strangeness building not required. Will suppress all functionality, including logs, from this point forward."); return; } - // setup bookkeeping histogram auto h = histos.template add("hTableBuildingStatistics", "hTableBuildingStatistics", o2::framework::kTH1D, {{nTablesConst, -0.5f, static_cast(nTablesConst)}}); auto h2 = histos.template add("hInputStatistics", "hInputStatistics", o2::framework::kTH1D, {{nTablesConst, -0.5f, static_cast(nTablesConst)}}); @@ -637,7 +636,7 @@ class BuilderModule // adjust bookkeeping histogram h->GetXaxis()->SetBinLabel(i + 1, tableNames[i].c_str()); h2->GetXaxis()->SetBinLabel(i + 1, tableNames[i].c_str()); - if(baseOpts.mEnabledTables[i] == false){ + if (baseOpts.mEnabledTables[i] == false) { h->SetBinContent(i + 1, -1); // mark disabled tables, distinguish from zero counts } } @@ -2522,7 +2521,7 @@ class BuilderModule template void dataProcess(TCCDB& ccdb, THistoRegistry& histos, TCollisions const& collisions, TMCCollisions const& mccollisions, TV0s const& v0s, TCascades const& cascades, TTrackedCascades const& trackedCascades, TTracks const& tracks, TBCs const& bcs, TMCParticles const& mcParticles, TProducts& products) { - if(nEnabledTables == 0){ + if (nEnabledTables == 0) { return; // fully suppressed }