Fragmentation of gold by pions and protons