Text this: Design and test of a compact beam current monitor based on a passive RF cavity for a proton therapy linear accelerator.