3 from AthenaCommon.Logging
import logging
4 log = logging.getLogger( __name__ )
6 from AthenaConfiguration.ComponentFactory
import CompFactory
7 RoRSeqFilter = CompFactory.RoRSeqFilter
8 PassFilter = CompFactory.PassFilter
12 """Exception thrown by HypoTool generators if no HypoTool is needed"""
16 """ Set given color to Alg type"""
32 if 'HypoInputDecisions' in alg.__class__.__dict__:
34 prop = alg.__class__.__dict__.get(
'_properties')
35 if type(prop)
is dict:
36 return (
'HypoInputDecisions' in prop)
41 return (
'InputMakerInputDecisions' in alg.__class__.__dict__)
44 return isinstance(alg, RoRSeqFilter)
47 return isinstance(alg, PassFilter)
50 return (
'MultiplicitiesMap' in alg.__class__.__dict__)