From 1eaf81744975b6d6e622b12b78ee5fd05bef1e37 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Sat, 28 Nov 2026 14:53:41 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGUD/Tasks/upcVmRof.cxx | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/PWGUD/Tasks/upcVmRof.cxx b/PWGUD/Tasks/upcVmRof.cxx index 7fecfe5c113..97767d4787a 100644 --- a/PWGUD/Tasks/upcVmRof.cxx +++ b/PWGUD/Tasks/upcVmRof.cxx @@ -924,7 +924,8 @@ struct UpcVmRof { if (gidxBCB <= bcs.iteratorAt(bcs.size() - 1).globalIndex()) { while (nearbcb != bcs.end()) { ++nearbcb; - if (nearbcb == bcs.end()) break; + if (nearbcb == bcs.end()) + break; if (nearbcb.globalIndex() > gidxBCB) { break; } else if (getBcWithinOrbit(nearbcb.globalBC()) == vecNearestBCB[thisBC]) { @@ -1097,7 +1098,7 @@ struct UpcVmRof { } // compute the number of FT0 and ZN bcB interactions in this ROF - int nPerROFFT0Low = 0; // Low amplitude threshold + int nPerROFFT0Low = 0; // Low amplitude threshold int nPerROFFT0High = 0; // high amplitude threshold int nPerROFZNA = 0; int nPerROFZNC = 0; @@ -1107,7 +1108,8 @@ struct UpcVmRof { // -- find later interactions in the same ROF while (fwdbc != bcs.end()) { ++fwdbc; - if (fwdbc == bcs.end()) break; + if (fwdbc == bcs.end()) + break; int64_t tmpLocalBC = getBcWithinOrbit(fwdbc.globalBC()); int64_t tmpTF = getTimeFrame(fwdbc.globalBC()); int64_t tmpROF = getRof(tmpLocalBC); @@ -1123,11 +1125,16 @@ struct UpcVmRof { tZNC = (fwdbc.zdc()).timeZNC(); bool isZNA = false; bool isZNC = false; - if(std::isfinite(tZNA) && std::abs(tZNA) minAmpFT0Low && fwdbc.foundFT0().sumAmpC() > minAmpFT0Low) @@ -1155,11 +1162,16 @@ struct UpcVmRof { tZNC = (bwdbc.zdc()).timeZNC(); bool isZNA = false; bool isZNC = false; - if(std::isfinite(tZNA) && std::abs(tZNA) minAmpFT0Low && bwdbc.foundFT0().sumAmpC() > minAmpFT0Low) @@ -1187,7 +1199,7 @@ struct UpcVmRof { selTrks[0].tpcNSigmaPi(), selTrks[0].tpcNSigmaEl(), selTrks[0].tpcNSigmaKa(), selTrks[0].tpcNSigmaPr(), selTrks[1].pt(), selTrks[1].eta(), selTrks[1].phi(), selTrks[1].sign(), selTrks[1].tpcNSigmaPi(), selTrks[1].tpcNSigmaEl(), selTrks[1].tpcNSigmaKa(), selTrks[1].tpcNSigmaPr(), - tof[0], tof[1], nPerROFFT0Low, nPerROFFT0High, nPerROFZNA, nPerROFZNC, nPerROFZN); + tof[0], tof[1], nPerROFFT0Low, nPerROFFT0High, nPerROFZNA, nPerROFZNC, nPerROFZN); } if (isFourBody) { if (selTrks[0].hasTOF()) {