12 from MuonSelectorTools.MuonSelectorToolsConfig
import MuonSelectionToolCfg
20 from ElectronPhotonSelectorTools.AsgElectronLikelihoodToolsConfig
import AsgElectronLikelihoodToolCfg
21 from ElectronPhotonSelectorTools.ElectronLikelihoodToolMapping
import electronLHmenu
22 from ElectronPhotonSelectorTools.LikelihoodEnums
import LikeEnum
23 from AthenaConfiguration.Enums
import LHCPeriod
25 name=
"ElectronSelTool",
26 quality = LikeEnum.VeryLoose,
27 menu=electronLHmenu.offlineMC21
if flags.GeoModel.Run >= LHCPeriod.Run3
else electronLHmenu.offlineMC20)))
29 from TrkConfig.TrkVKalVrtFitterConfig
import TrkVKalVrtFitterCfg
30 kwargs.setdefault(
"VertexFitter", result.popToolsAndMerge(
32 kwargs.setdefault(
"MinMuonPt", 4000)
33 kwargs.setdefault(
"MinElecPt", 6000)
34 vtx_tool = CompFactory.DerivationFramework.FourLeptonVertexingAlgorithm(name , **kwargs)
35 result.addEventAlgo(vtx_tool, primary =
True)