MuonAnalysisAlgorithms: add LRT Muons merging to MuonAnalysisConfig
This MR adds an MuonLRTMergedConfig to the MuonAnalysisConfig.py to interface the merging of Muons and MuonsLRT with analysis frameworks that uses CP algorithms.
The following changes are made:
- A
MuonLRTMergedConfigclass is added to theMuonAnalysisConfig.py, which creates theCP::MuonLRTMergingAlg. Prompt and LRT Muons collections are used as inputs, and the LRT Merged Muons is the output. - The
MuonLRTMergedConfigis added to the ConfigFactory. - In order to interface with MET calculation, changes are made to
MuonLRTMergingAlg.cxxandMetAnalysisConfig.pysuch that theisLRTdecoration is explicated added to the output collection from LRT merging, auseLRToption is added toMetAnalysisConfig, andOriginalObjectLinkis properly set.
This MR is ready. Tagging @tstreble for interfacing with easyjet.