From 05163ce8c07cff6a225c90be256a798cc5b9aba8 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Wed, 12 Aug 2026 22:42:22 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGCF/Flow/TableProducer/zdcQVectors.cxx | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/PWGCF/Flow/TableProducer/zdcQVectors.cxx b/PWGCF/Flow/TableProducer/zdcQVectors.cxx index 53b96a4bd98..d82e83b052c 100644 --- a/PWGCF/Flow/TableProducer/zdcQVectors.cxx +++ b/PWGCF/Flow/TableProducer/zdcQVectors.cxx @@ -48,14 +48,13 @@ #include #include #include +#include #include #include #include #include #include -#include - #define O2_DEFINE_CONFIGURABLE(NAME, TYPE, DEFAULT, HELP) Configurable NAME{#NAME, DEFAULT, HELP}; using namespace o2; @@ -69,7 +68,6 @@ using namespace o2::constants::math; namespace o2::analysis::qvectortask { - // Define histogrm names here to use same names for creating and later uploading and retrieving data from ccdb // Energy calibration: const std::array namesEcal = {{"hZNA_mean_t0_cent", "hZNA_mean_t1_cent", "hZNA_mean_t2_cent", "hZNA_mean_t3_cent", "hZNA_mean_t4_cent", @@ -578,19 +576,19 @@ struct ZdcQVectors { auto multNTracksPV = collision.multNTracksPV(); selected = true; - if (vtxz > cfgVtxZ || vtxz < -cfgVtxZ){ + if (vtxz > cfgVtxZ || vtxz < -cfgVtxZ) { selected = false; } - if (multNTracksPV < fMultPVCutLow->Eval(collision.centFT0C())){ + if (multNTracksPV < fMultPVCutLow->Eval(collision.centFT0C())) { selected = false; } - if (multNTracksPV > fMultPVCutHigh->Eval(collision.centFT0C())){ + if (multNTracksPV > fMultPVCutHigh->Eval(collision.centFT0C())) { selected = false; } - if (multTrk < fMultCutLow->Eval(collision.centFT0C())){ + if (multTrk < fMultCutLow->Eval(collision.centFT0C())) { selected = false; } - if (multTrk > fMultCutHigh->Eval(collision.centFT0C())){ + if (multTrk > fMultCutHigh->Eval(collision.centFT0C())) { selected = false; } @@ -611,10 +609,10 @@ struct ZdcQVectors { { // loop for filling multiple histograms with different naming patterns // Always fill the uncentered "raw" Q-vector histos! - if (cfgFillNothing){ + if (cfgFillNothing) { return; } - static constexpr std::array Time = {"before", "after"}; //todo move to struct like in flowSP + static constexpr std::array Time = {"before", "after"}; // todo move to struct like in flowSP registry.fill(HIST("recentering/") + HIST(Time[ft]) + HIST("/hZNA_Qx_vs_Qy"), qxa, qya); registry.fill(HIST("recentering/") + HIST(Time[ft]) + HIST("/hZNC_Qx_vs_Qy"), qxc, qyc); @@ -684,7 +682,7 @@ struct ZdcQVectors { } template - void loadCalibrations(const std::string &ccdb_dir, uint64_t timestamp) + void loadCalibrations(const std::string& ccdb_dir, uint64_t timestamp) { // iteration = 0 (Energy calibration) -> step 0 only // iteration 1,2,3,4,5 = recentering -> 5 steps per iteration (1x 4D + 4x 1D)