18 menu=photonPIDmenu.menuCurrentCuts,
21 mlog = logging.getLogger(
'AsgPhotonIsEMSelector')
22 mlog.debug(
'Start configuration')
24 AsgPhotonIsEMSelector = CompFactory.AsgPhotonIsEMSelector
28 menu = triggerPhotonPIDmenu.menuCurrentCuts
32 mlog.debug(
'ntuple: %s', ntuple)
34 mlog.error(
"Photon quality not found."
35 "Please use an egammaIDQuality"
36 "(ElectronPhotonSelectorTools/egammaPIDdefs.h)."
37 "This function only supports standard photon IDs,"
38 "and not electron IDs or forward IDs")
46 tool.isEMMask = ntuple[0]
48 mlog.debug(
'isEMMask: %x', tool.isEMMask)
50 acc.setPrivateTools(tool)