Skip to content

[WIP] LHCBPS-1620: Faster CaloDigitFilterTool map handling

Proposed update to CaloDAQ to rework the way CaloDigitFilterTool handles updates in getOffsetMap, which is currently called multiple times each event in the HLT, and is very heavy as it involves completely clearing and then refilling several maps. Currently on its own getOffsetMap contributes a noticable % to the HLT2 timing.

This update speeds this up by

  1. Using pointers to the current active maps, which are then just reset when required, instead of completely remaking the maps.
  2. Using the update manager service to refill the maps based on conditions when really required, instead of just doing it every event (In the HLT conditions never change...).

I believe the patch is working OK, but it should be carefully reviewed by a CALO expert to make sure I have not missed anything.

Merge request reports