X-Rays, $\gamma$ -Rays, and Proton Beam Monitoring With Multimode Nitrogen-Doped Optical Fiber