Text this: Electron beam diagnostics tool based on Cherenkov radiation in optical fibers