A framework for on-line calibration of LINAC devices — arXiv2