A transition radiation detector for electron identification in a high energy experiment