225 from ElectronPhotonSelectorTools.AsgElectronLikelihoodToolsConfig
import AsgElectronLikelihoodToolCfg
226 from ElectronPhotonSelectorTools.ElectronLikelihoodToolMapping
import electronLHmenu
227 from ROOT
import LikeEnum
229 lhMenu = electronLHmenu.offlineMC21
230 if flags.GeoModel.Run
is LHCPeriod.Run2:
231 lhMenu = electronLHmenu.offlineMC20
235 name=
"ElectronLHSelectorVeryLooseNoPix",
236 quality=LikeEnum.VeryLooseLLP,
239 ElectronLHSelectorVeryLooseNoPix.primaryVertexContainer =
"PrimaryVertices"
243 name=
"ElectronLHSelectorLooseNoPix",
244 quality=LikeEnum.LooseLLP,
247 ElectronLHSelectorLooseNoPix.primaryVertexContainer =
"PrimaryVertices"
251 name=
"ElectronLHSelectorMediumNoPix",
252 quality=LikeEnum.MediumLLP,
255 ElectronLHSelectorMediumNoPix.primaryVertexContainer =
"PrimaryVertices"
259 name=
"ElectronLHSelectorTightNoPix",
260 quality=LikeEnum.TightLLP,
263 ElectronLHSelectorTightNoPix.primaryVertexContainer =
"PrimaryVertices"
265 from DerivationFrameworkEGamma.EGammaToolsConfig
import EGElectronLikelihoodToolWrapperCfg
270 name=
"ElectronPassLHVeryLooseNoPix",
271 EGammaElectronLikelihoodTool=ElectronLHSelectorVeryLooseNoPix,
272 EGammaFudgeMCTool=
"",
274 StoreGateEntryName=
"DFCommonElectronsLHVeryLooseNoPix",
275 ContainerName=
"Electrons",
280 name=
"ElectronPassLHVeryLooseNoPixLRT",
281 EGammaElectronLikelihoodTool=ElectronLHSelectorVeryLooseNoPix,
282 EGammaFudgeMCTool=
"",
284 StoreGateEntryName=
"DFCommonElectronsLHVeryLooseNoPix",
285 ContainerName=
"LRTElectrons",
291 name=
"ElectronPassLHLooseNoPix",
292 EGammaElectronLikelihoodTool=ElectronLHSelectorLooseNoPix,
293 EGammaFudgeMCTool=
"",
295 StoreGateEntryName=
"DFCommonElectronsLHLooseNoPix",
296 ContainerName=
"Electrons",
301 name=
"ElectronPassLHLooseNoPixLRT",
302 EGammaElectronLikelihoodTool=ElectronLHSelectorLooseNoPix,
303 EGammaFudgeMCTool=
"",
305 StoreGateEntryName=
"DFCommonElectronsLHLooseNoPix",
306 ContainerName=
"LRTElectrons",
312 name=
"ElectronPassLHMediumNoPix",
313 EGammaElectronLikelihoodTool=ElectronLHSelectorMediumNoPix,
314 EGammaFudgeMCTool=
"",
316 StoreGateEntryName=
"DFCommonElectronsLHMediumNoPix",
317 ContainerName=
"Electrons",
322 name=
"ElectronPassLHMediumNoPixLRT",
323 EGammaElectronLikelihoodTool=ElectronLHSelectorMediumNoPix,
324 EGammaFudgeMCTool=
"",
326 StoreGateEntryName=
"DFCommonElectronsLHMediumNoPix",
327 ContainerName=
"LRTElectrons",
333 name=
"ElectronPassLHTightNoPix",
334 EGammaElectronLikelihoodTool=ElectronLHSelectorTightNoPix,
335 EGammaFudgeMCTool=
"",
337 StoreGateEntryName=
"DFCommonElectronsLHTightNoPix",
338 ContainerName=
"Electrons",
343 name=
"ElectronPassLHTightNoPixLRT",
344 EGammaElectronLikelihoodTool=ElectronLHSelectorTightNoPix,
345 EGammaFudgeMCTool=
"",
347 StoreGateEntryName=
"DFCommonElectronsLHTightNoPix",
348 ContainerName=
"LRTElectrons",
351 LRTEGAugmentationTools = [ElectronPassLHVeryLooseNoPix,
352 ElectronPassLHVeryLooseNoPixLRT,
353 ElectronPassLHLooseNoPix,
354 ElectronPassLHLooseNoPixLRT,
355 ElectronPassLHMediumNoPix,
356 ElectronPassLHMediumNoPixLRT,
357 ElectronPassLHTightNoPix,
358 ElectronPassLHTightNoPixLRT]
360 acc.addEventAlgo(CompFactory.DerivationFramework.CommonAugmentation(
361 "LLP1EGammaLRTKernel",
362 AugmentationTools=LRTEGAugmentationTools