A deterministic adjoint-based semi-analytical algorithm for fast response change computations in proton therapy