Processing of Raw Data Acquired from the APD