3 from TrigHLTJetHypo.RepeatedConditionParams
import RepeatedConditionParams
5 from TrigHLTJetHypo.make_repeatedCondConfigurer
import (
6 make_repeatedCondCfgFromParams,
9 from TrigHLTJetHypo.FastReductionAlgToolFactory
import toolfactory
11 from AthenaCommon.Logging
import logging
13 from TriggerMenuMT.HLT.Jet.JetRecoCommon
import getPrefilterCleaningString
15 logger = logging.getLogger( __name__)
16 logger.setLevel(DEBUG)
19 """calculate the parameters needed to generate a ConditonFilter config
20 AlgTool starting from the prefilter substring if it appears in the
23 assert pf_string.startswith(
'CLEAN'),\
24 'routing error, module %s: bad prefilter %s' % (__name__, pf_string)
28 repcondarg = RepeatedConditionParams(tree_id=0,
37 toolclass, name =
toolfactory(
'ConditionFilterConfigTool')
38 vals = {
'name' : name,
39 'conditionMakers': [repConditionMaker]}
41 return toolclass(**vals)