We found that MuGirl is producing many muons of bad quality that only have hist in the sTGC pad and/or wire layers of the NSW but no or a small number of strip layers (MMs or sTGC strips). Therefore this MR modifies the segment selection tool such that at least two strip hits are required otherwise the segment is discarded early on. Below you can find a plot showing the number of strips layers on a muon track reconstructed by MuGirl. The yellow bin indicates many muons without strip hits in the NSW. Those muons also do not have any hits in the other muon stations.
This fix will most likely also (significantly) reduce the CPU time spend reconstructing MuGirl segments. This is only a very coarse tuning of the segment selection cuts. Further updates will come after a more detailed study.
This will for sure be frozen-tier0-violating