14 """Main method configuring common muon augmentations"""
16 Container =
"Muons"+suff
23 from DerivationFrameworkTools.DerivationFrameworkToolsConfig
import AsgSelectionToolWrapperCfg
24 DFCommonMuonToolWrapperTools = []
28 from MuonSelectorTools.MuonSelectorToolsConfig
import MuonSelectionToolCfg
31 name =
"DFCommonMuonsSelector",
34 TurnOffMomCorr =
True))
35 acc.addPublicTool(DFCommonMuonsSelector)
38 name =
"DFCommonMuonToolWrapperIDCuts"+suff,
39 AsgSelectionTool = DFCommonMuonsSelector,
41 StoreGateEntryName =
"DFCommonMuonPassIDCuts",
42 ContainerName = Container))
43 DFCommonMuonToolWrapperTools.append(DFCommonMuonToolWrapperIDCuts)
47 name =
"DFCommonMuonToolWrapperPreselection"+suff,
48 AsgSelectionTool = DFCommonMuonsSelector,
49 CutType =
"Preselection",
50 StoreGateEntryName =
"DFCommonMuonPassPreselection",
51 ContainerName = Container))
52 DFCommonMuonToolWrapperTools.append(DFCommonMuonToolWrapperPreselection)
57 CommonAugmentation = CompFactory.DerivationFramework.CommonAugmentation
58 acc.addEventAlgo(CommonAugmentation(
"DFCommonMuonsKernel"+suff,
59 AugmentationTools = DFCommonMuonToolWrapperTools))
61 from IsolationAlgs.DerivationTrackIsoConfig
import DerivationTrackIsoCfg
72 for WP
in [
'Nonprompt_All_MaxWeight' ]:
75 if "LRT" in Container
and not hasattr(acc,
'LRTMuonCaloIsolationBuilder'):
76 from IsolationAlgs.IsolationSteeringDerivConfig
import LRTMuonIsolationSteeringDerivCfg
79 from IsolationAlgs.IsolationBuilderConfig
import muIsolationCfg
81 name=
"muonIsolationLRT",
84 MuonCollectionContainerName = Container