From ec40b2445c863597aba54b54ef04c74ae36eecf3 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Thu, 4 Jun 2026 01:59:58 +0000 Subject: [PATCH] Please consider the following formatting changes --- .../common/include/DataFormatsITSMFT/StuckPixelData.h | 10 +++++----- .../include/ITSMFTWorkflow/DeadMapBuilderSpec.h | 9 ++++----- .../ITSMFT/common/workflow/src/DeadMapBuilderSpec.cxx | 8 +++----- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/DataFormats/Detectors/ITSMFT/common/include/DataFormatsITSMFT/StuckPixelData.h b/DataFormats/Detectors/ITSMFT/common/include/DataFormatsITSMFT/StuckPixelData.h index 6175304729c7f..1f15545be10f6 100644 --- a/DataFormats/Detectors/ITSMFT/common/include/DataFormatsITSMFT/StuckPixelData.h +++ b/DataFormats/Detectors/ITSMFT/common/include/DataFormatsITSMFT/StuckPixelData.h @@ -26,7 +26,7 @@ #include #include -#include // ClassDefNV +#include // ClassDefNV namespace o2 { @@ -35,10 +35,10 @@ namespace itsmft /// One stuck-pixel (RepeatingPixel error) record. struct StuckPixelEntry { - Long64_t orbit{0}; ///< first orbit of the TF in which the error was seen - uint16_t chipID{0}; ///< global chip ID (ITS only) - uint16_t row{0}; ///< pixel row - uint16_t col{0}; ///< pixel column + Long64_t orbit{0}; ///< first orbit of the TF in which the error was seen + uint16_t chipID{0}; ///< global chip ID (ITS only) + uint16_t row{0}; ///< pixel row + uint16_t col{0}; ///< pixel column StuckPixelEntry() = default; StuckPixelEntry(Long64_t o, uint16_t c, uint16_t r, uint16_t col_) diff --git a/Detectors/ITSMFT/common/workflow/include/ITSMFTWorkflow/DeadMapBuilderSpec.h b/Detectors/ITSMFT/common/workflow/include/ITSMFTWorkflow/DeadMapBuilderSpec.h index 503984fffc037..a539820e491f0 100644 --- a/Detectors/ITSMFT/common/workflow/include/ITSMFTWorkflow/DeadMapBuilderSpec.h +++ b/Detectors/ITSMFT/common/workflow/include/ITSMFTWorkflow/DeadMapBuilderSpec.h @@ -138,12 +138,11 @@ class ITSMFTDeadMapBuilder : public Task bool mDoStuckPixels = false; std::string mStuckPixelFileName = ""; o2::itsmft::StuckPixelData mStuckPixelData; - - Long64_t mErrOrbit = 0; - UShort_t mErrChipID = 0; - UShort_t mErrRow = 0; - UShort_t mErrCol = 0; + Long64_t mErrOrbit = 0; + UShort_t mErrChipID = 0; + UShort_t mErrRow = 0; + UShort_t mErrCol = 0; }; // Create a processor spec diff --git a/Detectors/ITSMFT/common/workflow/src/DeadMapBuilderSpec.cxx b/Detectors/ITSMFT/common/workflow/src/DeadMapBuilderSpec.cxx index 5e5dbc5aacb92..253f19f28fa96 100644 --- a/Detectors/ITSMFT/common/workflow/src/DeadMapBuilderSpec.cxx +++ b/Detectors/ITSMFT/common/workflow/src/DeadMapBuilderSpec.cxx @@ -17,7 +17,7 @@ #include "DataFormatsITSMFT/Digit.h" #include "DataFormatsITSMFT/CompCluster.h" #include "DataFormatsITSMFT/TimeDeadMap.h" -#include "DataFormatsITSMFT/StuckPixelData.h" // NEW +#include "DataFormatsITSMFT/StuckPixelData.h" // NEW #include "ITSMFTReconstruction/DecodingStat.h" #include @@ -375,8 +375,7 @@ void ITSMFTDeadMapBuilder::PrepareOutputCcdb(EndOfStreamContext* ec, std::string long tend = o2::ccdb::getCurrentTimestamp(); std::map md = { {"map_version", MAP_VERSION}, - {"runNumber", std::to_string(mRunNumber)} - }; + {"runNumber", std::to_string(mRunNumber)}}; std::string path = mRunMFT ? "MFT/Calib/" : "ITS/Calib/"; @@ -570,8 +569,7 @@ DataProcessorSpec getITSMFTDeadMapBuilderSpec(std::string datasource, bool doMFT {"outfile", VariantType::String, objectname_default, {"ROOT object file name."}}, {"local-output", VariantType::Bool, false, {"Save ROOT file locally."}}, {"output-dir", VariantType::String, std::string("./"), {"Local output directory."}}, - {"save-stuck-pixels", VariantType::String, std::string(""), - {"Enable ITS stuck-pixel collection and set the CCDB/local ROOT filename. Empty = disabled."}}, + {"save-stuck-pixels", VariantType::String, std::string(""), {"Enable ITS stuck-pixel collection and set the CCDB/local ROOT filename. Empty = disabled."}}, }}; }