From 94cf9b7f113ca9abe6d78bc49de56da4c9f62dc0 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Mon, 29 Apr 2024 14:13:30 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGLF/TableProducer/Nuspex/lnnRecoTask.cxx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/PWGLF/TableProducer/Nuspex/lnnRecoTask.cxx b/PWGLF/TableProducer/Nuspex/lnnRecoTask.cxx index 15a995a5520..f9843fcee95 100644 --- a/PWGLF/TableProducer/Nuspex/lnnRecoTask.cxx +++ b/PWGLF/TableProducer/Nuspex/lnnRecoTask.cxx @@ -50,8 +50,8 @@ constexpr double betheBlochDefault[1][6]{{-1.e32, -1.e32, -1.e32, -1.e32, -1.e32 static const std::vector betheBlochParNames{"p0", "p1", "p2", "p3", "p4", "resolution"}; static const std::vector particleNames{"3H"}; -constexpr int h3DauPdg{1000010030}; //PDG Triton -constexpr int lnnPdg{1010000030}; //PDG Lnn +constexpr int h3DauPdg{1000010030}; // PDG Triton +constexpr int lnnPdg{1010000030}; // PDG Lnn std::shared_ptr hEvents; std::shared_ptr hZvtx; @@ -280,11 +280,10 @@ struct lnnRecoTask { if (std::abs(posTrack.eta()) > etaMax || std::abs(negTrack.eta()) > etaMax) continue; - // temporary fix: tpcInnerParam() returns the momentum in all the software tags before: https://github.com/AliceO2Group/AliceO2/pull/12521 bool posTritonPID = posTrack.pidForTracking() == o2::track::PID::Triton; bool negTritonPID = negTrack.pidForTracking() == o2::track::PID::Triton; - float posRigidity = posTrack.tpcInnerParam(); + float posRigidity = posTrack.tpcInnerParam(); float negRigidity = negTrack.tpcInnerParam(); if (posTritonPID) { @@ -386,7 +385,6 @@ struct lnnRecoTask { continue; } - std::array primVtx = {collision.posX(), collision.posY(), collision.posZ()}; double cosPA = RecoDecay::cpa(primVtx, lnnCand.decVtx, lnnMom); @@ -394,7 +392,6 @@ struct lnnRecoTask { continue; } - for (int i = 0; i < 3; i++) { lnnCand.decVtx[i] = lnnCand.decVtx[i] - primVtx[i]; } @@ -519,7 +516,7 @@ struct lnnRecoTask { initCCDB(bc); hEvents->Fill(0.); - if (!collision.sel8() || std::abs(collision.posZ()) > 10) + if (!collision.sel8() || std::abs(collision.posZ()) > 10) continue; hEvents->Fill(1.); hZvtx->Fill(collision.posZ());