7 from AthenaCommon.Logging
import logging
8 log = logging.getLogger(__name__)
9 logging.getLogger().
info(
"Importing %s",__name__)
10 from TriggerMenuMT.HLT.Config.Utility.ChainDictTools
import splitChainDict
11 from TriggerMenuMT.HLT.Config.Utility.ChainMerging
import mergeChainDefs
12 from .MuonChainConfiguration
import MuonChainConfiguration
20 for subChainDict
in listOfChainDicts:
21 log.debug(
'Assembling subChainsDict %s for chain %s', len(listOfChainDefs), subChainDict[
'chainName'] )
24 listOfChainDefs += [Muon]
27 if len(listOfChainDefs)>1:
28 theChainDef, perSig_lengthOfChainConfigs =
mergeChainDefs(listOfChainDefs, chainDict, perSig_lengthOfChainConfigs)
30 theChainDef = listOfChainDefs[0]
32 return theChainDef, perSig_lengthOfChainConfigs