Surface segregation measurements during electron irradiation