add hasPixelSeed member function for electron veto