Active Beam Delivery and Beam Monitoring in Hadrontherapy