A four-dimensional photon detector for PET application