3 from functools
import total_ordering
5 from AthenaCommon.Logging
import logging
6 log = logging.getLogger(__name__)
23 confObj = { key: {c.name: c.json()
for c
in clist}
for key,clist
in self.
counters.
items() }
30 def __init__(self, threshold, multiplicity, montype):
31 self.
name =
"%i%s" % (multiplicity, threshold)
43 return self.
name == o.name
55 These monitor the CTP Item counts
58 super(CtpinCounter, self).
__init__(threshold, multiplicity,
'ctpin')
62 These monitor the CTPInput signal counts
65 super(CtpmonCounter, self).
__init__(threshold, multiplicity,
'ctpmon')