Closed cverstege closed 2 years ago
Very nice, thanks! I only left some minor inline comments.
Some changes were made. I reverted back to using optionalWeights, as this makes things easier when comapring Reco lovevl with efficiencies to Gen level. The main weight for gen level should not be changed by the efficiencies at reco level. Additionally I implemented "correct" uncertainty handling according to the MuonPOG: https://cms-talk.web.cern.ch/t/questions-on-the-combination-of-muon-tnp-uncertainties/5968 Please re-review @HerrHorizontal and @RHofsaess
I'll squash and merge once approved, so it's only one commit on the master branch in the end.
Refactoring of the LeptonSFProducers, condensing common code.