From 024c8d688d526f8dfa2b51786afd0072830d2d50 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Tue, 29 Jul 2025 20:58:33 +0000 Subject: [PATCH] Please consider the following formatting changes --- Common/TableProducer/PID/pidTPCModule.h | 10 +++++----- Common/TableProducer/PID/pidTPCService.cxx | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Common/TableProducer/PID/pidTPCModule.h b/Common/TableProducer/PID/pidTPCModule.h index df3da0e1dfd..00337431c5b 100644 --- a/Common/TableProducer/PID/pidTPCModule.h +++ b/Common/TableProducer/PID/pidTPCModule.h @@ -489,7 +489,7 @@ class pidTPCModule } auto expSignal = response->GetExpectedSignal(trk, pid); auto expSigma = trk.has_collision() ? response->GetExpectedSigmaAtMultiplicity(multTPC, trk, pid) : 0.07 * expSignal; // use default sigma value of 7% if no collision information to estimate resolution - if (expSignal < 0. || expSigma < 0.) { // skip if expected signal invalid + if (expSignal < 0. || expSigma < 0.) { // skip if expected signal invalid if (flagFull) tableFull(-999.f, -999.f); if (flagTiny) @@ -532,7 +532,7 @@ class pidTPCModule template void process(TCCDB& ccdb, TCCDBApi& ccdbApi, TBCs const& bcs, TCollisions const& cols, TTracks const& tracks, TTracksQA const& tracksQA, TProducts& products) { - if(tracks.size()==0){ + if (tracks.size() == 0) { return; // empty protection } auto trackiterator = tracks.begin(); @@ -612,8 +612,8 @@ class pidTPCModule // get the TPC signal to be used in the PID float tpcSignalToEvaluatePID = trk.tpcSignal(); - int multTPC = 0; - if(trk.has_collision()){ + int multTPC = 0; + if (trk.has_collision()) { multTPC = pidmults[trk.collisionId()]; } @@ -679,7 +679,7 @@ class pidTPCModule // bypass TPC signal in case TracksQA information present if constexpr (soa::is_table) { tpcSignalToEvaluatePID = -999.f; - if(indexTrack2TrackQA[trk.globalIndex()]!=-1){ + if (indexTrack2TrackQA[trk.globalIndex()] != -1) { auto trackQA = tracksQA.rawIteratorAt(indexTrack2TrackQA[trk.globalIndex()]); tpcSignalToEvaluatePID = trackQA.tpcdEdxNorm(); } diff --git a/Common/TableProducer/PID/pidTPCService.cxx b/Common/TableProducer/PID/pidTPCService.cxx index f9d257bf916..cff700fca1c 100644 --- a/Common/TableProducer/PID/pidTPCService.cxx +++ b/Common/TableProducer/PID/pidTPCService.cxx @@ -88,7 +88,6 @@ struct pidTpcService { pidTPC.process(ccdb, ccdbApi, bcs, collisions, tracks, tracksQA, products); } - void processTracksMC(soa::Join const& collisions, soa::Join const& tracks, aod::BCsWithTimestamps const& bcs, aod::McParticles const&) { pidTPC.process(ccdb, ccdbApi, bcs, collisions, tracks, static_cast(nullptr), products);