TRD: Fix errors in nr. of primary ionizations calculation
All threads resolved!
All threads resolved!
Compare changes
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).