SignalTimeObtainer and PhotonCounter fixes