DS of radiotherapy machine