Skip to content

Simplify MET analysis algorithm config for muon-jet treatment

This adds an optional argument to makeMetAnalysisSequence(...) (the standard function for constructing MET analysis algorithms) allowing the user to set the "muonJetEMScale" option for handling muons in jets for MET. Previously, users have had to manually extract the tool from the right algorithm within the sequence to set this option, which can be error-prone.

This is particularly useful for analyses which don't reconstruct muons at all - if this option isn't disabled, MET building can throw an error downstream if no muons are provided.

All behavior should remain unchanged unless a user manually passes in this new argument.

Merge request reports