Text this: Protecting the anode foil of a high-current electron accelerator against arc-discharge damage