Generation of wakefields in a dielectric structure filled with plasma