A transistorized time-amplitude converter for sub-nanosecond lifetime measurements