Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • athena athena
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Jira
    • Jira
  • Merge requests 131
    • Merge requests 131
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • atlasatlas
  • athenaathena
  • Merge requests
  • !49903

Add a test that dumps trigger menu

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Dan Guest requested to merge dguest/athena:logger-dumper into master Jan 24, 2022
  • Overview 13
  • Commits 2
  • Pipelines 2
  • Changes 2

It would be useful to be able to print the trigger menu and pipe it through grep etc, especially if the operation didn't take several minutes.

This adds a script (test_menu_dump.py) that does that in a second or so (the -n option). In the meantime @cpollard said having this script would be useful, so I might as well check it in.

At @khoo's suggestion I also added an option (-p) to run the chain parsing and get a the chain dictionary. This seems to work in all but a few chains in the physics menu. The exceptions are:

HLT_e5_lhvloose_bBeeM6000_L1BKeePrimaryn
HLT_2e5_lhvloose_bBeeM6000_L1BKeePrimary
HLT_e5_lhvloose_bBeeM6000_L1BKeePrescaled
HLT_2e5_lhvloose_bBeeM6000_L1BKeePrescaled

which seem to need access to the input file to parse properly.

I also added a unit test that runs with the -p option. I'm going to propose leaving it at this for now, since having a quick way to run the chain parsing is something a few people thought sounded useful.

Edited Jan 31, 2022 by Dan Guest
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: logger-dumper