Skip to content

[TrigPartialEventBuilding] Protect configuration of RegionSelectorTools with detector flags

Rafal Bielski requested to merge rbielski/athena:peb-regsel-check-detflag into 22.0

Prevent adding tools and condition algs from the RegionSelector configuration fragments called in addRegSelDets() for detectors which are not present in the current geometry / job. This is done by checking the flags.Detector.EnableXYZ for the corresponding system.

This implies that configuration flags need to be passed to addRegSelDets() which is called in a rather deep call chain from TriggerMenuMT configuration. Hence, there are quite a few places in TriggerMenuMT where passing flags by argument is added.

Closes ATR-25561

Merge request reports