Statistics for Accelerator Physics and Advanced Protontherapy