A readout system for the STAR time projection chamber