Skip to content

ensure unique weights in track versus MCParticle matching

Maarten Van Veghel requested to merge mveghel-truthmatchfix into 2024-patches

Makes sure that in case of equal matching fractions (enforced shared hits for matching in case of material interactions, decays in flight, ...) there is still a unique ordering that changes the weights negligibly, but ensures ordering based on 'seniority' (e.g. muon goes first, before delta ray electron, etc...). This way one is not dependent on correct insertion in the link table, etc.

closes Moore#736 (closed)

Merge request reports