From 868396c3f708184c3bf596548b020eeb38128516 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Wed, 25 Feb 2026 10:29:06 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGLF/TableProducer/Nuspex/nucleiSpectra.cxx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/PWGLF/TableProducer/Nuspex/nucleiSpectra.cxx b/PWGLF/TableProducer/Nuspex/nucleiSpectra.cxx index 95663bd60a5..1c1ee16a4fb 100644 --- a/PWGLF/TableProducer/Nuspex/nucleiSpectra.cxx +++ b/PWGLF/TableProducer/Nuspex/nucleiSpectra.cxx @@ -52,11 +52,11 @@ #include "ReconstructionDataFormats/Track.h" #include +#include #include #include // for PDG codes -#include -#include #include +#include #include #include @@ -922,7 +922,7 @@ struct nucleiSpectra { bool selectINELgt0 = cfgEventSelections->get(nuclei::evSel::kINELgt0); std::vector goodCollisions(mcCollisions.size(), false); - auto *pdgDB = TDatabasePDG::Instance(); // Useful for evaluating the particle charge + auto* pdgDB = TDatabasePDG::Instance(); // Useful for evaluating the particle charge for (const auto& c : mcCollisions) { @@ -950,7 +950,7 @@ struct nucleiSpectra { if (selectINELgt0 && !acceptEvent) { if (std::abs(p.eta()) < 1.0f) { auto* pdg = pdgDB->GetParticle(p.pdgCode()); - if (pdg && pdg->Charge()!= 0) + if (pdg && pdg->Charge() != 0) acceptEvent = true; } } @@ -971,8 +971,10 @@ struct nucleiSpectra { } int mcId = collision.mcCollisionId(); - if (mcId < 0) continue; - if(!goodCollisions[mcId]) continue; + if (mcId < 0) + continue; + if (!goodCollisions[mcId]) + continue; const auto& slicedTracks = tracks.sliceBy(tracksPerCollisions, collision.globalIndex()); fillDataInfo(collision, slicedTracks);