From cb59f5fb7054824c805ecf71139aebff260debd6 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Wed, 18 Nov 2026 20:46:08 +0000 Subject: [PATCH] Please consider the following formatting changes --- Tutorials/PWGUD/timeScan.cxx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Tutorials/PWGUD/timeScan.cxx b/Tutorials/PWGUD/timeScan.cxx index 587e0d20c76..d4aa4e27765 100644 --- a/Tutorials/PWGUD/timeScan.cxx +++ b/Tutorials/PWGUD/timeScan.cxx @@ -11,7 +11,7 @@ /// \file timeScan.cxx /// \brief Example task to scan data vs time TF-by-TF in single AO2D.root -/// Run as: o2-analysis-ud-time-structure --aod-file AO2D.root +/// Run as: o2-analysis-ud-time-structure --aod-file AO2D.root /// Filling 1D histos (fill1D=1) might require large shm size: --shm-segment-size 14000000000 /// \author Evgeny Kryshen @@ -34,8 +34,8 @@ #include #include -#include #include +#include #include #include #include @@ -132,7 +132,7 @@ struct TimeScan { LOGP(debug, "Fill maps of 1D histograms for new TF"); const AxisSpec axisBCinTF{nBCsPerTF, 0., static_cast(nBCsPerTF), "BC in TF"}; mapHistoCollidingBCs[tfID] = histosCollidingBCs.add(Form("%d/hCollidingBCs", tfID), "Colliding BCs", HistType::kTH1D, {axisBCinTF}); - if (fill1D>0) { + if (fill1D > 0) { mapHistoBCs[tfID] = histosBCs.add(Form("%d/hBCs", tfID), "Non-empty BCs", HistType::kTH1D, {axisBCinTF}); mapHistoCols[tfID] = histosCols.add(Form("%d/hCols", tfID), "Number of contributors", HistType::kTH1D, {axisBCinTF}); mapHistoFT0A[tfID] = histosFT0A.add(Form("%d/hFT0A", tfID), "FT0A amplitude", HistType::kTH1D, {axisBCinTF}); @@ -161,7 +161,7 @@ struct TimeScan { const int32_t bcInTF = (globalBC - bcSOR) % nBCsPerTF; LOGP(debug, "globalBC={} tfID={} bcInTF={}", globalBC, tfID, bcInTF); histos.get(HIST("hBCs"))->Fill(Form("%d", tfID), bcInTF, 1.); - if (fill1D>0) { + if (fill1D > 0) { mapHistoBCs[tfID]->Fill(bcInTF); } } @@ -175,7 +175,7 @@ struct TimeScan { LOGP(debug, "globalBC={} nContributors={}", globalBC, nContributors); histos.get(HIST("hCols"))->Fill(Form("%d", tfID), bcInTF, nContributors); histos.get(HIST("hNumContrib"))->Fill(nContributors); - if (fill1D>0) { + if (fill1D > 0) { mapHistoCols[tfID]->Fill(bcInTF, nContributors); } } @@ -192,7 +192,7 @@ struct TimeScan { histos.get(HIST("hFT0C"))->Fill(Form("%d", tfID), bcInTF, sumAmpFT0C); histos.get(HIST("hSumAmpFT0A"))->Fill(sumAmpFT0A); histos.get(HIST("hSumAmpFT0C"))->Fill(sumAmpFT0C); - if (fill1D>0) { + if (fill1D > 0) { mapHistoFT0A[tfID]->Fill(bcInTF, sumAmpFT0A); mapHistoFT0C[tfID]->Fill(bcInTF, sumAmpFT0C); } @@ -207,7 +207,7 @@ struct TimeScan { LOGP(debug, "globalBC={} sumAmpFV0A={}", globalBC, sumAmpFV0A); histos.get(HIST("hFV0A"))->Fill(Form("%d", tfID), bcInTF, sumAmpFV0A); histos.get(HIST("hSumAmpFV0A"))->Fill(sumAmpFV0A); - if (fill1D>0) { + if (fill1D > 0) { mapHistoFV0A[tfID]->Fill(bcInTF, sumAmpFV0A); } } @@ -224,7 +224,7 @@ struct TimeScan { histos.get(HIST("hFDDC"))->Fill(Form("%d", tfID), bcInTF, sumAmpFDDC); histos.get(HIST("hSumAmpFDDA"))->Fill(sumAmpFDDA); histos.get(HIST("hSumAmpFDDC"))->Fill(sumAmpFDDC); - if (fill1D>0) { + if (fill1D > 0) { mapHistoFDDA[tfID]->Fill(bcInTF, sumAmpFDDA); mapHistoFDDC[tfID]->Fill(bcInTF, sumAmpFDDC); } @@ -242,7 +242,7 @@ struct TimeScan { histos.get(HIST("hZNC"))->Fill(Form("%d", tfID), bcInTF, sumAmpZNC); histos.get(HIST("hSumAmpZNA"))->Fill(sumAmpZNA); histos.get(HIST("hSumAmpZNC"))->Fill(sumAmpZNC); - if (fill1D>0) { + if (fill1D > 0) { mapHistoZNA[tfID]->Fill(bcInTF, sumAmpZNA); mapHistoZNC[tfID]->Fill(bcInTF, sumAmpZNC); }