Using the miniaod electronID instead of the heppy implementation as it gives different outputs , for example :
(Pdb) event.electrons[0].electronID('mvaEleID-Fall17-iso-V1-wp90')
0.0
(Pdb) event.electrons[1].electronID('mvaEleID-Fall17-iso-V1-wp90')
0.0
(Pdb) event.electrons[0].mvaIDRun2("Fall17Iso","wp90")
True
(Pdb) event.electrons[1].mvaIDRun2("Fall17Iso","wp90")
False
Using the miniaod electronID instead of the heppy implementation as it gives different outputs , for example : (Pdb) event.electrons[0].electronID('mvaEleID-Fall17-iso-V1-wp90') 0.0 (Pdb) event.electrons[1].electronID('mvaEleID-Fall17-iso-V1-wp90') 0.0 (Pdb) event.electrons[0].mvaIDRun2("Fall17Iso","wp90") True (Pdb) event.electrons[1].mvaIDRun2("Fall17Iso","wp90") False