Skip to content

Trigger: fix b-jet preselection in data

Dan Guest requested to merge preselection-hackathon/athena:bjet-fix-data into master

Followup on !49668 (merged), with fixes to make the code run on data as well.

Currently blocked by !49183 (merged).

This should not change any existing outputs, and the changes do not touch any code that offline flavor tagging uses in production.

In the data case the beamspot uncertainty decorations we rely (stored in EventInfo) aren't present when this code runs, since presumably these correspond to the offline beamspot. To access the online beamspot parameters, I had to schedule these decorations on EventInfo under a different name (prefixed by online). I also had to add some flexibility so some classes could read decorations with the new names.

To Do:

Local testing with

  • test_trig_mc_v1Dev_slice_jet_build.py
  • test_trig_data_v1Dev_slice_jet_build.py
Edited by Dan Guest

Merge request reports