fix decoding of TRT data ATR-28115. Use shared code with offline rather than a copy in TrigInDetConfig.py
cc @tstreble
related to ATR-26732