3from AthenaCommon.Logging
import logging
5logging.getLogger().info(
"Importing %s", __name__)
6log = logging.getLogger(__name__)
8from ..Config.ChainConfigurationBase
import ChainConfigurationBase
9from .ConfigHelpers
import recoKeys, AlgConfig
10from ..Menu.SignatureDicts
import METChainParts_Default
14 """ Extract the keys relevant to reconstruction from a provided dictionary
16 If fillDefaults is True then any missing keys will be taken from the
17 METChainParts_Default dictionary.
20 return {k: chainDict.get(k, METChainParts_Default[k])
for k
in recoKeys}
22 return {k: chainDict[k]
for k
in recoKeys
if k
in chainDict}
30 ChainConfigurationBase.__init__(self, chainDict)
40 log.debug(
"Assembling chain for %s", self.
chainName)
41 conf = AlgConfig.fromRecoDict(**self.
recoDict)
42 steps = conf.make_accumulator_steps(flags, self.dict)
44 return self.buildChain(steps)
assembleChainImpl(self, flags)
__init__(self, chainDict)
extractMETRecoDict(chainDict, fillDefaults=True)