Speedup and cleanup of LArDigitalTriggMonAlg
As reported in ATLASRECTS-7798, the monitoring algorithm LArDigitalTriggMonAlg
is horribly slow. This MR brings the execution speed down to about 100ms/event, mostly because the call to fill
was pulled out of a tight loop over all supercells
On top of the speedup, the code was streamlined and lots of dead/unnecessary code was removed.
I expect the histogram output to change because the current version had at least two obvious bugs:
- The event-size counter started with -1 instead of 0
- The
LArOnlineID
helper class (for regular readout) was used instead of theLArOnline_SuperCellID
helper
There are a few more suspicous details we should address, therefore this MR remains a draft for now.
cc @ekay
Merge request reports
Activity
- Resolved by Walter Lampl
- Resolved by Walter Lampl
- Resolved by Walter Lampl
assigned to @wlampl
- Resolved by Walter Lampl
added 6 commits
Toggle commit listThis merge request affects 1 package:
- LArCalorimeter/LArMonitoring
This merge request affects 3 files:
- LArCalorimeter/LArMonitoring/python/LArDigitalTriggMonAlg.py
- LArCalorimeter/LArMonitoring/src/LArDigitalTriggMonAlg.cxx
- LArCalorimeter/LArMonitoring/src/LArDigitalTriggMonAlg.h
Adding @pavol as watcher
added DQ LAr Trigger main review-pending-level-1 labels
CI Result FAILURE (hash 773ae332)Athena externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 884]This merge request affects 1 package:
- LArCalorimeter/LArMonitoring
This merge request affects 3 files:
- LArCalorimeter/LArMonitoring/python/LArDigitalTriggMonAlg.py
- LArCalorimeter/LArMonitoring/src/LArDigitalTriggMonAlg.cxx
- LArCalorimeter/LArMonitoring/src/LArDigitalTriggMonAlg.h
Adding @pavol as watcher
CI Result SUCCESS (hash 513f9e21)Athena externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 892]removed review-pending-level-1 label
added review-approved label