A fast transition radiation detector for first-level triggering