Extract the keys relevant to reconstruction from a provided dictionary
If fillDefaults is True then any missing keys will be taken from the
METChainParts_Default dictionary.
Definition at line 13 of file METChainConfiguration.py.
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}