From c56eee2fb35b11bd19c7cfebb639974ece3bf87f Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Thu, 22 Jan 2026 09:44:19 +0000 Subject: [PATCH] Please consider the following formatting changes --- Detectors/FIT/FDD/workflow/src/ReconstructorSpec.cxx | 3 +-- .../include/FT0Reconstruction/CollisionTimeRecoTask.h | 4 ++-- .../FIT/FT0/reconstruction/src/CollisionTimeRecoTask.cxx | 2 +- Detectors/FIT/FT0/workflow/src/ReconstructionSpec.cxx | 4 ++-- Detectors/FIT/FT0/workflow/src/ft0-reco-workflow.cxx | 3 +-- Detectors/FIT/FV0/workflow/src/ReconstructionSpec.cxx | 2 +- 6 files changed, 8 insertions(+), 10 deletions(-) diff --git a/Detectors/FIT/FDD/workflow/src/ReconstructorSpec.cxx b/Detectors/FIT/FDD/workflow/src/ReconstructorSpec.cxx index f827d91014435..1d5d599b5ee31 100644 --- a/Detectors/FIT/FDD/workflow/src/ReconstructorSpec.cxx +++ b/Detectors/FIT/FDD/workflow/src/ReconstructorSpec.cxx @@ -29,7 +29,6 @@ namespace fdd void FDDReconstructorDPL::init(InitContext& ic) { - } void FDDReconstructorDPL::run(ProcessingContext& pc) @@ -79,7 +78,7 @@ DataProcessorSpec getFDDReconstructorSpec(bool useMC, bool useDeadChannelMap) std::vector outputSpec; inputSpec.emplace_back("digitsBC", o2::header::gDataOriginFDD, "DIGITSBC", 0, Lifetime::Timeframe); inputSpec.emplace_back("digitsCh", o2::header::gDataOriginFDD, "DIGITSCH", 0, Lifetime::Timeframe); - + if (useMC) { LOG(info) << "Currently FDDReconstructor does not consume and provide MC truth"; // inputSpec.emplace_back("labels", o2::header::gDataOriginFDD, "DIGITSMCTR", 0, Lifetime::Timeframe); diff --git a/Detectors/FIT/FT0/reconstruction/include/FT0Reconstruction/CollisionTimeRecoTask.h b/Detectors/FIT/FT0/reconstruction/include/FT0Reconstruction/CollisionTimeRecoTask.h index 1e047d585560b..9f6cd500b9e74 100644 --- a/Detectors/FIT/FT0/reconstruction/include/FT0Reconstruction/CollisionTimeRecoTask.h +++ b/Detectors/FIT/FT0/reconstruction/include/FT0Reconstruction/CollisionTimeRecoTask.h @@ -58,10 +58,10 @@ class CollisionTimeRecoTask LOG(info) << "Init for slewing calib object"; mCalibSlew = calibSlew->makeSlewingPlots(); }; - void SetDeadChannelMap(const o2::fit::DeadChannelMap * deadChannelMap) + void SetDeadChannelMap(const o2::fit::DeadChannelMap* deadChannelMap) { LOG(info) << "Updated dead channel map for CollisionTimeRecoTask"; - mDeadChannelMap = deadChannelMap; + mDeadChannelMap = deadChannelMap; } float getTimeInPS(const o2::ft0::ChannelData& channelData); diff --git a/Detectors/FIT/FT0/reconstruction/src/CollisionTimeRecoTask.cxx b/Detectors/FIT/FT0/reconstruction/src/CollisionTimeRecoTask.cxx index 6abe66fa43053..3e3ffe52671e9 100644 --- a/Detectors/FIT/FT0/reconstruction/src/CollisionTimeRecoTask.cxx +++ b/Detectors/FIT/FT0/reconstruction/src/CollisionTimeRecoTask.cxx @@ -67,7 +67,7 @@ RP CollisionTimeRecoTask::processDigit(const o2::ft0::Digit& digit, // Reference channels shouldn't participate in reco at all! continue; } - if(mDeadChannelMap && !mDeadChannelMap->isChannelAlive(channelData.ChId)) { + if (mDeadChannelMap && !mDeadChannelMap->isChannelAlive(channelData.ChId)) { LOG(debug) << "Channel " << channelData.ChId << " is dead - discarding data"; continue; } diff --git a/Detectors/FIT/FT0/workflow/src/ReconstructionSpec.cxx b/Detectors/FIT/FT0/workflow/src/ReconstructionSpec.cxx index 45cb7bece851d..bc5217c8d7471 100644 --- a/Detectors/FIT/FT0/workflow/src/ReconstructionSpec.cxx +++ b/Detectors/FIT/FT0/workflow/src/ReconstructionSpec.cxx @@ -100,7 +100,7 @@ void ReconstructionDPL::finaliseCCDB(ConcreteDataMatcher& matcher, void* obj) } if (matcher == ConcreteDataMatcher("FT0", "DeadChannelMap", 0)) { LOG(debug) << "New DeadChannelMap is uploaded"; - mUpdateDeadChannelMap = false; + mUpdateDeadChannelMap = false; return; } } @@ -117,7 +117,7 @@ DataProcessorSpec getReconstructionSpec(bool useMC, const std::string ccdbpath, std::vector outputSpec; inputSpec.emplace_back("digits", o2::header::gDataOriginFT0, "DIGITSBC", 0, Lifetime::Timeframe); inputSpec.emplace_back("digch", o2::header::gDataOriginFT0, "DIGITSCH", 0, Lifetime::Timeframe); - + if (useMC) { LOG(info) << "Currently Reconstruction does not consume and provide MC truth"; inputSpec.emplace_back("labels", o2::header::gDataOriginFT0, "DIGITSMCTR", 0, Lifetime::Timeframe); diff --git a/Detectors/FIT/FT0/workflow/src/ft0-reco-workflow.cxx b/Detectors/FIT/FT0/workflow/src/ft0-reco-workflow.cxx index 98ef14cfc88d2..ab39068aedb38 100644 --- a/Detectors/FIT/FT0/workflow/src/ft0-reco-workflow.cxx +++ b/Detectors/FIT/FT0/workflow/src/ft0-reco-workflow.cxx @@ -42,8 +42,7 @@ void customize(std::vector& workflowOptions) {"disable-time-offset-calib", o2::framework::VariantType::Bool, false, {"disable timeoffset calibration"}}, {"disable-slewing-calib", o2::framework::VariantType::Bool, false, {"disable slewing calibration"}}, {"configKeyValues", VariantType::String, "", {"Semicolon separated key=value strings"}}, - {"disable-dead-channel-map", VariantType::Bool, false, {"disable dead channel map"}} - }; + {"disable-dead-channel-map", VariantType::Bool, false, {"disable dead channel map"}}}; o2::raw::HBFUtilsInitializer::addConfigOption(options); std::swap(workflowOptions, options); } diff --git a/Detectors/FIT/FV0/workflow/src/ReconstructionSpec.cxx b/Detectors/FIT/FV0/workflow/src/ReconstructionSpec.cxx index 468d4ffc11b96..b97186bbf81a8 100644 --- a/Detectors/FIT/FV0/workflow/src/ReconstructionSpec.cxx +++ b/Detectors/FIT/FV0/workflow/src/ReconstructionSpec.cxx @@ -103,7 +103,7 @@ DataProcessorSpec getReconstructionSpec(bool useMC, bool useDeadChannelMap, cons LOG(info) << "Currently Reconstruction does not consume and provide MC truth"; inputSpec.emplace_back("labels", o2::header::gDataOriginFV0, "DIGITSMCTR", 0, Lifetime::Timeframe); } - if(useDeadChannelMap) { + if (useDeadChannelMap) { LOG(info) << "Dead channel map will be applied during reconstruction"; inputSpec.emplace_back("deadChannelMap", o2::header::gDataOriginFV0, "DeadChannelMap", 0, Lifetime::Condition, ccdbParamSpec("FV0/Calib/DeadChannelMap")); }