From c8209602399b8dab9d9da319742e81dc2135cd59 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Tue, 2 Jun 2026 02:57:36 +0000 Subject: [PATCH] Please consider the following formatting changes --- .../include/DataFormatsITSMFT/StuckPixelData.h | 10 +++++----- .../include/ITSMFTWorkflow/DeadMapBuilderSpec.h | 15 ++++++++------- .../common/workflow/src/DeadMapBuilderSpec.cxx | 8 +++----- 3 files changed, 16 insertions(+), 17 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 dc6090a340f57..f76b74a0c73bd 100644 --- a/Detectors/ITSMFT/common/workflow/include/ITSMFTWorkflow/DeadMapBuilderSpec.h +++ b/Detectors/ITSMFT/common/workflow/include/ITSMFTWorkflow/DeadMapBuilderSpec.h @@ -136,17 +136,18 @@ class ITSMFTDeadMapBuilder : public Task ======= std::string mStuckPixelFileName = ""; - - TTree* mErrorTree = nullptr; - Long64_t mErrOrbit = 0; - UShort_t mErrChipID = 0; - UShort_t mErrRow = 0; + + TTree* mErrorTree = nullptr; + Long64_t mErrOrbit = 0; + UShort_t mErrChipID = 0; + UShort_t mErrRow = 0; UShort_t mErrCol = 0; >>>>>>> 5df4d36ff6 (Add ITS stuck-pixel CCDB object output) }; 6 -// Create a processor spec -o2::framework::DataProcessorSpec getITSMFTDeadMapBuilderSpec(std::string datasource, bool doMFT); + // Create a processor spec + o2::framework::DataProcessorSpec + getITSMFTDeadMapBuilderSpec(std::string datasource, bool doMFT); } // namespace itsmft } // namespace o2 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."}}, }}; }