Skip to content

TrkParametersBase: Fix ParametersT ctor for neutrals.

The fifth track parameter is q/p, but for neutrals, it is 1/p. However, the ParametersT constructor from position/momentum was always using q/p, which means that for neutrals it was always being set to 0. Change to use 1/p if the charge is 0.

Merge request reports