Transverse and longitudinal spectra of pions, kaons andprotons after tracking in the TPC + ITS