Skip to content

Draft: Fix truth matching bug for long tracks

Izaac Sanderswood requested to merge isanders-truth-matching-fix into 2024-patches

Fixes Moore#736

Fixes an issue where MC material interaction tracks have identical weight as their mother tracks to a given long reco track

For now I have just commented out, I don't understand the why the mother and daughter contributions are merged such that the mother and daughter have equal weights to the reco'd track, but if it is needed then it can be put back.

Alternative fixes could be: just merge the daughter hits to the mother only, or add some checks on the mother/daughter status in the DaVinci algorithms if there are equal weights.

Keeping it as draft until the best way forward is decided

Edited by Izaac Sanderswood

Merge request reports