diff --git a/Detectors/Upgrades/ALICE3/IOTOF/simulation/include/IOTOFSimulation/Digitizer.h b/Detectors/Upgrades/ALICE3/IOTOF/simulation/include/IOTOFSimulation/Digitizer.h index d52a89d397d9e..8964e33f8a1b6 100644 --- a/Detectors/Upgrades/ALICE3/IOTOF/simulation/include/IOTOFSimulation/Digitizer.h +++ b/Detectors/Upgrades/ALICE3/IOTOF/simulation/include/IOTOFSimulation/Digitizer.h @@ -101,10 +101,10 @@ class Digitizer bool mContinuous = true; ///< continuous readout mode // Digitization parameters - float mChargeThreshold = 100.f; ///< charge threshold for digit creation (electrons) - float mTimeResolution = 0.020f; ///< time resolution sigma in ns (20 ps default) - float mEfficiency = 0.98f; ///< detection efficiency - float mEnergyToCharge = 3.6e-9f; ///< energy loss to electrons conversion (3.6 eV per e-h pair in Si) + float mChargeThreshold = 100.f; ///< charge threshold for digit creation (electrons) + float mTimeResolution = 0.020f; ///< time resolution sigma in ns (20 ps default) + float mEfficiency = 0.98f; ///< detection efficiency + float mEnergyToCharge = 3.6e-9f; ///< energy loss to electrons conversion (3.6 eV per e-h pair in Si) }; } // namespace o2::iotof diff --git a/Detectors/Upgrades/ALICE3/IOTOF/simulation/src/Digitizer.cxx b/Detectors/Upgrades/ALICE3/IOTOF/simulation/src/Digitizer.cxx index 870cdc18b802d..b865d6958ecfd 100644 --- a/Detectors/Upgrades/ALICE3/IOTOF/simulation/src/Digitizer.cxx +++ b/Detectors/Upgrades/ALICE3/IOTOF/simulation/src/Digitizer.cxx @@ -94,16 +94,16 @@ void Digitizer::processHit(const o2::itsmft::Hit& hit, int evID, int srcID) // Get hit time and apply smearing // Hit time is in seconds, convert to ns and add event time - double hitTime = hit.GetTime() * sec2ns; // convert to ns - double eventTimeNS = mEventTime.getTimeNS(); // event time since orbit 0 - double absoluteTime = hitTime + eventTimeNS; // absolute time - double smearedTime = smearTime(absoluteTime); // apply detector resolution + double hitTime = hit.GetTime() * sec2ns; // convert to ns + double eventTimeNS = mEventTime.getTimeNS(); // event time since orbit 0 + double absoluteTime = hitTime + eventTimeNS; // absolute time + double smearedTime = smearTime(absoluteTime); // apply detector resolution // For now, use simple row/col mapping from detector ID // TODO: Implement proper segmentation when geometry is finalized uint16_t chipIndex = static_cast(detID); - uint16_t row = 0; // Will be determined from hit position - uint16_t col = 0; // Will be determined from hit position + uint16_t row = 0; // Will be determined from hit position + uint16_t col = 0; // Will be determined from hit position // Create the digit with time information int digID = mDigits->size();