This PR fixes a bug in the MP logic. When DoMultipleMatches is set to False, the MC section decides whether additional matches to the same projection are worth keeping. The logic for updating the best cut values came before this decision, so worse full matches could sometimes replace a cut value if that particular value was better.
PR validation:
This PR gives full agreement with HLS from L1PHIA to L6PHID (debugging the rest now)
PR description:
This PR fixes a bug in the MP logic. When
DoMultipleMatches
is set toFalse
, the MC section decides whether additional matches to the same projection are worth keeping. The logic for updating the best cut values came before this decision, so worse full matches could sometimes replace a cut value if that particular value was better.PR validation:
This PR gives full agreement with HLS from L1PHIA to L6PHID (debugging the rest now)