We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56bfdbe commit f790fd5Copy full SHA for f790fd5
Detectors/Upgrades/ITS3/simulation/src/Digitizer.cxx
@@ -90,7 +90,8 @@ void Digitizer::init()
90
} else {
91
LOGP(fatal, "ResponseFunction '{}' not implemented!", func);
92
}
93
- mSimRespIBShift = mSimRespIB->getDepthMax() - constants::silicon::thickness / 2.f;
+ mSimRespIB->computeCentreFromData();
94
+ mSimRespIBShift = mSimRespIB->getDepthMax() - constants::silicon::thickness / 2.f - mSimRespIB->getRespCentreDep();
95
mSimRespOBShift = mSimRespOB->getDepthMax() - SegmentationOB::SensorLayerThickness / 2.f;
96
97
0 commit comments