Large transverse momenta in the thermodynamical model