11 kwargs.setdefault(
"jets",
"AntiKt4EMPFlow")
13 if "muonInJetTool" not in kwargs:
14 kwargs.setdefault(
"muonInJetTool", CompFactory.MuonInJetCorrectionTool(
15 doLargeR =
"AntiKt10UFOCSSKSoftDropBeta100Zcut10Jets" in kwargs[
"jets"]
18 if "muonSelectionTool" not in kwargs:
20 from MuonSelectorTools.MuonSelectorToolsConfig
import MuonSelectionToolCfg
21 kwargs.setdefault(
"muonSelectionTool", cfg.popToolsAndMerge(
24 if doPtCorr
and "bJetTool" not in kwargs:
25 kwargs.setdefault(
"bJetTool", CompFactory.BJetCorrectionTool())
27 cfg.addEventAlgo(CompFactory.CP.BJetCalibrationAlg(name, **kwargs))