From 89e7b6ba0811809d7f95421a22a74d5627d83d07 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Fri, 11 Sep 2026 08:24:17 +0000 Subject: [PATCH] Please consider the following formatting changes --- .../simulation/include/IOTOFSimulation/DPLDigitizerParam.h | 2 +- .../IOTOF/simulation/include/IOTOFSimulation/Digitizer.h | 2 +- .../Upgrades/ALICE3/IOTOF/simulation/src/Digitizer.cxx | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Detectors/Upgrades/ALICE3/IOTOF/simulation/include/IOTOFSimulation/DPLDigitizerParam.h b/Detectors/Upgrades/ALICE3/IOTOF/simulation/include/IOTOFSimulation/DPLDigitizerParam.h index 8f7a27ce3fa11..2f9b0c3c2e090 100644 --- a/Detectors/Upgrades/ALICE3/IOTOF/simulation/include/IOTOFSimulation/DPLDigitizerParam.h +++ b/Detectors/Upgrades/ALICE3/IOTOF/simulation/include/IOTOFSimulation/DPLDigitizerParam.h @@ -30,7 +30,7 @@ struct DPLDigitizerParam : public o2::conf::ConfigurableParamHelper mChips; //! Chips in the detector, indexed by chip ID std::deque>> mExtraLabelBuffer; //! buffer for multiple mc labels to the same pixel diff --git a/Detectors/Upgrades/ALICE3/IOTOF/simulation/src/Digitizer.cxx b/Detectors/Upgrades/ALICE3/IOTOF/simulation/src/Digitizer.cxx index 60bc28da450b0..67f651af919c6 100644 --- a/Detectors/Upgrades/ALICE3/IOTOF/simulation/src/Digitizer.cxx +++ b/Detectors/Upgrades/ALICE3/IOTOF/simulation/src/Digitizer.cxx @@ -101,7 +101,7 @@ void Digitizer::process(const std::vector* hits, int evID, int void Digitizer::processHit(const o2::itsmft::Hit& hit, int evID, int srcID) { // Process a single hit and create a digit if it passes all cuts - + // Get detector element ID const int chipID = hit.GetDetectorID(); auto& chip = mChips[chipID]; @@ -109,7 +109,7 @@ void Digitizer::processHit(const o2::itsmft::Hit& hit, int evID, int srcID) LOG(debug) << "Hit rejected because chip " << chipID << " is disabled"; return; } - + // middle position of the hit in the sensor frame const auto& matrix = mGeometry->getMatrixL2G(chipID); auto xyzPositionStart = matrix ^ hit.GetPosStart(); @@ -331,7 +331,7 @@ bool Digitizer::isEfficient(const float x, const float z) const // Apply efficiency cut using random number const auto& digitizerParams = o2::iotof::DPLDigitizerParam::Instance(); if (mEfficiencyMap) { - //int bin = mEfficiencyMap->FindBin(x * o2::iotof::Digitizer::cm2um, z * o2::iotof::Digitizer::cm2um); + // int bin = mEfficiencyMap->FindBin(x * o2::iotof::Digitizer::cm2um, z * o2::iotof::Digitizer::cm2um); int bin = mEfficiencyMap->FindBin(x * o2::iotof::Digitizer::cm2um, z * o2::iotof::Digitizer::cm2um); float efficiency = mEfficiencyMap->GetBinContent(bin); LOG(debug) << "Efficiency map check: x=" << x * o2::iotof::Digitizer::cm2um << ", z=" << z * o2::iotof::Digitizer::cm2um << ", bin=" << bin << ", efficiency=" << efficiency;