3 from TriggerMenuMT.HLT.Config.Utility.ChainDictTools
import splitChainDict
4 from TriggerMenuMT.HLT.Config.Utility.ChainMerging
import mergeChainDefs
5 from ..Photon.PhotonChainConfiguration
import PhotonChainConfiguration
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 += [Photon]
29 if len(listOfChainDefs)>1:
30 theChainDef, perSig_lengthOfChainConfigs =
mergeChainDefs(listOfChainDefs, chainDict, perSig_lengthOfChainConfigs)
32 theChainDef = listOfChainDefs[0]
34 return theChainDef, perSig_lengthOfChainConfigs