Skip to content

TRD: Fix errors in nr. of primary ionizations calculation

Lena Rossel requested to merge trd/cbmsoft/cbmroot:fix/eloss-calc into master

Fixed error in calculation of gamma, because momentum and mass are in GeV, so for c=3e8 every gamma would be 1 no matter what particle/momentum. Fixed error in determination of primary ionizations, break statement missing. Without break every Bethe-Bloch value would be the one corresponding to the highest gamma (for gamma<1.5).

Merge request reports