From c178903122f2641796dfb13d01d0b9e5170db0c1 Mon Sep 17 00:00:00 2001 From: ChunzhengLab Date: Tue, 17 Jun 2025 17:34:15 +0200 Subject: [PATCH 1/2] move the energy deposition wrt. centre of response --- Detectors/Upgrades/ITS3/simulation/src/Digitizer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Detectors/Upgrades/ITS3/simulation/src/Digitizer.cxx b/Detectors/Upgrades/ITS3/simulation/src/Digitizer.cxx index b91e17890a6d8..e4ac4b08d722d 100644 --- a/Detectors/Upgrades/ITS3/simulation/src/Digitizer.cxx +++ b/Detectors/Upgrades/ITS3/simulation/src/Digitizer.cxx @@ -90,7 +90,7 @@ void Digitizer::init() } else { LOGP(fatal, "ResponseFunction '{}' not implemented!", func); } - mSimRespIBShift = mSimRespIB->getDepthMax() - constants::silicon::thickness / 2.f; + mSimRespIBShift = mSimRespIB->getDepthMax() - constants::silicon::thickness / 2.f - mSimRespIB -> getRespCentreDep(); mSimRespOBShift = mSimRespOB->getDepthMax() - SegmentationOB::SensorLayerThickness / 2.f; } From 47f6211af727a886ed4e45781f355a38ea9041bb Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Tue, 17 Jun 2025 15:41:44 +0000 Subject: [PATCH 2/2] Please consider the following formatting changes --- Detectors/Upgrades/ITS3/simulation/src/Digitizer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Detectors/Upgrades/ITS3/simulation/src/Digitizer.cxx b/Detectors/Upgrades/ITS3/simulation/src/Digitizer.cxx index e4ac4b08d722d..9c4b6b1f828cf 100644 --- a/Detectors/Upgrades/ITS3/simulation/src/Digitizer.cxx +++ b/Detectors/Upgrades/ITS3/simulation/src/Digitizer.cxx @@ -90,7 +90,7 @@ void Digitizer::init() } else { LOGP(fatal, "ResponseFunction '{}' not implemented!", func); } - mSimRespIBShift = mSimRespIB->getDepthMax() - constants::silicon::thickness / 2.f - mSimRespIB -> getRespCentreDep(); + mSimRespIBShift = mSimRespIB->getDepthMax() - constants::silicon::thickness / 2.f - mSimRespIB->getRespCentreDep(); mSimRespOBShift = mSimRespOB->getDepthMax() - SegmentationOB::SensorLayerThickness / 2.f; }