3 from TriggerMenuMT.HLT.Config.Utility.ChainDictTools
import splitChainDict
4 from ..Electron.ElectronChainConfiguration
import ElectronChainConfiguration
5 from TriggerMenuMT.HLT.Config.Utility.ChainMerging
import mergeChainDefs
8 from AthenaCommon.Logging
import logging
9 log = logging.getLogger(__name__)
10 log.debug(
"Importing %s",__name__)
16 if log.isEnabledFor(logging.DEBUG):
17 log.debug(
'dictionary is: %s\n', pprint.pformat(chainDict))
22 for subChainDict
in listOfChainDicts:
23 log.debug(
'Assembling subChainsDict %s for chain %s', len(listOfChainDefs), subChainDict[
'chainName'] )
26 listOfChainDefs += [Electron]
29 if len(listOfChainDefs)>1:
30 theChainDef, perSig_lengthOfChainConfigs =
mergeChainDefs(listOfChainDefs, chainDict, perSig_lengthOfChainConfigs)
32 theChainDef = listOfChainDefs[0]
35 return theChainDef, perSig_lengthOfChainConfigs