SIMULATION OF PARTICLE SPECTRA AT RHIC.