Cleanup of the MuonMatching code
Note: the current plan for the trigger does not run the MuonMatching algo, but I wanted to clean it up and fix it
This MR includes:
-
clean up and restructuring of the code to make it more readable
-
fixing of inconsistencies and mistakes
-
addition of a ntuple algo for studies related to the MuonMatching (plus Moore script to run the algo)
-
Master: signal efficiency = 61%; purity = 9.3% (as tested on Ks2mumu upgrade MC)
-
This MR: signal efficiency = 69%; purity = 5% (as tested on Ks2mumu upgrade MC) (more tuning is possible and recommended if MuonMatching is used in trigger)
The following tests in Moore will need reference updates:
- RecoConf.hlt1_reco_muonmatching
- RecoConf.hlt1_reco_muonmatching_with_mcchecking
Goes together with Brunel!1077 (merged) and Moore!625 (merged)
Can be merged together with Alignment!143 (merged)
Edited by Andre Gunther