Skip to content

Fix the handing down of the particle mass through the interfaces in TrackExtrapolators introduced in !581

Christoph Hasse requested to merge FixPmassInterfacePassing into future

In !581 (merged) there were changes made to the ITrackFitter and everything connected to pass a default particle mass according to the passed default pid.
This had some uncaught effect on these TrackExtrapolator classes.
In general, these cases are extremely hard to spot because there is no compilation or runtime error.

This MR fixes the classes connected to ITrackExtrapolator.h and hopefully makes some tests green ;)

I suggest next to this MR we should go back to the ITrackFitter and switch the position of the pid and pmass variable.
This will normally lead to a compilation error in the cases where we specify the pid, and we can therefore easily spot these cases and add a pmass accordingly.

For an example of such remaining errors connected to the ITrackFitter see here

Edited by Christoph Hasse

Merge request reports