18 menu=electronPIDmenu.menuDC14):
20 mlog = logging.getLogger(
'AsgElectronIsEMSelector')
21 mlog.debug(
'Start configuration')
23 AsgElectronIsEMSelector = CompFactory.AsgElectronIsEMSelector
27 mlog.debug(
'ntuple: %s', ntuple)
29 mlog.error(
"Electron quality not found. Please use an egammaIDQuality"
30 "(ElectronPhotonSelectorTools/egammaPIDdefs.h)."
31 "This function only supports standard electron IDs,"
32 "and not photon or forward IDs")
40 tool.isEMMask = ntuple[0]
42 mlog.debug(
'isEMMask: %x', tool.isEMMask)
44 acc.setPrivateTools(tool)