Skip to content

Extend HLTMonitoring access

Aleksandra Poreba requested to merge aporeba/athena:update-moni-access into master
  • add wildcard filter option
  • rename monitoredSignatures to monitoringDict - return the whole HLTMonitoring dictionary from the file/db
  • instead of monitoredT0Chains add function monitoredChains to return chains for chosen signature (or signatures if one pass the list) on a given monitoring level (or levels: t0, shifter or val) and filtered by wildcard

Usage examples with current tree: https://atlas-art-data.web.cern.ch/atlas-art-data/local-output/master/Athena/x86_64-centos7-gcc8-opt/2021-07-20T2101/TriggerTest/test_trig_data_v1Dev_build/HLTMonitoring_LS2_v1_TriggerValidation_prescale_22.0.40.json

All test: monitoredChains()
      ['HLT_mu6_msonly_L1MU6', 'HLT_mu26_ivarmedium_L1MU20']
Signature test: monitoredChains(signatures="idMon")
      ['HLT_mu6_msonly_L1MU6', 'HLT_mu26_ivarmedium_L1MU20']
Group test: monitoredChains(monLevels=["shifter", "val"])
      ['HLT_mu6_msonly_L1MU6', 'HLT_mu26_ivarmedium_L1MU20']
Signature and group test: monitoredChains(signatures="muonMon", monLevels="val")
      ['HLT_mu6_msonly_L1MU6']
Wildcard test: monitoredChains(signatures=["idMon", "muonMon"], wildcard="HLT_mu6.+only") 
      ['HLT_mu6_msonly_L1MU6']
Wildcard test: monitoredChains(signatures="idMon", wildcard="ivarmedium") 
      ['HLT_mu26_ivarmedium_L1MU20']

Related to ATR-23719

Tagging @mark @ebergeas @tamartin

Edited by Aleksandra Poreba

Merge request reports