Transverse momentum dependence in proton-proton interactions at 24 GeV/ c