Antiproton mass measurement using stored beams cooled by electrons