239 from ElectronPhotonSelectorTools.AsgElectronLikelihoodToolsConfig
import AsgElectronLikelihoodToolCfg
240 from ElectronPhotonSelectorTools.ElectronLikelihoodToolMapping
import electronLHmenu
241 from ROOT
import LikeEnum
243 lhMenu = electronLHmenu.offlineMC21
244 if flags.GeoModel.Run
is LHCPeriod.Run2:
245 lhMenu = electronLHmenu.offlineMC20
249 name=
"ElectronLHSelectorVeryLooseNoPix",
250 quality=LikeEnum.VeryLooseLLP,
253 ElectronLHSelectorVeryLooseNoPix.primaryVertexContainer =
"PrimaryVertices"
257 name=
"ElectronLHSelectorLooseNoPix",
258 quality=LikeEnum.LooseLLP,
261 ElectronLHSelectorLooseNoPix.primaryVertexContainer =
"PrimaryVertices"
265 name=
"ElectronLHSelectorMediumNoPix",
266 quality=LikeEnum.MediumLLP,
269 ElectronLHSelectorMediumNoPix.primaryVertexContainer =
"PrimaryVertices"
273 name=
"ElectronLHSelectorTightNoPix",
274 quality=LikeEnum.TightLLP,
277 ElectronLHSelectorTightNoPix.primaryVertexContainer =
"PrimaryVertices"
279 from DerivationFrameworkEGamma.EGammaToolsConfig
import EGElectronLikelihoodToolWrapperCfg
284 name=
"ElectronPassLHVeryLooseNoPix",
285 EGammaElectronLikelihoodTool=ElectronLHSelectorVeryLooseNoPix,
286 EGammaFudgeMCTool=
"",
288 StoreGateEntryName=
"DFCommonElectronsLHVeryLooseNoPix",
289 ContainerName=
"Electrons",
294 name=
"ElectronPassLHVeryLooseNoPixLRT",
295 EGammaElectronLikelihoodTool=ElectronLHSelectorVeryLooseNoPix,
296 EGammaFudgeMCTool=
"",
298 StoreGateEntryName=
"DFCommonElectronsLHVeryLooseNoPix",
299 ContainerName=
"LRTElectrons",
305 name=
"ElectronPassLHLooseNoPix",
306 EGammaElectronLikelihoodTool=ElectronLHSelectorLooseNoPix,
307 EGammaFudgeMCTool=
"",
309 StoreGateEntryName=
"DFCommonElectronsLHLooseNoPix",
310 ContainerName=
"Electrons",
315 name=
"ElectronPassLHLooseNoPixLRT",
316 EGammaElectronLikelihoodTool=ElectronLHSelectorLooseNoPix,
317 EGammaFudgeMCTool=
"",
319 StoreGateEntryName=
"DFCommonElectronsLHLooseNoPix",
320 ContainerName=
"LRTElectrons",
326 name=
"ElectronPassLHMediumNoPix",
327 EGammaElectronLikelihoodTool=ElectronLHSelectorMediumNoPix,
328 EGammaFudgeMCTool=
"",
330 StoreGateEntryName=
"DFCommonElectronsLHMediumNoPix",
331 ContainerName=
"Electrons",
336 name=
"ElectronPassLHMediumNoPixLRT",
337 EGammaElectronLikelihoodTool=ElectronLHSelectorMediumNoPix,
338 EGammaFudgeMCTool=
"",
340 StoreGateEntryName=
"DFCommonElectronsLHMediumNoPix",
341 ContainerName=
"LRTElectrons",
347 name=
"ElectronPassLHTightNoPix",
348 EGammaElectronLikelihoodTool=ElectronLHSelectorTightNoPix,
349 EGammaFudgeMCTool=
"",
351 StoreGateEntryName=
"DFCommonElectronsLHTightNoPix",
352 ContainerName=
"Electrons",
357 name=
"ElectronPassLHTightNoPixLRT",
358 EGammaElectronLikelihoodTool=ElectronLHSelectorTightNoPix,
359 EGammaFudgeMCTool=
"",
361 StoreGateEntryName=
"DFCommonElectronsLHTightNoPix",
362 ContainerName=
"LRTElectrons",
365 LRTEGAugmentationTools = [ElectronPassLHVeryLooseNoPix,
366 ElectronPassLHVeryLooseNoPixLRT,
367 ElectronPassLHLooseNoPix,
368 ElectronPassLHLooseNoPixLRT,
369 ElectronPassLHMediumNoPix,
370 ElectronPassLHMediumNoPixLRT,
371 ElectronPassLHTightNoPix,
372 ElectronPassLHTightNoPixLRT]
374 acc.addEventAlgo(CompFactory.DerivationFramework.CommonAugmentation(
375 "LLP1EGammaLRTKernel",
376 AugmentationTools=LRTEGAugmentationTools