Spectra of identified charged hadrons are measured in pp collisions at the LHC for sqrt(s) = 0.9, 2.76, and 7 TeV. Charged pions, kaons, and protons in the transverse-momentum range pt approximately 0.1-1.7 GeV and for rapidities abs(y) < 1 are identified via their energy loss in the CMS silicon tracker. The average pt increases rapidly with the mass of the hadron and the event charged-particle multiplicity, independently of the center-of-mass energy. The fully corrected pt spectra and integrated yields are compared to various tunes of the PYTHIA6 and PYTHIA8 event generators.
Measurements of charged pion and kaon production in central Pb+Pb collisions at 40, 80 and 158 AGeV are presented. These are compared with data at lower and higher energies as well as with results from p+p interactions. The mean pion multiplicity per wounded nucleon increases approximately linearly with s_NN^1/4 with a change of slope starting in the region 15-40 AGeV. The change from pion suppression with respect to p+p interactions, as observed at low collision energies, to pion enhancement at high energies occurs at about 40 AGeV. A non-monotonic energy dependence of the ratio of K^+ to pi^+ yields is observed, with a maximum close to 40 AGeV and an indication of a nearly constant value at higher energies.The measured dependences may be related to an increase of the entropy production and a decrease of the strangeness to entropy ratio in central Pb+Pb collisions in the low SPS energy range, which is consistent with the hypothesis that a transient state of deconfined matter is created above these energies. Other interpretations of the data are also discussed.