Skip to content

MuonAnalysisAlgorithms: add LRT Muons merging to MuonAnalysisConfig

Kehang Bai requested to merge kbai/athena:muonAnalysisAlg_addLRTmerging into main

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 MuonLRTMergedConfig class is added to the MuonAnalysisConfig.py, which creates the CP::MuonLRTMergingAlg. Prompt and LRT Muons collections are used as inputs, and the LRT Merged Muons is the output.
  • The MuonLRTMergedConfig is added to the ConfigFactory.
  • In order to interface with MET calculation, changes are made to MuonLRTMergingAlg.cxx and MetAnalysisConfig.py such that the isLRT decoration is explicated added to the output collection from LRT merging, a useLRT option is added to MetAnalysisConfig, and OriginalObjectLink is properly set.

This MR is ready. Tagging @tstreble for interfacing with easyjet.

Merge request reports

Loading