Skip to content
Snippets Groups Projects

Speedup and cleanup of LArDigitalTriggMonAlg

Merged Walter Lampl requested to merge wlampl/athena:LArDigTriggMonCleanup1 into main

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 the LArOnline_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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Walter Lampl
  • Walter Lampl
  • assigned to @wlampl

  • Walter Lampl
  • Walter Lampl added 6 commits

    added 6 commits

    • 8b8da51b - fix flake8 warning
    • b1df1286 - merge (squash) commit from Ellis
    • 08b741dc - property-check, use boolean for ADC_BAS, re-arrange header-file for readability
    • 93a57606 - adjust job-config
    • 6b4512a7 - fix property check
    • b2d0d542 - remove unused variable and commented-out code-lines

    Compare with previous version

  • Walter Lampl resolved all threads

    resolved all threads

  • Walter Lampl added 1 commit

    added 1 commit

    • 773ae332 - improve handling of intermediate vectors

    Compare with previous version

  • Walter Lampl marked this merge request as ready

    marked this merge request as ready

  • Un-draft'ing as this is IMHO now good to go in.

  • Jenkins please retry a build

  • 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

  • Ellis Kay approved this merge request

    approved this merge request

  • :x: CI Result FAILURE (hash 773ae332)

    Athena
    externals :white_check_mark:
    cmake :white_check_mark:
    make :white_check_mark:
    tests :o:

    Full details available on this CI monitor view. Check the JIRA CI status board for known problems
    :white_check_mark: Athena: number of compilation errors 0, warnings 0
    :pencil: For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 884]

  • Walter Lampl added 1 commit

    added 1 commit

    Compare with previous version

  • 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

  • :white_check_mark: CI Result SUCCESS (hash 513f9e21)

    Athena
    externals :white_check_mark:
    cmake :white_check_mark:
    make :white_check_mark:
    tests :white_check_mark:

    Full details available on this CI monitor view. Check the JIRA CI status board for known problems
    :white_check_mark: Athena: number of compilation errors 0, warnings 0
    :pencil: For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 892]

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading