3 from TriggerMenuMT.HLT.Config.Utility.ChainDictTools 
import splitChainDict
 
    4 from .BjetChainConfiguration 
import BjetChainConfiguration
 
    5 from ..Jet.JetChainConfiguration 
import JetChainConfiguration
 
    6 from TriggerMenuMT.HLT.Config.Utility.ChainMerging 
import mergeChainDefs
 
    9 from AthenaCommon.Logging 
import logging
 
   10 log = logging.getLogger(__name__)
 
   11 log.debug(
"Importing %s",__name__)
 
   15     if log.isEnabledFor(logging.DEBUG):  
 
   16         log.debug(
'bjet full dictionary is: %s\n', pprint.pformat(chainDict))
 
   21     for subChainDict 
in listOfChainDicts:
 
   24         jet_cfg.prepareDataDependencies(flags)
 
   25         jet = jet_cfg.assembleChain(flags)
 
   26         jet_name = jet_cfg.jetName
 
   30         if subChainDict[
'chainParts'][0][
'signature'] != 
'Bjet':
 
   31             listOfChainDefs += [jet]
 
   33             log.debug(
'input jet collection name is: %s\n', jet_name)
 
   35             jet.append_bjet_steps(Bjet.steps)
 
   36             listOfChainDefs += [ jet ] 
 
   38     if len(listOfChainDefs)>1:
 
   41         theBjetChainDef = listOfChainDefs[0]
 
   43     return theBjetChainDef