A new detector for the beam energy measurement in proton therapy: a feasibility study. (5th November 2020)