From 9015eb2b55890f29501e3808a1544e078c8b8f79 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Sun, 19 Jul 2026 15:41:02 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGUD/Tasks/upcVmRof.cxx | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/PWGUD/Tasks/upcVmRof.cxx b/PWGUD/Tasks/upcVmRof.cxx index fc909be9409..d92deb08e80 100644 --- a/PWGUD/Tasks/upcVmRof.cxx +++ b/PWGUD/Tasks/upcVmRof.cxx @@ -23,9 +23,9 @@ #include #include #include +#include #include #include -#include #include #include #include @@ -185,8 +185,8 @@ struct UpcVmRof { int nbcB = 0; // variables to store ITS ROF info - int rofPerOrbit = -1; // number of rofs per orbit - int rofLength = -1; // number of bcs per ROF + int rofPerOrbit = -1; // number of rofs per orbit + int rofLength = -1; // number of bcs per ROF int rofShift = -1; // bc shift of ITS. // variables to store run info @@ -212,7 +212,7 @@ struct UpcVmRof { // reconstruction modes static constexpr int stdReco = 0; static constexpr int upcReco = 1; - + // information for selection collisions Configurable maxAbsPosZ{"maxAbsPosZ", 10.0, "max |Z| position of vtx"}; Configurable maxAbsTimeFT0{"maxAbsTimeFT0", 4.0, "max |time| in a FT0 side"}; @@ -223,8 +223,6 @@ struct UpcVmRof { Configurable maxTrkDcaZ{"maxTrkDcaZ", 2.0, "max DCA in z of track to vtx (cm)"}; Configurable tfPerBin{"tfPerBin", 10000, "timeframes per bin 1e4 means some 28 s"}; - - //-------------------------------------------------------------------------------- // get ITS ROF info // code from https://github.com/AliceO2Group/O2Physics/blob/master/Common/Tools/EventSelectionModule.h#L779-L780 @@ -547,7 +545,7 @@ struct UpcVmRof { // select number of contributors bool isTwoContributors = (col.numContrib() == NTrksTwoBody); bool isFourContributors = (col.numContrib() == NTrksFourBody); - if ( !isTwoContributors && !isFourContributors) { + if (!isTwoContributors && !isFourContributors) { return; } if (isTwoContributors) { @@ -603,11 +601,11 @@ struct UpcVmRof { selTrks.push_back(track); } bool isTwoBody = isTwoContributors && (selTrks.size() == NTrksTwoBody); - bool isFourBody = isFourContributors && (selTrks.size() == NTrksFourBody); + bool isFourBody = isFourContributors && (selTrks.size() == NTrksFourBody); if (!isTwoBody && !isFourBody) { return; } - + // selected events if (isTwoBody) { colTH1Pointers[Form("col/%d/colSel_H", runNumberCol)]->Fill(17); @@ -739,7 +737,7 @@ struct UpcVmRof { // fill output table // int recoFlag = TESTBIT(col.flags(), dataformats::Vertex>::Flags::UPCMode) ? upcReco : stdReco; - const int recoFlag= (col.flags() & dataformats::Vertex>::Flags::UPCMode) ? upcReco : stdReco; + const int recoFlag = (col.flags() & dataformats::Vertex>::Flags::UPCMode) ? upcReco : stdReco; if (isTwoBody) { colTH1Pointers[Form("col/%d/twoTrkTF_H", runNumberCol)]->Fill(thisTF); twoTrkTable(runNumberCol, col.posX(), col.posY(), col.posZ(), col.chi2(), thisBC, thisTF, thisROF, recoFlag,