Simplify HLT1 configuration and fix transpose raw banks
-
TransposeRawBanks
was not properly taking MuonError and UTError banks into account. - Remove the need to deduce the subdetectors used in HLT1 from the configuration. All subdetectors can initialize with DD4hep, so that was no longer needed.
- Create a small python module to have a single source of truth for mapping between LHCb bank types and subdetectors for HLT1
- use
LHCb::RawBank::View
instead ofLHCb::RawEvent
- Properly split Rich banks between Rich1 and Rich2
The assumption is made that for the Calo and Rich banks, the 5 most significant bits of the source ID are set. This is always valid in run 3 data and also valid in recent simulations.
Test together with Moore!3385 (merged)
Edited by Roel Aaij