ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger/TrigMonitoring/TrigMinBiasMonitoring/python/utils.py
Go to the documentation of this file.
1# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2"""
3@brief Utility functions used by the MinBias monitoring
4"""
5
6
7def getMinBiasChains(monAccess, wildcard=''):
8 """ Returns all MinBias chains passing wildcard as (chain name, monitoring level) tuple """
9
10 chains = []
11 chains.extend((x, 'Expert') for x in monAccess.monitoredChains(signatures='mbMon', monLevels='t0', wildcard=wildcard))
12 chains.extend((x, 'Shifter') for x in monAccess.monitoredChains(signatures='mbMon', monLevels='shifter', wildcard=wildcard))
13
14 return chains