Better check for reference channel in FillTdcHits
Fixed identification of Leading/Trailing edges with more than 1 endpoint