Skip to content

Limiting number of warnings from MuonEfficiencyCorrections when dRJet decoration is missing

Stefano Zambito requested to merge szambito/athena:MEC_ReduceWarnings into 21.2

In the latest MCP prescriptions, muon isolation scale factors are provided as a function of pT and dRJet = #Delta R(#mu,jet). Muons need to be decorated with the dRJet variable, before being fed to the MuonEfficiencyCorrections tool. See https://twiki.cern.ch/twiki/bin/view/AtlasProtected/MCPAnalysisGuidelinesMC16#Muon_isolation_efficiency_scale

Muons will be decorated centrally with dRJet in future derivations. Users can however also decorate muons themselves at analysis level. If they forget to do so, or if TopoEM jets are missing from their derivations, the tool currently returns a set of warnings, and falls back to 1D scale factors vs pT. This MR request reduces the number of warnings thrown to something more manageable, as one set of warnings per muon is probably too much.

Tagging @gartoni, @jojungge, @yoyamagu, @dzanzi, @maklein

Merge request reports