![]() |
ATLAS Offline Software
|
Public Member Functions | |
| defectToInt (cls, defect) | |
| defectListToInt (cls, defects) | |
| intToDefectList (cls, dint) | |
Static Public Attributes | |
| list | defectBitPos |
Class to enocode and decode IDBS defects. No instances fo this class can be instanciated and it bascially just acts as a poor man's namespace (should really be a module)
Definition at line 349 of file DQUtilities.py.
| python.DQUtilities.IDBSDefectEncoding.defectListToInt | ( | cls, | |
| defects ) |
Encode list of defects as an int. If no defect (empty list) returns 0 for bakcward compatibility
Definition at line 368 of file DQUtilities.py.
| python.DQUtilities.IDBSDefectEncoding.defectToInt | ( | cls, | |
| defect ) |
Encode defect as an int. If defect is unknown raise error
Definition at line 359 of file DQUtilities.py.
| python.DQUtilities.IDBSDefectEncoding.intToDefectList | ( | cls, | |
| dint ) |
Decode int as list of defects. Raise error if unkown defect encountered
Definition at line 373 of file DQUtilities.py.
|
static |
Definition at line 355 of file DQUtilities.py.