From baccce5e066171ed45b635da953ea371a27355e5 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Wed, 19 Apr 2023 19:59:12 +0000 Subject: [PATCH] Please consider the following formatting changes --- ALICE3/TableProducer/onTheFlyTOFPID.cxx | 2 +- ALICE3/TableProducer/onTheFlyTracker.cxx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ALICE3/TableProducer/onTheFlyTOFPID.cxx b/ALICE3/TableProducer/onTheFlyTOFPID.cxx index 1b17755585c..0519a1036ab 100644 --- a/ALICE3/TableProducer/onTheFlyTOFPID.cxx +++ b/ALICE3/TableProducer/onTheFlyTOFPID.cxx @@ -128,7 +128,7 @@ struct OnTheFlyTOFPID { auto pdgInfo = pdg->GetParticle(particle.pdgCode()); int charge = 0; if (pdgInfo != nullptr) { - charge = pdgInfo->Charge()/3; + charge = pdgInfo->Charge() / 3; } std::array params; std::array covm = {0.}; diff --git a/ALICE3/TableProducer/onTheFlyTracker.cxx b/ALICE3/TableProducer/onTheFlyTracker.cxx index 01769ad1d2c..d933b7c207c 100644 --- a/ALICE3/TableProducer/onTheFlyTracker.cxx +++ b/ALICE3/TableProducer/onTheFlyTracker.cxx @@ -118,7 +118,7 @@ struct OnTheFlyTracker { auto pdgInfo = pdgDB->GetParticle(particle.pdgCode()); int charge = 0; if (pdgInfo != nullptr) { - charge = pdgInfo->Charge()/3; + charge = pdgInfo->Charge() / 3; } std::array params; std::array covm = {0.}; @@ -172,7 +172,7 @@ struct OnTheFlyTracker { } for (const auto& mcParticle : mcParticles) { - if(!mcParticle.isPhysicalPrimary()){ + if (!mcParticle.isPhysicalPrimary()) { continue; } const auto pdg = std::abs(mcParticle.pdgCode()); @@ -190,11 +190,11 @@ struct OnTheFlyTracker { } o2::track::TrackParCov trackParCov; convertMCParticleToO2Track(mcParticle, trackParCov); - + if (!mSmearer.smearTrack(trackParCov, mcParticle.pdgCode(), dNdEta)) { continue; } - + // *+~+*+~+*+~+*+~+*+~+*+~+*+~+*+~+*+~+*+~+*+~+*+~+*+~+* // Calculate primary vertex // To be added once smeared tracks are in place