Skip to content

Commit c178903

Browse files
committed
move the energy deposition wrt. centre of response
1 parent 56bfdbe commit c178903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/Upgrades/ITS3/simulation/src/Digitizer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void Digitizer::init()
9090
} else {
9191
LOGP(fatal, "ResponseFunction '{}' not implemented!", func);
9292
}
93-
mSimRespIBShift = mSimRespIB->getDepthMax() - constants::silicon::thickness / 2.f;
93+
mSimRespIBShift = mSimRespIB->getDepthMax() - constants::silicon::thickness / 2.f - mSimRespIB -> getRespCentreDep();
9494
mSimRespOBShift = mSimRespOB->getDepthMax() - SegmentationOB::SensorLayerThickness / 2.f;
9595
}
9696

0 commit comments

Comments
 (0)