Prompt gamma imaging with a slit camera for real-time range control in proton therapy