New results on the production of charged pions in p+p interactions are presented. The data come from a sample of 4.8 million inelastic events obtained with the NA49 detector at the CERN SPS at 158 GeV/c beam momentum. Pions are identified by energy loss measurement in a large TPC tracking system which covers a major fraction of the production phase space. Inclusive invariant cross sections are given on a grid of nearly 300 bins per charge over intervals from 0 to 2 GeV/c in transverse momentum and from 0 to 0.85 in Feynman x. The results are compared to existing data in overlapping energy ranges.
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.