ATLAS Offline Software
Loading...
Searching...
No Matches
CheckMonGroups Namespace Reference

Functions

 checkMonGroups (chainDicts)

Variables

str __doc__ = "Validation of monGroups"
 log = logging.getLogger(__name__)

Detailed Description

Validation of Monitoring groups
- Check thatall chains streamed in express have a signature or detector monGroup

Author: John Patrick Mc Gowan 

Function Documentation

◆ checkMonGroups()

CheckMonGroups.checkMonGroups ( chainDicts)

Definition at line 15 of file CheckMonGroups.py.

15def checkMonGroups(chainDicts):
16
17
18 MON_OK = True
19 for hlt in chainDicts:
20 if 'express' in hlt['stream']:
21 if 'monGroups' not in hlt or len(hlt['monGroups']) < 1:
22 log.error("Chain %s is streamed to express but does not have a signature or detector monGroup assigned", hlt['chainName'])
23 MON_OK = False
24
25 if not MON_OK:
26 raise Exception("Express chains found without monGroups")

Variable Documentation

◆ __doc__

str CheckMonGroups.__doc__ = "Validation of monGroups"
private

Definition at line 10 of file CheckMonGroups.py.

◆ log

CheckMonGroups.log = logging.getLogger(__name__)

Definition at line 13 of file CheckMonGroups.py.