diff --git a/L1Trigger/L1TMuon/src/MicroGMTCancelOutUnit.cc b/L1Trigger/L1TMuon/src/MicroGMTCancelOutUnit.cc index 6f7fe9c42bea2..191d79454eb75 100644 --- a/L1Trigger/L1TMuon/src/MicroGMTCancelOutUnit.cc +++ b/L1Trigger/L1TMuon/src/MicroGMTCancelOutUnit.cc @@ -57,7 +57,7 @@ MicroGMTCancelOutUnit::setCancelOutBits(GMTInternalWedges& wedges, tftype trackF coll2.push_back(mu); } if (mode == cancelmode::coordinate) { - getCoordinateCancelBits(coll1, coll2); + getCoordinateCancelBits(coll2, coll1); // in case of a tie coll1 muon wins } else { getTrackAddrCancelBits(coll1, coll2); } @@ -255,7 +255,7 @@ MicroGMTCancelOutUnit::getTrackAddrCancelBits(std::vector 0) { - if ((*mu_w1)->origin().hwQual() > (*mu_w2)->origin().hwQual()) { + if ((*mu_w1)->origin().hwQual() >= (*mu_w2)->origin().hwQual()) { (*mu_w2)->setHwCancelBit(1); } else { (*mu_w1)->setHwCancelBit(1);