We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9624556 commit 602593eCopy full SHA for 602593e
1 file changed
Detectors/TRD/simulation/src/TrapSimulator.cxx
@@ -1759,6 +1759,7 @@ void TrapSimulator::fitTracklet()
1759
temp = q2; // temporarily move to 64bit variable
1760
temp *= mScaleQ;
1761
q2 = temp >> 32;
1762
+ q2 >>= 1; // q2 needs additional shift, since we want the same range as q0 and q1 and q2 is only 6 bit wide
1763
1764
// clip the charges
1765
if (q0 > mMaskQ0Q1) {
0 commit comments