Real-time Digital Signal Processing Implementation for in-beam PET of Radiotherapy Imaging in HIMM