240 from ElectronPhotonSelectorTools.AsgElectronLikelihoodToolsConfig
import AsgElectronLikelihoodToolCfg
241 from ElectronPhotonSelectorTools.ElectronLikelihoodToolMapping
import electronLHmenu
242 from ROOT
import LikeEnum
244 lhMenu = electronLHmenu.offlineMC21
245 if flags.GeoModel.Run
is LHCPeriod.Run2:
246 lhMenu = electronLHmenu.offlineMC20
250 name=
"ElectronLHSelectorVeryLooseNoPix",
251 quality=LikeEnum.VeryLooseLLP,
254 ElectronLHSelectorVeryLooseNoPix.primaryVertexContainer =
"PrimaryVertices"
258 name=
"ElectronLHSelectorLooseNoPix",
259 quality=LikeEnum.LooseLLP,
262 ElectronLHSelectorLooseNoPix.primaryVertexContainer =
"PrimaryVertices"
266 name=
"ElectronLHSelectorMediumNoPix",
267 quality=LikeEnum.MediumLLP,
270 ElectronLHSelectorMediumNoPix.primaryVertexContainer =
"PrimaryVertices"
274 name=
"ElectronLHSelectorTightNoPix",
275 quality=LikeEnum.TightLLP,
278 ElectronLHSelectorTightNoPix.primaryVertexContainer =
"PrimaryVertices"
280 from DerivationFrameworkEGamma.EGammaToolsConfig
import EGElectronLikelihoodToolWrapperCfg
285 name=
"ElectronPassLHVeryLooseNoPix",
286 EGammaElectronLikelihoodTool=ElectronLHSelectorVeryLooseNoPix,
287 EGammaFudgeMCTool=
"",
289 StoreGateEntryName=
"DFCommonElectronsLHVeryLooseNoPix",
290 ContainerName=
"Electrons",
295 name=
"ElectronPassLHVeryLooseNoPixLRT",
296 EGammaElectronLikelihoodTool=ElectronLHSelectorVeryLooseNoPix,
297 EGammaFudgeMCTool=
"",
299 StoreGateEntryName=
"DFCommonElectronsLHVeryLooseNoPix",
300 ContainerName=
"LRTElectrons",
306 name=
"ElectronPassLHLooseNoPix",
307 EGammaElectronLikelihoodTool=ElectronLHSelectorLooseNoPix,
308 EGammaFudgeMCTool=
"",
310 StoreGateEntryName=
"DFCommonElectronsLHLooseNoPix",
311 ContainerName=
"Electrons",
316 name=
"ElectronPassLHLooseNoPixLRT",
317 EGammaElectronLikelihoodTool=ElectronLHSelectorLooseNoPix,
318 EGammaFudgeMCTool=
"",
320 StoreGateEntryName=
"DFCommonElectronsLHLooseNoPix",
321 ContainerName=
"LRTElectrons",
327 name=
"ElectronPassLHMediumNoPix",
328 EGammaElectronLikelihoodTool=ElectronLHSelectorMediumNoPix,
329 EGammaFudgeMCTool=
"",
331 StoreGateEntryName=
"DFCommonElectronsLHMediumNoPix",
332 ContainerName=
"Electrons",
337 name=
"ElectronPassLHMediumNoPixLRT",
338 EGammaElectronLikelihoodTool=ElectronLHSelectorMediumNoPix,
339 EGammaFudgeMCTool=
"",
341 StoreGateEntryName=
"DFCommonElectronsLHMediumNoPix",
342 ContainerName=
"LRTElectrons",
348 name=
"ElectronPassLHTightNoPix",
349 EGammaElectronLikelihoodTool=ElectronLHSelectorTightNoPix,
350 EGammaFudgeMCTool=
"",
352 StoreGateEntryName=
"DFCommonElectronsLHTightNoPix",
353 ContainerName=
"Electrons",
358 name=
"ElectronPassLHTightNoPixLRT",
359 EGammaElectronLikelihoodTool=ElectronLHSelectorTightNoPix,
360 EGammaFudgeMCTool=
"",
362 StoreGateEntryName=
"DFCommonElectronsLHTightNoPix",
363 ContainerName=
"LRTElectrons",
366 LRTEGAugmentationTools = [ElectronPassLHVeryLooseNoPix,
367 ElectronPassLHVeryLooseNoPixLRT,
368 ElectronPassLHLooseNoPix,
369 ElectronPassLHLooseNoPixLRT,
370 ElectronPassLHMediumNoPix,
371 ElectronPassLHMediumNoPixLRT,
372 ElectronPassLHTightNoPix,
373 ElectronPassLHTightNoPixLRT]
375 acc.addEventAlgo(CompFactory.DerivationFramework.CommonAugmentation(
376 "LLP1EGammaLRTKernel",
377 AugmentationTools=LRTEGAugmentationTools