SPADnet: a fully digital, scalable, and networked photonic component for time-of-flight PET applications