MTR2: a discriminator and dead-time module used in counting systems