code to study performance of gen level matched muons