Skip to content

WIP : Speed up CaloDigitFilterTool

Christopher Rob Jones requested to merge CaloSpeedupHLT into master

Proposed update to CaloDAQ to rework the way CaloDigitFilterTool handles updates in getOffsetMap, which is currently called multiple times each event in the HLT, as is very heavy as it involves completely clearing and then refilling several maps.

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.

Profiling is running, I will post results when done, but I expect this to save O(%) on the total HLT2 processing time.

Merge request reports