Skip to content
Snippets Groups Projects

Changes to read trigger menu JSON from metadata

This MR contains quite scattered changes needed in order to read in the HLT(and L1 - but I have not tested this) menus directly from the in file metadata.

The HLT & L1 menu is in place. Prescales were not present in the file that I rested over (reprocessing file from about a month ago).

I have made necessary changes to the min bias monitoring to use this feature. Existing unit test (and I believe realistic worksflows) using older AODs that are meant for testing CA JOs fails. Missing JSON menu data. What should we do about those?

Related to: ATR-20884

Tagging @tamartin

Edited by Tomasz Bold

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
    • Resolved by Tomasz Bold

      using older AODs that are meant for testing CA JOs fails. Missing JSON menu data. What should we do about those?

      This is a good point, the ['TriggerMenu']['HLTChains'] method will also work for the Run 2 metadata payload.

      And we cannot entirely get rid of this in master due to the Run 2 MC :(

      Perhaps for the three Derivation use-cases we could try and use getHLTMenuAccess and fall-back on ['TriggerMenu']['HLTChains'] - but only as populated by this function https://acode-browser1.usatlas.bnl.gov/lxr/source/athena/Tools/PyUtils/python/MetaReader.py#0683, NOT populated from JSON.

      Then in the future we would be able to remove the fall-back once the R2 MC AOD->DAOD running is replaced by R3 MC AOD->DAOD running.

  • :negative_squared_cross_mark: CI Result FAILURE (hash 179c4a20)

    Athena AthSimulation AthGeneration AnalysisBase AthAnalysis DetCommon
    externals :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    cmake :white_check_mark: :white_check_mark: :cloud: :white_check_mark: :white_check_mark: :white_check_mark:
    make :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    required tests :o: :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    optional tests :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: :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
    :white_check_mark: AthSimulation: number of compilation errors 0, warnings 0
    :white_check_mark: AthGeneration: number of compilation errors 0, warnings 0
    :white_check_mark: AnalysisBase: number of compilation errors 0, warnings 0
    :white_check_mark: AthAnalysis: number of compilation errors 0, warnings 0
    :white_check_mark: DetCommon: number of compilation errors 0, warnings 0
    :pencil: For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 44094]

  • Marked as draft, CI errors and open threads. I will change the label

    Sergei L1

  • Tomasz Bold added 1 commit

    added 1 commit

    • 0d49dc03 - Add Prescales access, disable MB test for the moment

    Compare with previous version

  • Tim Martin
    • Author Developer
      Resolved by Frank Winklmeier

      An interesting issue ... in runHLT_standalone.py we do not set Input.Files. It flips on now: flags.Trigger.InputContainsConfigMetadata - I see two oprions, set it explicitely to False n runHLTStandalone, make the flag function check if the input is set. Tagging @tamartin @rbielski @fwinkl for opinions.

  • Tomasz Bold added 1 commit

    added 1 commit

    • 9b2ccb65 - Resolved issues in dependencies, addressed review comments

    Compare with previous version

  • Tomasz Bold marked this merge request as ready

    marked this merge request as ready

  • This merge request affects 6 packages:

    • Control/AthenaConfiguration
    • Tools/PyUtils
    • Trigger/TrigConfiguration/TrigConfIO
    • Trigger/TrigConfiguration/TrigConfigSvc
    • Trigger/TrigMonitoring/TrigMinBiasMonitoring
    • Trigger/TriggerCommon/TriggerJobOpts

    Affected files list will not be printed in this case

    Adding @paulama ,@asonay ,@orlando ,@ssnyder ,@cmorenom ,@mark as watchers

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