3 from collections
import OrderedDict
as odict
4 from functools
import total_ordering
6 from AthenaCommon.Logging
import logging
7 log = logging.getLogger(__name__)
25 confObj[key] = odict()
27 confObj[key][c.name] = c.json()
34 def __init__(self, threshold, multiplicity, montype):
35 self.
name =
"%i%s" % (multiplicity, threshold)
47 return self.
name == o.name
58 These monitor the CTP Item counts
61 super(CtpinCounter, self).
__init__(threshold, multiplicity,
'ctpin')
65 These monitor the CTPInput signal counts
68 super(CtpmonCounter, self).
__init__(threshold, multiplicity,
'ctpmon')