Transition Radiation Spectroscopy with Prototypes of the ALICE TRD