Measurements of $$\pi ^\pm $$ π ± , K $$^\pm $$ ± , p and $${\bar{\text {p}}}$$ p ¯ spectra in proton-proton interactions at 20, 31, 40, 80 and 158 $$\text{ GeV }/c$$ GeV / c with the NA61/SHINE spectrometer at the CERN SPS
European physical journal. C, Particles and fields