3 from AthenaCommon.Logging
import logging
4 log = logging.getLogger(__name__)
6 from .Logic
import Logic, LogicType
9 def __init__(self, threshold, multiplicity=1):
10 super(ThrCondition, self).
__init__( logicType = LogicType.THRESHOLD,
11 content = {
"threshold" : threshold,
12 "multiplicity" : multiplicity } )
14 def x(self, multiplicity):
21 return self.
content[
"threshold"]
24 return self.
content[
"multiplicity"]
35 super(InternalTrigger, self).
__init__( logicType = LogicType.INTERNAL, content = name )
45 return [ self.
name() ]