Skip to content

Abort fitting a track if any state has unphysical momentum

Andre Gunther requested to merge gunther-max-momentum into master

This MR introduces a check for unphysically large momentum when creating the states on a fitted track. If the momentum is larger than 7 TeV, the fit fails and counts it as failure to add states.

To avoid problems in case of MagOff data, a new flag is introduced which sets the tracks' tranverse momenta to the same value as for Velo tracks.

The FunctionalParticleMaker now throws instead of dereferencing a nullptr if it encounters an unexpected charge

Resolves #516 (closed)

Goes with LHCb!4354 (merged)

Edited by Andre Gunther

Merge request reports