Cerenkov and anomalous Doppler effects in the relaxation of an electron beam