Skip to content

Fix l1topo items crash

Nicola Orlando requested to merge (removed):l1topo_sim_fix_mixed_EM_items_2 into 21.3

This MR address a common crash happening for L1Topo based items using combined objects with different conventions for the phi angle definition (EM/mu, jets/mu, ..). The fix is a simple phi shift on the cases where the phi is defined between [0,2pi] which moved the range to [-pi,pi]. This fix activates only for cases with delta-phi > 64, thus should not affect pre-existing items with unmixed types of input collections.

Addressing several crashes in the menu as reported for example here:

Merge request reports