How do you measure the mass of an electron in a synchotron?

Can you calculate the mass increase just knowing the KE it possesses? Is it just dividing it by the energy/mass of the electron i.e. 1.23 x 10 ^20 Hz?

If an electron has 1 TeV what is its mass and how do you calculate its speed?

Thanks.