1 Introduction

The majority of the particles produced at mid-rapidity in proton–proton collisions are low-momentum hadrons not originating from the fragmentation of partons produced in scattering processes with large momentum transfer. Their production, therefore, cannot be computed from first principles via perturbative quantum chromodynamics (pQCD). Currently available models describing hadron-hadron collisions at high energy, such as the event generators PYTHIA6 [1], PYTHIA8 [2, 3], EPOS [4, 5] and PHOJET [6], combine pQCD calculations for the description of hard processes with phenomenological models for the description of the soft component. The measurement of low-momentum particle production and species composition is therefore important as it provides crucial input for the modelling of the soft component and of the hadronisation processes. Furthermore, it serves as a reference for the same measurement in Pb–Pb collisions to study the properties of the hot and dense strongly interacting medium with partonic degrees of freedom, the quark–gluon plasma, which is created in these collisions. In this paper, the measurement of primary \(\pi ^{\pm }\), \(K^{\pm }\), \(p\) and \({\overline{{p}}}\) production at mid-rapidity in proton–proton collisions at \(\sqrt{s}\) \(=\) 7 TeV using the ALICE detector [710] is presented. Primary particles are defined as prompt particles produced in the collision including decay products, except those from weak decays of light flavour hadrons and muons. Pions, kaons and protons are identified over a wide momentum range by combining the information extracted from the specific ionisation energy loss (d\(E\)/d\(x\)) measured in the inner tracking system (ITS) [11] and in the time projection chamber (TPC) [12], the time of flight measured in the time-of-flight (TOF) detector [13], the Cherenkov radiation measured in the high-momentum particle identification detector (HMPID) [14] and the kink-topology identification of the weak decays of charged kaons. Similar measurements in proton–proton collisions at \(\sqrt{s}\) \(=\) 900 GeV and 2.76 TeV are reported in [1517] and are included, together with lower energy data [1824], in the discussion of the evolution of particle production with collision energy. Similar measurement at the LHC have also been performed in the forward region [25].

The paper is organised as follows. In Sect. 2 the ALICE experimental setup is described, focusing on the detectors and the corresponding particle identification (PID) techniques relevant for the present measurement. Details of the event and track selection criteria and the corrections applied to the measured raw yields are also presented. In Sect. 3 the results on the production of primary \(\pi ^{\pm }\), \(K^{\pm }\), \(p\) and \({\overline{{p}}}\) are shown. These include the transverse momentum (\(p_\mathrm{{T}}\)) distributions and the \(p_\mathrm{{T}}\)-integrated production yields of each particle species and the K/\(\pi \) and p/\(\pi \) ratios. The evolution with collision energy of the \(p_\mathrm{{T}}\)-integrated particle yields, of their ratios and of their average transverse momenta \(\langle p_\mathrm{T} \rangle \) is also presented. In Sect. 4 particle spectra and their ratios (K/\(\pi \) and p/\(\pi \)) are compared with models, in particular with different PYTHIA tunes [13, 25, 26], EPOS [4, 5] and PHOJET [6]. Section 5 concludes the paper summarizing the results.

2 Experimental setup and data analysis

2.1 The ALICE detector

The ALICE detector was specifically optimised to reconstruct and identify particles over a wide momentum range thanks to the low material budget, the moderate magnetic field and the presence of detectors exploiting all the known PID techniques. A comprehensive description of the ALICE experimental setup and performance can be found in [710]. In the following, the PID detectors relevant for the analysis presented in this paper are briefly described, namely ITS, TPC, TOF and HMPID. They are located in the ALICE central barrel in a \(B= 0.5\) T solenoidal magnetic field directed along the beam axis. The ITS, TPC and TOF detectors cover the full azimuth (\(\varphi \)) and have a pseudorapidity coverage of \(|\eta | < 0.9\), while the HMPID covers the pseudorapidity interval \(|\eta | < 0.55\) and the azimuthal angle range \(1.2^{\circ } < \varphi < 58.5^{\circ }\).

The ITS [11] is the innermost central barrel detector. It is composed of six cylindrical layers of silicon detectors, located at radial distances between 3.9 and 43 cm from the beam axis. The two innermost layers are equipped with silicon pixel detectors (SPD), the two intermediate ones are silicon drift detectors (SDD), while the two outermost ones are silicon strip detectors (SSD). The ITS provides high resolution tracking points close to the beam line, which allows us to reconstruct primary and secondary vertices with high precision, to measure with excellent resolution the distance of closest approach (DCA) of a track to the primary vertex, and to improve the track \(p_\mathrm{{T}}\) resolution. It is also used as a stand-alone tracker to reconstruct particles that do not reach the TPC or do not cross its sensitive areas. The SDD and SSD are equipped with analogue readout enabling PID via d\(E\)/d\(x\) measurements with a relative resolution of about 10 %.

The TPC [12] is the main tracking detector of the ALICE central barrel. It is a large volume cylindrical chamber with high-granularity readout that surrounds the ITS covering the region 85 \(< r <\) 247 and \(-250 < z <\) +250 cm in the radial \(r\) and longitudinal \(z\) directions, respectively. It provides three-dimensional space points and specific ionisation energy loss d\(E\)/d\(x\) with up to 159 samples per track. The relative d\(E\)/d\(x\) resolution is measured to be about 5.5 % for tracks that cross from the centre of the outer edge of the detector.

The TOF detector [13] is a large-area array of multigap resistive plate chambers with an intrinsic time resolution of 50 ps, including the electronic readout contribution. It is a cylindrical detector located at a radial distance 370 \(< r <\) 399 cm from the beam axis. Particles are identified using simultaneously the TOF information with the momentum and track length measured with the ITS and the TPC.

The HMPID [14] is a single-arm proximity-focusing ring imaging Cherenkov (RICH) detector located at 475 cm from the beam axis. The Cherenkov radiator is a 15-mm-thick layer of liquid C\(_6\)F\(_{14}\) (perfluorohexane) with a refractive index of \(n = 1.2989\) at a photon wave length \(\lambda = 175\) nm, corresponding to a minimum particle velocity \(\beta _\mathrm{{min}} = 0.77\).

In addition to the detectors described above that provide PID information, the VZERO system [27] is used for trigger and event selection. It is composed of two scintillator arrays, which cover the pseudorapidity ranges \(2.8<\eta <5.1\) and \(-3.7<\eta <-1.7\).

2.2 Data sample, event and track selection

The results presented in this paper are obtained combining five independent analyses, namely ITS stand-alone, TPC–TOF, TOF, HMPID, kink, using different PID methods. The analysed data are proton–proton collisions at \(\sqrt{s}\)  \(=\) 7 TeV collected in 2010. During that period, the instantaneous luminosity at the ALICE interaction point was kept within the range 0.6–\(1.2\times 10^{29}\,\mathrm cm^{-2}\, s^{-1}\) to limit the collision pile-up probability. Only runs with a collision pile-up probability smaller than 4 % are used in this analysis, leading to an average pile-up rate of 2.5 %. The number of events used in the five independent analyses is reported in Table 1. The data were collected using a minimum-bias trigger, which required a hit in the SPD or in at least one of the VZERO scintillator arrays in coincidence with the arrival of proton bunches from both directions. This trigger selection essentially corresponds to the requirement of having at least one charged particle in 8 units of pseudorapidity.

The contamination due to beam-induced background is removed off-line by using the timing information from the VZERO detector, which measures the event time with a resolution of about 1 ns, and the correlation between the number of clusters and track segments (tracklets) in the SPD [15]. Selected events are further required to have a reconstructed primary vertex. For 87 % of the triggered events, the interaction vertex position is determined from the tracks reconstructed in TPC and ITS. For events that do not have a vertex reconstructed from tracks, which are essentially collisions with low multiplicity of charged particles, the primary vertex is reconstructed from the SPD tracklets, which are track segments built from pairs of hits in the two innermost layers of the ITS. Overall, the fraction of events with reconstructed primary vertex, either from tracks or from SPD tracklets, is of 91 %. Accepted events are required to have the reconstructed vertex position along the beam direction, \(z\), within \(\pm \)10 cm from the centre of the ALICE central barrel. This ensures good rapidity coverage, uniformity of the particle reconstruction efficiency in ITS and TPC and reduction of the remaining beam-gas contamination. In the following analyses two different sets of tracks are used: the global tracks, reconstructed using information from both ITS and TPC, and the ITS-sa tracks, reconstructed by using only the hits in the ITS. To limit the contamination due to secondary particles and tracks with wrongly associated hits and to ensure high tracking efficiency, tracks are selected according to the following criteria. The global tracks are required to cross over at least 70 TPC readout rows with a value of \(\chi ^{2} / N_\mathrm{{clusters}}\) of the momentum fit in the TPC lower than 4, to have at least two clusters reconstructed in the ITS out of which at least one is in the SPD layers and to have a DCA to the interaction vertex in the longitudinal plane, DCA\(_z\) \(<\) 2 cm. Furthermore, the daughter tracks of reconstructed kinks are rejected. This last cut is not applied in the kink analysis where a further \(p_\mathrm{{T}}\)-dependent selection on the DCA of the selected tracks to the primary vertex in the transverse plane (DCA\(_{xy}\)) is requested. The global tracks that satisfy these selection criteria have a \(p_\mathrm{{T}}\) resolution of 1 % at \(p_\mathrm{{T}}\) \(=\) 1 GeV/\(c\) and 2 % at \(p_\mathrm{{T}}\) \(=\) 10 GeV/\(c\). The ITS-sa tracks are required to have at least four ITS clusters out of which at least one in the SPD layers and three in the SSD and SDD, \(\chi ^{2} / N_\mathrm{{clusters}} < 2.5\) and a DCA\(_{xy}\) satisfying a \(p_\mathrm{{T}}\)-dependent upper cut corresponding to 7 times the DCA resolution. The selected ITS-sa tracks have a maximum \(p_\mathrm{{T}}\) resolution of 6 % for pions, 8 % for kaons and 10 % for protons in the \(p_\mathrm{{T}}\) range used in the analysis. Global and ITS-sa tracks have a similar resolution in the DCA\(_{xy}\) parameter, that is, 75 \(\upmu \)m at \(p_\mathrm{{T}}\) \(=\) 1 GeV/\(c\) and 20 \(\upmu \)m at \(p_\mathrm{{T}}\) \(=\) 15 GeV/\(c\)  [28], which is well reproduced in the simulation of the detector performance. The final spectra are calculated for \(|y|<0.5\).

2.3 Particle identification strategy

To measure the production of \(\pi ^{\pm }\), \(K^{\pm }\), \(p\) and \({\overline{{p}}}\) over a wide \(p_\mathrm{{T}}\) range, results from five independent analyses, namely ITS-sa, TPC–TOF, TOF, HMPID and kink, are combined. Each analysis uses different PID signals in order to identify particles in the complementary \(p_\mathrm{{T}}\) ranges reported in Table 1. In the following, the PID strategies used by ITS-sa, TPC–TOF and TOF analyses are briefly summarised since they are already discussed in detail in [15, 29], while the HMPID analysis, presented here for the first time, and the kink analysis, modified with respect to that described in [15], are presented in more detail.

Table 1 Number of analysed events and \(p_\mathrm{{T}}\) range (GeV/\(c\)) covered by each analysis

2.3.1 ITS stand-alone analysis

In this analysis ITS-sa tracks are used and particles are identified by comparing the d\(E\)/d\(x\) measurement provided by the ITS detector with the expected values at a given momentum \(p\) under the corresponding mass hypotheses.

Fig. 1
figure 1

Distribution of d\(E\)/d\(x\) as a function of momentum (\(p\)) measured in the ITS using ITS-sa tracks in \(|\eta |<0.9\). The continuous curves represent the parametrisation of d\(E\)/d\(x\) for e, \(\pi \), \(K\) and \(p\) while the dashed curves are the bands used in the PID procedure

In Fig. 1, the measured d\(E\)/d\(x\) values are shown as a function of track momentum together with the curves of the energy loss for the different particle species, which are calculated using the PHOBOS parametrisation [30] of the Bethe–Bloch curves at large \(\beta \gamma \) and with a polynomial to correct for instrumental effects. A single identity is assigned to each track according to the mass hypothesis for which the expected specific energy-loss value is the closest to the measured d\(E\)/d\(x\) for a track with momentum \(p\). No explicit selection on the difference between the measured and expected values is applied except for a lower limit on pions set to two times the d\(E\)/d\(x\) resolution (\(\sigma \)) and an upper limit on protons given by the mid-point between the proton and the deuteron expected d\(E\)/d\(x\). The ITS d\(E\)/d\(x\) is calculated as a truncated mean of three or four d\(E\)/d\(x\) values provided by the SDD and SSD layers. The truncated mean is the average of the lowest two d\(E\)/d\(x\) values in case signals in all the four layers are available, or as a weighted average of the lowest (weight 1) and the second lowest (weight 1/2) values in the case where only three d\(E\)/d\(x\) samples are measured. Even with this truncated mean approach, used to reduce the effect of the tail of the Landau distribution at large d\(E\)/d\(x\), the small number of samples results in residual non-Gaussian tails in the d\(E\)/d\(x\) distribution, which are partially reproduced in simulation. These non-Gaussian tails increase the misidentification rate, e.g. pions falling in the kaon identification bands. The misidentification probability is estimated using a Monte-Carlo simulations where the particle abundances were adjusted to those observed in data. This correction is at most 10 % in the \(p_\mathrm{{T}}\) range of this analysis. In order to check possible systematic effects due to these non-Gaussian tails and their imperfect description in Monte-Carlo simulations, the analysis was repeated with different strategies for the particle identification, namely using a 3\(\sigma \) compatibility band around the expected d\(E\)/d\(x\) curves and extracting the yields of pions, kaons and protons using the unfolding method described in [15], which is based on fits to the d\(E\)/d\(x\) distributions in each \(p_\mathrm{{T}}\) interval. The difference among the results from these different analysis strategies is assigned as a systematic uncertainty due to the PID.

2.3.2 TPC–TOF analysis

In this analysis global tracks are used and particle identification is performed by comparing the measured PID signals in the TPC and TOF detectors (d\(E\)/d\(x\), time of flight) with the expected values for different mass hypotheses. An identity is assigned to a track if the measured signal differs from the expected value by less than three times its resolution \(\sigma \). For pions and protons with \(p_\mathrm{{T}}\) \(<\) 0.6 GeV/\(c\) and kaons with \(p_\mathrm{{T}}\) \(<\) 0.5 GeV/\(c\), a compatibility within 3\(\sigma \) is required on the d\(E\)/d\(x\) measurement provided by the TPC computed as a truncated mean of the lowest 60 % of the available d\(E\)/d\(x\) samples. The d\(E\)/d\(x\) resulting from this truncated mean approach is Gaussian and it is shown in Fig. 2 as a function of the track momentum together with the expected energy-loss curves (see [31] for a discussion of the d\(E\)/d\(x\) parametrisation).

Fig. 2
figure 2

Distribution of d\(E\)/d\(x\) as a function of momentum (\(p\)) measured in the TPC using global tracks for \(|\eta | < 0.9\). The continuous curves represent the Bethe–Bloch parametrisation

Above these \(p_\mathrm{{T}}\) thresholds, i.e. \(p_\mathrm{{T}}\) \(\ge \) 0.6 GeV/\(c\) for pions and protons and \(p_\mathrm{{T}}\) \(\ge \) 0.5 GeV/\(c\) for kaons, a three \(\sigma \) requirement is applied to both the d\(E\)/d\(x\) measurement provided by the TPC and the time of flight \(t_\mathrm{{tof}}\) provided by the TOF detector. The time of flight \(t_\mathrm{{tof}}\), as will be described in more detail in the next section, is the difference between the arrival time \(\tau _\mathrm{TOF}\) measured with the TOF detector and the event start time \(t_0\), namely \(t_\mathrm{{tof}}=\tau _\mathrm{{TOF}}-t_{0}\). The additional condition on the TOF signal helps in extending the particle identification on a track-by-track basis to higher \(p_\mathrm{{T}}\) where the TPC separation power decreases. The particles for which the TOF signal is available are a sub-sample of the global tracks reconstructed using ITS and TPC information. The TOF information is not available for tracks that cross inactive regions of the TOF detector, for particles that decay or interact with the material before the TOF and for tracks whose trajectory, after prolongation from the TPC outer radius, is not matched with a hit in the TOF detector. The fraction of global tracks with associated TOF information (TOF matching efficiency) depends on the particle species and \(p_\mathrm{{T}}\) as well as on the fraction of the TOF active readout channels. For the data analysis presented in this paper the matching efficiency increases with increasing \(p_\mathrm{{T}}\) until it saturates, e.g. at about 65 % for pions with \(p_\mathrm{{T}}\) \(>\) 1 GeV/\(c\). In Fig. 3 the velocity \(\beta \) of the tracks, computed from the trajectory length measured with the ITS and TPC and the time of flight measured with the TOF, is reported as a function of the rigidity \(p/z\), where \(z\) is the charge assigned based on the measured direction of the track curvature.

Fig. 3
figure 3

Particle velocity \(\beta \) measured by the TOF detector as a function of the rigidity \(p/z\), where \(z\) is the particle charge, for \(|\eta | < 0.9\)

More than one identity can be assigned to a track if it fulfils PID and rapidity selection criteria for different particle species. The frequency of such cases is at most 0.5 % in the momentum range used in this analysis. The misidentification of primary particles is computed and corrected for using Monte-Carlo simulations. It is at most 2 % for pions and protons and 8 % for kaons in the considered \(p_\mathrm{{T}}\) ranges. The correction of the raw spectra for the misidentified particles provides also a way to remove the overestimation of the total number of particles introduced by the possibility, described above, to assign more than one identity to a track.

2.3.3 TOF analysis

This analysis uses the sub-sample of global tracks for which a TOF measurement is available. The PID procedure utilises a statistical unfolding approach that provides a \(p_\mathrm{{T}}\) reach higher than the three \(\sigma \) approach described in the previous section. The procedure is based on the comparison between the measured time of flight from the primary vertex to the TOF detector, \(t_\mathrm{{tof}}\), and the time expected under a given mass hypothesis, \(t^\mathrm{{exp}}_{i}\) (\(i\) \(=\) \(\pi \), \(K\), \(p\)), namely on the variable \(\Delta t_{i} = t_\mathrm{{tof}} - t^\mathrm{{exp}}_{i}\). As mentioned in the previous section, the time of flight \(t_\mathrm{{tof}}\) is defined as the difference between the time measured with the TOF detector \(\tau _\mathrm{TOF}\) and the event start time \(t_0\). The \(t_{0}\) value is computed from the analysed tracks themselves on an event-by-event basis, using a combinatorial algorithm which compares the measured \(\tau _\mathrm{{TOF}}\) with the expected ones for different mass hypotheses. The track under study is excluded to avoid any bias in the PID procedure [13, 15]. In case the TOF \(t_{0}\) algorithm fails, the average beam-beam interaction time is used. The former approach provides a better \(t_{0}\) resolution, but it requires at least three reconstructed tracks with an associated TOF timing measurement. The yield of particles of species \(i\) in a given \(p_\mathrm{{T}}\) interval is obtained by fitting the distribution of the variable \(\Delta t_{i}\) obtained from all the tracks regardless of the method used to compute the \(t_{0}\). This distribution is composed of the signal from particles of species \(i\), which is centred at \(\Delta t_{i}=0\), and two distinct populations corresponding to the other two hadron species, \(j,k \ne i\). The \(\Delta t_{i}\) distribution is therefore fitted with the sum of three functions \(f(\Delta t_i)\), one for the signal and two for the other hadron species, as shown in Fig. 4. The \(f(\Delta t_i)\) functional forms are defined using the data in the region of clear species separation. The TOF signal is not purely Gaussian and it is described by a function \(f(\Delta t_i)\) that is composed of a Gaussian term and an exponential tail at high \(\Delta t_{i}\) mainly due to tracks inducing signals in more than one elementary detector readout element [13]. The raw yield of the species \(i\) is given by the integral of the signal fit function.

Fig. 4
figure 4

Distribution of \(\Delta t_{i}\) assuming the pion mass hypothesis in the transverse momentum interval 1.9 \(<\) \(p_\mathrm{{T}}\) \(<\) 2.0 GeV/\(c\). The data (black points) are fitted with a function (light blue line) that is the sum of the signal due to pions (green dotted line) and the two populations corresponding to kaons (red dotted line) and protons (purple dashed line)

The reach in \(p_\mathrm{{T}}\) of this PID method depends on the resolution of \(\Delta t_{i}\), that is, the combination of the TOF detector intrinsic resolution, the uncertainty on the start time and the tracking and momentum resolution. Its value, for the data used in this analysis, is about 120 ps leading to 2\(\sigma \) pion–kaon and kaon–proton separation at \(p_\mathrm{{T}}\) \(=\) 2.5 GeV/\(c\) and \(p_\mathrm{{T}}\) \(=\) 4.0 GeV/\(c\), respectively. This PID procedure has the advantage of not requiring a Monte-Carlo-based correction for misidentification because the contamination under the signal of particles of species \(i\) due to other particle species is accounted for by the background fit functions.

2.3.4 HMPID analysis

The HMPID is a RICH detector in a proximity focusing layout in which the primary ionizing charged particle generates Cherenkov light inside a liquid C\(_6\)F\(_{14}\) radiator [14]. The UV photons are converted into photoelectrons in a thin CsI film of the PhotoCathodes (PCs) and the photoelectrons are amplified in an avalanche process inside a multi-wire proportional chamber operated with CH\(_4\). To obtain the position sensitivity for the reconstruction of the Cherenkov rings, the PCs are segmented into pads. The final image of a Cherenkov ring is then formed by a cluster of pads (called a “MIP” cluster) associated to the primary ionisation of the particle and the photoelectron clusters associated to Cherenkov photons. In Fig. 5 a typical Cherenkov ring is shown.

Fig. 5
figure 5

Display of a Cherenkov ring detected in a module of HMPID for an inclined track crossing the detector. The colours are proportional to the pad charge signal

In this analysis, the sub-sample of global tracks that reach the HMPID detector and produce the Cherenkov rings is used. Starting from the photoelectron cluster coordinates on the photocathode, a back-tracking algorithm calculates the corresponding single photon Cherenkov angle by using the impact angle of a track extrapolated from the central tracking detectors up to the radiator volume. A selection on the distance (\(d_\mathrm{{MIP-trk}}\)) computed on the cathode plane between the centroid of the MIP cluster and the track extrapolation, set to \(d_\mathrm{{MIP-trk}}\) \(<\) 5 cm, rejects fake associations in the detector. Background discrimination is performed using the Hough transform method (HTM) [32]. The mean Cherenkov angle \(\langle \theta _\mathrm{{ckov}}\rangle \) is obtained if at least three photoelectron clusters are detected.

For a given track, \(\langle \theta _\mathrm{{ckov}}\rangle \) is computed as the weighted average of the single photon angles (if any) selected by HTM. Pions, kaons and protons become indistinguishable at high momentum when the resolution on \(\langle \theta _\mathrm{{ckov}}\rangle \) reaches 3.5 mrad. The angle \(\langle \theta _\mathrm{{ckov}}\rangle \) as a function of the track momentum is shown in Fig. 6, where the solid lines represent the \(\theta _\mathrm{{ckov}}\) dependence on the particle momentum

$$\begin{aligned} \theta _\mathrm{{ckov}} = \cos ^{-1} \frac{\sqrt{p^2+m^2}}{np}, \end{aligned}$$
(1)

where \(n\) is the refractive index of the liquid radiator, \(m\) the mass of the particle and \(p\) its momentum.

Fig. 6
figure 6

Mean Cherenkov angle \(\langle \theta _\mathrm{{ckov}}\rangle \) measured with HMPID in its full geometrical acceptance as a function of the particle momentum \(p\) for positively and negatively charged tracks. The solid lines represent the theoretical curves for each particle species

This analysis is performed for \(p\) \(>\)1.5 GeV/c, where pions, kaons and protons produce a ring with enough photoelectron clusters to be reconstructed. If the track momentum is below the threshold to produce Cherenkov photons, background clusters could be wrongly associated to the track. As an example the few entries visible in Fig. 6 between the pion and kaon bands at low \(\langle \theta _\mathrm{{ckov}}\rangle \) correspond to wrong associations of clusters with a kaon or a proton below the threshold to produce Cherenkov photons.

The particle yields are extracted from a fit to the Cherenkov angle distribution in narrow transverse momentum intervals. In Fig. 7, examples of the reconstructed Cherenkov angle distributions in two narrow \(p_\mathrm{{T}}\) intervals (3.4 \(<\) \(p_\mathrm{{T}}\) \(<\) 3.6 GeV/\(c\) and 5 \(<\) \(p_\mathrm{{T}}\) \(<\) 5.5 GeV/\(c\)) for negatively charged tracks are shown.

The background, mainly due to noisy pads and photoelectron clusters from other rings overlapping to the reconstructed one, is negligible in the momentum range considered in this analysis. The fit function (shown as a solid line in Fig. 7) is a sum of three Gaussian functions, one for each particle species (dashed lines), whose mean and sigma are fixed to the Monte-Carlo values.

Fig. 7
figure 7

Distributions of \(\langle \theta _\mathrm{{ckov}}\rangle \) measured with the HMPID in the two narrow \(p_\mathrm{{T}}\) intervals 3.4 \(<\) \(p_\mathrm{{T}}\) \(<\) 3.6 GeV/\(c\) (top) and 5 \(<\) \(p_\mathrm{{T}}\) \(<\) 5.5 GeV/\(c\) (bottom) for tracks from negatively charged particles. Solid lines represent the total fit (sum of three Gaussian functions). Dotted lines correspond to pion, kaon and proton signals. The background is negligible

The extracted separation power of hadron identification in the HMPID as a function of \(p_\mathrm{{T}}\) is shown in Fig. 8. The separation between pions and kaons (kaons and protons) is expressed as the difference between the means of the \(\langle \theta _\mathrm{{ckov}}\rangle \) angle Gaussian distributions for the two given particle species (\(\Delta _\mathrm{{\pi ,K}}\) or \(\Delta _{{K,p}}\)) divided by the average of the Gaussian widths of the two distributions, i.e. (\(\sigma _\mathrm{\pi }+\sigma _{K}\))/2 or (\(\sigma _{K}+\sigma _{p}\))/2. A separation at 3\(\sigma \) level in \(\langle \theta _\mathrm{{ckov}}\rangle \) is achieved up to \(p_\mathrm{{T}}\) \(=\) 3 GeV/\(c\) for \(K\)\(\pi \) and up to \(p_\mathrm{{T}}\) \(=\) 5 GeV/\(c\) for \(K\)\(p\). The separation at 6 GeV/\(c\) for \(K\)\(p\) can be extrapolated from the curve and it is about 2.5\(\sigma \).

Fig. 8
figure 8

Separation power (\(n_{\sigma }\)) of hadron identification in the HMPID as a function of \(p_\mathrm{{T}}\). The separation n\(_{\sigma }\) of pions and kaons (kaons and protons) is defined as the difference between the average of the Gaussian distributions of \(\langle \theta _\mathrm{{ckov}}\rangle \) for the two hadron species divided by the average of the Gaussian widths of the two distributions

The HMPID geometrical acceptance is about 5 % for tracks with high momentum. Therefore the analysis of HMPID required one to analyse a larger data sample with respect to the other PID methods, as reported in Table 1. The total efficiency is the convolution of the tracking, matching and PID efficiencies. The PID efficiency of this method is determined by the Cherenkov angle reconstruction efficiency. It has been computed by means of Monte-Carlo simulations and it reaches 90 % for particles with velocity \(\beta \sim \) 1. As a cross check, the PID efficiency has been determined using clean samples of protons and pions from \(\Lambda \) and \(K^0_\mathrm{s}\) decays. The measured efficiency agrees within the statistical uncertainties with the Monte-Carlo estimates, in the momentum range 1.5 \(<\) \(p_\mathrm{{T}}\) \(<\) 6 GeV/\(c\). Moreover, the correction due to the \(d_\mathrm{{MIP-trk}}\) cut is computed from the same sample of identified protons and pions from \(\Lambda \) and \(K^{0}_\mathrm{s}\) decays.

2.3.5 Kink analysis

Charged kaons can also be identified in the TPC by reconstructing their weak-decay vertices, which exhibit a characteristic kink topology defined by a decay vertex with two tracks (mother and daughter) having the same charge. This procedure extends the measurement of charged kaons on a track-by-track basis to \(p_\mathrm{{T}}\) \(=\) 6 GeV/\(c\). The algorithm for the kink reconstruction is applied inside a fiducial volume of the TPC, namely 130 \( < R < \) 200 cm, needed to reconstruct both the mother and the daughter tracks. The mother track is selected with similar criteria to the global tracks (Sect. 2.2), but with a looser selection on the minimum number of TPC clusters, which is set to 20, and a wider rapidity range set to \(|y|< 0.7\) to increase the statistics of kink candidates. No selections are applied on the charged daughter track. The reconstructed invariant mass \(M_{\mu \nu }\) is calculated assuming the charged daughter track to be a muon and the undetected neutral daughter track to be a neutrino. The neutrino momentum is the difference between the measured momenta of the mother particle and of the charged daughter.

Fig. 9
figure 9

Kink invariant mass \(M_{\mu \nu }\) in data (red circles) and Monte-Carlo (black line) for summed particles and antiparticles, integrated over the mother transverse momentum range 0.2 \(<\) \(p_\mathrm{{T}}\) \(< 6.0 \) GeV/\(c\) and \(|y| < 0.7\) before (top panel) and after (bottom panel) the topological selections, based mainly on the \(q_\mathrm {T}\) and the maximum decay opening angle

The \(M_{\mu \nu }\) distribution, for summed positive and negative charges, integrated over the mother transverse momentum range 0.2 \(<\) \(p_\mathrm{{T}}\) \(< 6.0 \) GeV/\(c\) is reported in the top panel of Fig. 9 for both data and PYTHIA simulations normalised to the same number of entries. Three peaks are present: one centred on the kaon mass due to the kaon decays \(K\rightarrow \mu + \nu _{\mu }\) (branching ratio BR \(=\) 63.55 %), one centred at \(M_{\mu \nu }\) \(=\) 0.43 GeV/\(c^{2}\) due to the \(K\rightarrow \pi + \pi ^0\) decay (BR \(=\) 20.66 %), whose kinematics is calculated with wrong mass assumptions, and the peak due to pion decays \(\pi \rightarrow \mu + \nu _{\mu }\) (BR \(=\) 99.99 %). The width of the peaks reflects the momentum resolution of the detector, which is well reproduced in Monte-Carlo simulations. The two-body kinematics of the kink topology allows one to separate kaon decays from the main source of background due to charged pion decays [15]. In the \(\mu +\nu _{\mu }\) channel, the upper limit of the \(q_\mathrm {T}\) variable, where \(q_\mathrm {T}\) is defined as the transverse momentum of the daughter track with respect to the mother’s direction, is 236 MeV/\(c\) for muons from kaon decays and 30 MeV/\(c\) for muons from pion decays. To remove most of the pion decays, a \(q_\mathrm {T}>\) 120 MeV/\(c\) selection is applied. The background is further reduced by rejecting kink decays for which the decay angle, namely the angle between the momenta of the mother and the charged daughter tracks is larger than the maximum angle allowed under the hypothesis \(K\rightarrow \mu + \nu _{\mu }\). The bottom panel of Fig. 9 shows the invariant mass distribution of the kaon candidates with mother transverse momentum 0.2 \(<\) \(p_\mathrm{{T}}\) \( < 6.0\) GeV/\(c\) after the topological selection criteria for kaon identification (mainly the \(q_\mathrm {T}\) and decay angle cuts) are applied. It is evident that only the two peaks coming from kaon decays are present, while the pion background peak is removed. The broad structure on the left originates from the three-body decays of kaons. The agreement between data and simulations in this figure (Fig. 9) is better than 8 %. Most of the selected mother tracks have a d\(E\)/d\(x\) in the TPC which is compatible with the values expected for kaons. Tracks outside 3.5\(\sigma \) from the expected kaon d\(E\)/d\(x\) have been removed to attain a purity \(>\)97 % in the \(p_\mathrm{{T}}\) range studied in this analysis. These rejected tracks are \(<\)4 %, have \(p_\mathrm{{T}}\) \( < \) 0.8 GeV/\(c\) and are, according to Monte-Carlo studies, pions. The raw kaon spectra are obtained from the integral of the invariant mass distribution computed in narrow \(p_\mathrm{{T}}\) intervals after the topological selection criteria on the \(q_{\mathrm{T}}\), the decay opening angle and the compatibility with the expected d\(E\)/d\(x\) for kaons are applied. The kaon misidentification is computed and corrected for by using Monte-Carlo simulations. It depends on the mother’s transverse momentum with a maximum value of 3.6 % at 0.8 GeV/\(c\) and a minimum of 2 % at 1 GeV/\(c\), remaining almost flat up to \(p_\mathrm{{T}}\) \(=\) 6 GeV/\(c\). Its average value in the \(p_\mathrm{{T}}\) range considered in this analysis is 2.1 %.

2.4 Correction of raw spectra

To obtain the \(p_\mathrm{{T}}\) distributions of primary \(\pi \), \(K\) and \(p\), the contribution of secondaries is subtracted from the raw spectra. Then the spectra are corrected for the PID efficiency, the misidentification probability, the acceptance, the reconstruction and the selection efficiencies according to

$$\begin{aligned} \frac{\mathrm{d}^{2} N}{\mathrm{d} p_\mathrm{{T}} \mathrm{d} y} =N_\mathrm{raw}(p_\mathrm{{T}})\frac{1}{\Delta p_\mathrm{{T}}\Delta y} \frac{1-s(p_\mathrm{{T}})}{\varepsilon (p_\mathrm{{T}})}\cdot f(p_\mathrm{{T}}), \end{aligned}$$
(2)

where \(N_\mathrm{raw}(p_\mathrm{{T}})\frac{1}{\Delta p_\mathrm{{T}}\Delta y}\) is the raw yield in a given \(p_\mathrm{{T}}\) interval, \(s(p_\mathrm{{T}})\) is the total contamination including effects of secondary and misidentified particles, \(\varepsilon (p_\mathrm{{T}})\) is the acceptance \(\times \) efficiency including PID efficiency, detector acceptance, reconstruction and selection efficiencies and \(f(p_\mathrm{{T}})\) is an additional factor to correct for imperfections of the cross sections for antiparticle interactions with the material used in the GEANT3 code.

The contamination due to weak decays of light flavour hadrons (mainly \(K^0_s\) affecting \(\pi \) spectra and \(\Lambda \) and \(\Sigma ^{+}\) affecting \(p\) spectra) and interactions with the material has to be computed and subtracted from the raw spectra. Since strangeness production is underestimated in the event generators and the interactions of low \(p_\mathrm{{T}}\) particles with the material are not properly modelled in the transport codes, the secondary-particle contribution is evaluated with a data-driven approach. This approach exploits the high resolution determination of the track impact parameter in the transverse plane, DCA\(_{xy}\), and the fact that secondary particles from strange hadron decays and interactions with the detector material, originate from secondary vertices significantly displaced from the interaction point and, therefore, their tracks have, on average, larger absolute values of DCA\(_{xy}\) with respect to primary particles. Hence, for each of the PID techniques described in the previous sections, the contribution of secondary particles to the measured raw yield of a given hadron species in a given \(p_\mathrm{{T}}\) interval is extracted by fitting the measured distributions of DCA\(_{xy}\) of the tracks identified as particles of the considered hadron species. The DCA\(_{xy}\) distributions are modelled with three contributions, called templates. Their shapes are extracted for each \(p_\mathrm{{T}}\) interval and particle species from simulations, as described in [29], and represent the DCA\(_{xy}\) distributions of primary particles, secondary particles from weak decays of strange hadrons and secondary particles produced in the interactions with the detector material, respectively. An example for protons in the interval 0.55 \(<\) \(p_\mathrm{{T}}\) \(<\) 0.60 GeV/\(c\) is shown in Fig. 10.

Fig. 10
figure 10

Proton DCA\(_{xy}\) distribution in the range 0.55 \(<\) \(p_\mathrm{{T}}\) \(<\) 0.60 GeV/\(c\) together with the Monte-Carlo templates for primary protons (green dotted line), secondary protons from weak decays (red dotted line) and secondary protons produced in interactions with the detector material (blue dashed line) which are fitted to the data. The light blue line represents the combined fit, while the black dotsare the data

Fig. 11
figure 11

Correction factors [\(\varepsilon \)(\(p_\mathrm{{T}}\)) in Eq. 2] for \(\pi ^{+}\), \(K^{+}\) and \(p\) (left panel) and their antiparticles (right panel) accounting for PID efficiency, detector acceptance, reconstruction and selection efficiencies for ITS-sa (red circles), TPC–TOF (light blue squares), TOF (green diamonds), HMPID (black stars) and kink (purple crosses) analyses

The correction for secondary-particle contamination is relevant for \(\pi ^\pm \) (from 10 % at low \(p_\mathrm{{T}}\) to \(<\)2 % at high \(p_\mathrm{{T}}\)), p and \({\overline{{p}}}\) (from 35 % at low \(p_\mathrm{{T}}\) to 2 % at high \(p_\mathrm{{T}}\)). Due to the different track and PID selections the contribution of secondaries is different for each analysis.

In the case of kaons, the contamination from secondary particles is negligible, except for the TPC–TOF analysis where a contamination originating from secondary \(\mathrm {e}^{\pm }\) produced by photon conversions in the detector material is present. This contamination is significant only in the momentum range 0.4 \(<\) \(p\) \(<\) 0.6 GeV/\(c\), where the d\(E\)/d\(x\) of kaons and electrons in the TPC gas are similar, not allowing for their separation, as shown in Fig. 2. Therefore, in the case of kaons, the fit to the DCA\(_{xy}\) distributions is used only in the TPC–TOF analysis for \(p_\mathrm{{T}}\) \( < \) 0.5 GeV/\(c\) to subtract the contamination due to secondary \(\mathrm {e}^{\pm }\). This contamination is about 16 % for \(p_\mathrm{{T}}\) \(=\) 0.5 GeV/\(c\).

The resulting spectra are corrected for the detector acceptance and for the reconstruction and selection efficiencies. This correction is specific to each analysis and accounts for the acceptance of the detector used in the PID procedure, the trigger selection and the vertex and track reconstruction efficiencies. They are evaluated by performing the same analyses on simulated events generated with PYTHIA 6.4 (Perugia0 tune) [25]. The particles are propagated through the detector using the GEANT3 transport code [33], where the detector geometry and response as well as the data taking conditions are reproduced in detail.

In Fig. 11 the efficiency \(\varepsilon \)(\(p_\mathrm{{T}}\)), specific to each analysis, accounting for PID efficiency, acceptance, reconstruction and selection efficiencies are shown. The lower value of \(\varepsilon \) for HMPID and kink analyses is due to the limited geometrical acceptance of the HMPID detector and to the limited TPC fiducial volume used for the kink vertex reconstruction. The drop in the correction for the TPC–TOF analysis at \(p_\mathrm{{T}}\) \(=\) 0.6 GeV/\(c\) for pions and protons and \(p_\mathrm{{T}}\) \(=\) 0.5 GeV/\(c\) for kaons is due to the efficiency of track propagation to the TOF. The ITS-sa analysis has a larger kaon efficiency than the TPC–TOF analysis at low \(p_\mathrm{{T}}\) because the ITS-sa tracking allows the reconstruction of kaons that decay before reaching the TPC. The corrections for particles (left panel of Fig. 11) and antiparticles (right panel) are compatible within the uncertainties.

Since GEANT3 does not describe well the interaction of low-momentum \({\overline{{p}}}\) and \(K^{-}\) with the material, corrections to the efficiencies, estimated with a dedicated FLUKA simulation [29, 34], are applied. The correction factor \(f\)(\(p_\mathrm{{T}}\)) is 0.71 \(<\) \(f\)(\(p_\mathrm{{T}}\)\(<\) 1 for \({\overline{{p}}}\) and 0.95 \(<\) \(f\)(\(p_\mathrm{{T}}\)\(<\) 1 for \(K^{-}\).

The corrected spectra are, finally, normalised to the number of inelastic proton–proton collisions that is obtained from the number of analysed minimum-bias events via the scaling factor 0.852 as described in [35].

2.5 Systematic uncertainties

Table 2 Sources of systematic uncertainties on the corrected spectra \(\frac{\mathrm{d}^{2} N}{\mathrm{d} p_\mathrm{{T}} \mathrm{d} y}\). In case of \(p_\mathrm{{T}}\)-dependent systematic uncertainty, the values in the lowest and highest \(p_\mathrm{{T}}\) intervals are reported

The main sources of systematic uncertainties, for each analysis, are summarised in Table 2. They are related to the PID procedure, the subtraction of the contribution from secondary particles, imperfect description of the material budget in the Monte-Carlo simulation, particle interactions in the detector material, tracking efficiency and variables used for the track selection.

The systematic uncertainties introduced by the PID procedure are estimated differently depending on the specific analysis. In the ITS-sa analysis different techniques are used for the identification: a 3\(\sigma \) compatibility cut and an unfolding method as described in Sect. 2.3.1. In the TPC–TOF analysis the 3\(\sigma \) selection is varied to 2\(\sigma \) and 4\(\sigma \). Furthermore, the systematic uncertainty on the estimated contamination from misidentified hadrons, which is due to the different relative abundances of pions, kaons and protons in data and simulation, has been estimated to be below 1 % for pions and protons and below 4 % for kaons. In TOF and HMPID analyses the parameters of the fit function used to extract the raw yields are varied (one at a time) by \(\pm \)10 %.

The systematic uncertainty due to the subtraction of secondary particles is estimated by changing the fit range of the DCA\(_{xy}\) distribution. The shape of the DCA\(_{xy}\) template for \(p\) and \({\overline{{p}}}\) from weak decays is also varied by modifying the relative contribution of the different mother particles. The main sources of p and \({\overline{{p}}}\) from weak decays are \(\Lambda \) and \(\Sigma ^{+}\) (and their antiparticles), which have significantly different mean proper decay lengths (\(c\tau \) \(=\) 7.89 and 2.404 cm, respectively [36]). Therefore, the DCA template of protons from weak decays depends on the \(\Lambda \) to \(\Sigma ^{+}\) ratio in the event generator used in the simulation.

To evaluate the systematic effect due to the uncertainty in the material budget (about \(\pm \)7 % [37]), the efficiency corrections are computed by using Monte-Carlo simulations with the material budget modified by this percentage. The systematic uncertainties in modelling the particle interactions with the detector material are evaluated using different transport codes, as described in [29].

For all the analyses, the systematic uncertainties related to tracking procedure are estimated by varying the track selection criteria (e.g. number of crossed readout rows in TPC, number of clusters in ITS, DCA\(_z\), DCA\(_{xy}\)) reported in Sect. 2.2. For global tracks an additional uncertainty, related to the ITS–TPC matching, is also included. It is estimated by comparing the matching efficiency in data and Monte-Carlo simulations.

Further systematic uncertainty sources, specific to each analysis, are also evaluated. In the case of the ITS-sa analysis, the Lorentz force causes shifts of the cluster position in the ITS, pushing the charge in opposite directions depending on the polarity of the magnetic field of the experiment (\(E{\times }B\) effect). This effect is not fully reproduced in the simulation. It is estimated by analysing data samples collected with different magnetic field polarities, which resulted in an uncertainty of 3 %. In the case of TPC–TOF and TOF analyses, the influence of the material budget on the matching of global tracks with hits in the TOF detector is computed by comparing the matching efficiency for tracks traversing a different amount of material, in particular sectors with and without transition radiation detector (TRD) modules installed. In the HMPID analysis, the \(d_\mathrm{{MIP-trk}}\) cut selection is varied to check its systematic effect on the matching of global tracks with HMPID signals.

In the kink analysis, the total systematic uncertainty is calculated as the quadratic sum of the contributions listed in Table 2. The kaon misidentification correction (1 \(-\) purity) described in Sect. 2.3.5, which is on average 2.1 %, depends on the relative particle abundances in the Monte-Carlo and a \(p_\mathrm{{T}}\)-dependent uncertainty of about 2 % on the purity is estimated. The kink identification uncertainty (3 %, almost flat in the considered \(p_\mathrm{{T}}\) region) is also estimated with Monte-Carlo simulations by comparing the results by varying slightly some parameters of the analysis: the fiducial volume of the TPC is increased from the nominal 130 \( < R < \) 200 to 20 \( < R < \) 210 cm, the \(q_\mathrm {T}\) threshold is reduced from the nominal 120 to 40 MeV/\(c\), and the requirement on the number of TPC clusters of the mother track is increased from the nominal 20 to 50 clusters.

The systematic uncertainty on the efficiency for findable kink vertices was estimated to be 3 % independently of \(p_\mathrm{{T}}\) by comparing, in real data and Monte Carlo simulations, the number of raw reconstructed kinks per kink radius unit in two different fiducial volumes inside the TPC, namely 130–200 and 140–190 cm.

Finally, a systematic uncertainty common to each analysis is related to the normalisation to inelastic collisions. The normalisation factor was evaluated in [35] and it is 0.852\(^{+0.062}_{-0.030}\).

All described uncertainties are strongly correlated among the \(p_\mathrm{{T}}\) bins. Most of the uncertainties (e.g. tracking efficiency, ITS–TPC matching, TOF matching, material budget or PID) are also correlated between the different particle species.

Fig. 12
figure 12

Top panel \(p_\mathrm{{T}}\) spectra of \(\pi \), \(K\) and \(p\), sum of particles and antiparticles, measured with ALICE at mid-rapidity (\(|y| <\) 0.5) in pp collisions at \(\sqrt{s}= 7\) TeV by using different PID techniques. The spectra are normalised to the number of inelastic collisions. Statistical (vertical error bars) and systematic (open boxes) uncertainties are reported. The horizontal width of the boxes represents the \(p_\mathrm{{T}}\)-bin width. The markers are placed at the bin centre. Bottom panels ratio between the spectra obtained from each analysis and the combined one. The error bands represent the total systematic uncertainties for each analysis. The uncertainty due to the normalisation to inelastic collisions (\( ^{+7}_{-4} \,\%\)), common to the five PID analyses, is not included

3 Results

The mid-rapidity (\(|y| <\) 0.5) transverse momentum spectra of \(\pi ^{+}+\pi ^{-}\), \(K^{+}+K^{-}\) and \(p\) \(+\) \({\overline{{p}}}\) obtained with the five analysis techniques discussed in Sect. 2, normalised to the number of inelastic collisions \(N_\mathrm{{INEL}}\), are reported in the top panel of Fig. 12. For a given hadron species, the spectra of particles and antiparticles are found to be compatible within uncertainties. Therefore, all the spectra shown in this section are reported for summed charges. Since in their overlap \(p_\mathrm{{T}}\) regions the spectra from the different PID techniques are consistent within uncertainties, they are averaged in a sequential procedure. The first step consists in averaging the two analyses whose results are the most closely correlated (namely TPC–TOF and TOF). Successively, the other analyses are added one-by-one to the running average according to their degree of correlation with the previous ones. At each step of this sequential procedure, a weighted average of two spectra is computed by using as weights the inverse of the squares of the uncorrelated systematic uncertainties. The uncorrelated and correlated uncertainties are propagated separately through the weighted average formula. In Fig. 13 the \(\pi \), \(K\) and \(p\) spectra, resulting from the combination of the five analyses, are reported. The bottom panels of Fig. 12 show the ratios between the spectra from each analysis and the combined one: the former are considered with their total systematic uncertainties, the latter without uncertainty. The uncertainty due to the normalisation to inelastic collisions (\( ^{+7}_{-4} \,\%\)), common to the five PID analyses, is not included. The agreement between each analysis and the combined one is satisfactory, being within the total systematic uncertainties.

To extrapolate to zero and infinite momentum, the combined spectra reported in Fig. 13 are fitted with the Lévy–Tsallis function [38, 39]

$$\begin{aligned} \frac{\mathrm{d}^{2} N}{\mathrm{d} p_\mathrm{{T}} \mathrm{d} y} = p_\mathrm{{T}} \frac{\mathrm{d} N}{\mathrm{d} y} K \left( 1 + \frac{m_\mathrm{{T}} - m_{0}}{n C} \right) ^{-n}, \end{aligned}$$
(3)

where

$$\begin{aligned} K = \frac{(n - 1) (n - 2)}{n C (n C + m_{0} (n - 2))} \, \,\,\,\,, \end{aligned}$$
(4)

\(m_\mathrm{{T}} = \sqrt{p_\mathrm{{T}}^{2} + m_{0}^{2}}\), \(m_{0}\) is the particle rest mass and \(C\), \(n\) and the yield d\(N\)/d\(y\) are the free parameters. The Lévy–Tsallis function describes rather well the spectra. The \(\chi ^{2}\) per number of degrees of freedom (ndf) of the fit are lower than unity (see Table 3) due to residual correlations in the point-to-point systematic uncertainties. In Table 3 the values of the \(p_\mathrm{{T}}\)-integrated yield d\(N\)/d\(y\) and of the mean transverse momentum \(\langle p_\mathrm{T} \rangle \) are reported for each particle species. They are obtained using the measured data in the \(p_\mathrm{{T}}\) range where they are available and the Lévy–Tsallis function fitted to the data elsewhere, to extrapolate to zero and infinite momentum. The lowest \(p_\mathrm{{T}}\) experimentally accessible and the fraction of yield contained in the extrapolated region are also reported in the table. The extrapolation to infinite momentum gives a negligible contribution to the values of both d\(N\)/d\(y\) and \(\langle p_\mathrm{T} \rangle \). The d\(N\)/d\(y\) and \(\langle p_\mathrm{T} \rangle \) uncertainties reported in Table 3 are the combination of the statistical and the systematic ones. The statistical uncertainties are negligible, while the systematic uncertainties are the sum of two independent contributions. The first contribution is due to the systematic uncertainties on the measured \(p_\mathrm{{T}}\)-differential yields and it was estimated by repeating the Lévy–Tsallis fits moving the measured points within their systematic uncertainties. The second contribution is due to the extrapolation to zero momentum and it is estimated using different fitting functions (namely modified Hagedorn [40] and UA1 parametrisation [41]). Results for positively and negatively charged particles, separately, are also reported. It should be noticed that the yields of particles and antiparticles are compatible within uncertainties.

Fig. 13
figure 13

Combined \(p_\mathrm{{T}}\) spectra of \(\pi \), \(K\) and \(p\), sum of particles and antiparticles, measured with ALICE at mid-rapidity (\(|y| <\) 0.5) in pp collisions at \(\sqrt{s}= 7\) TeV normalised to the number of inelastic collisions. Statistical (vertical error bars) and systematic (open boxes) uncertainties are reported. The uncertainty due to the normalisation to inelastic collisions (\( ^{+7}_{-4} \,\%\)) is not shown. The spectra are fitted with Lévy–Tsallis functions

Table 3 d\(N\)/d\(y\) and \(\langle p_\mathrm{T} \rangle \) extracted from Lévy–Tsallis fits to the measured \(\pi \), \(K, p\) spectra in inelastic pp collisions at \(\sqrt{s}\) \(=\) 7 TeV for \(|y|<0.5\) with combined statistical and systematic uncertainties (statistical uncertainties are negligible) together with the \(p_\mathrm{{T}}\) of the lowest experimentally accessible point (\({\rm L}. \textit{p}_{\rm{T}}\)) and the extrapolated fraction. The systematic uncertainty on d\(N\)/d\(y\) due to normalisation to inelastic collisions (\( ^{+7}_{-4} \,\%\)) is not included

In Fig. 14 the \(p_\mathrm{{T}}\) spectra of identified charged hadrons, sum of particles and antiparticles, measured with ALICE at \(\sqrt{s}= 7\) TeV are compared to the results obtained by the CMS Collaboration at the same centre-of-mass energy [17]. Even though the measurements are performed in different rapidity intervals (\(|y|<0.5\) for ALICE, \(|y|<1\) for CMS), they can be compared since the \(p_\mathrm{{T}}\) spectra are essentially independent of rapidity for \(|y|<1\). A similar comparison at \(\sqrt{s}\) \(=\) 0.9 TeV is reported in [17]. At both energies, the ALICE spectra are normalised to the number of inelastic collisions, while the CMS results are normalised to the double-sided selection (at least one particle with \(E > 3\) GeV in both \(-5 < \eta < -3\) and \(3 < \eta < 5\)). An empirical scaling factor of 0.78, computed by the CMS Collaboration in  [17] for the spectra measured in pp collisions at \(\sqrt{s}\) \(=\) 0.9 TeV, is therefore applied to the CMS data points at \(\sqrt{s}\) \(=\) 7 TeV, to take into account the different event selections (details are given in [17]). With this scaling, the pion and kaon spectra measured with ALICE and CMS are found to agree within uncertainties. The proton spectra have different slopes: for \(p_\mathrm{{T}}\) \(<\) 1 GeV/\(c\) the ALICE and CMS results agree within uncertainties, while at higher \(p_\mathrm{{T}}\) a discrepancy of up to 20 % is observed.

Fig. 14
figure 14

Comparison of \(p_\mathrm{{T}}\) spectra of \(\pi \), \(K\) and \(p\) (sum of particles and antiparticles) measured by the ALICE (\(|y|<0.5\)) and CMS Collaborations (\(|y|<1\)) in pp collisions at \(\sqrt{s}\) \(=\) 7 TeV. The CMS data points are scaled by the empirical factor 0.78, as described in  [17]. Inset plot ratios between ALICE and CMS data in the common \(p_\mathrm{{T}}\) range. The combined ALICE and CMS statistical (vertical error bars) and systematic (open boxes) uncertainties are reported. The combined ALICE (\( ^{+7}_{-4} \,\%\)) and CMS (\(\pm 3\,\%\)) normalisation uncertainty is shown as a grey box around 1 and not included in the point-to-point uncertainties

In Fig. 15 the \(\pi \), \(K\) and \(p\) integrated yields, d\(N\)/d\(y\), are compared with similar measurements in the central rapidity region at various collision energies. In particular, results from ALICE at \(\sqrt{s}\) \(=\) 900 GeV [15] and \(\sqrt{s}\) \(=\) 2.76 TeV [16], PHENIX at \(\sqrt{s}\) \(=\) 62.4 GeV and \(\sqrt{s}\) \(=\) 200 GeV [18] and CMS, scaled by the empirical factor 0.78, at \(\sqrt{s}\) \(=\) 900 GeV, \(\sqrt{s}\) \(=\) 2.76 TeV and \(\sqrt{s}\) \(=\) 7 TeV [17] are shown. The d\(N\)/d\(y\) values from PHENIX are reported for particles and antiparticles separately, while the results at large hadron collider (LHC) energies are the average between positively and negatively charged particles, since particle and antiparticle spectra are compatible at these energies. We notice that the CMS Collaboration does not include, in the systematic uncertainties associated to d\(N\)/d\(y\) and \(\langle p_\mathrm{T} \rangle \), the contribution due to the extrapolation to \(p_\mathrm{{T}}\) \(=\) 0. For this reason, in Figs. 16 and 17, the ALICE uncertainties are larger than the CMS ones. Similar results from the STAR Collaboration [42] are not included, here and in the following plots, since they are provided for non-single diffractive events and include contributions of feed-down from weak decays.

Fig. 15
figure 15

\(p_\mathrm{{T}}\)-integrated yields d\(N\)/d\(y\) of \(\pi \), \(K\) and \(p\) as a function of the centre-of-mass energy in pp collisions. PHENIX results are for separate charges, while CMS and ALICE results are the average of the d\(N\)/d\(y\) of particles and antiparticles. ALICE and CMS points are slightly shifted along the \(x\)-axis for a better visualisation. Errors (open boxes) are the combination of statistical (negligible), systematic and normalisation uncertainties

The (\(K^{+}+K^{-}\))/(\(\pi ^{+}+\pi ^{-})\) and (\(p\) \(+\) \({\overline{{p}}}\))/(\(\pi ^{+}+\pi ^{-}\)) ratios, as a function of the centre-of-mass energy, are shown in the top and bottom panels of Fig. 16, respectively. Results at mid-rapidity from ALICE at \(\sqrt{s}\) \(=\) 0.9, 2.76 [15, 16] and 7 TeV, CMS at \(\sqrt{s}\) \(=\) 0.9, 2.76 and 7 TeV [17], PHENIX at \(\sqrt{s}\) \(=\) 62.4 and 200 GeV [18] and NA49 at \(\sqrt{s}\) \(=\) 17.3 GeV [1921] are displayed. The ratio (\(p\) \(+\) \({\overline{{p}}}\))/(\(\pi ^{+}+\pi ^{-}\)) from NA49, calculated from the measured particle yields, is not reported because the uncertainty cannot be computed from the results published in [1921]. Results in proton–antiproton collisions from E735 at \(\sqrt{s}\) \(=\) 0.3, 0.54, 1 and 1.8 TeV [22, 23] and UA5 at \(\sqrt{s}\) \(=\) 0.2, 0.546 and 0.9 TeV [24] are reported, but a direct comparison with them is not straightforward due to different baryon number in the initial state. The E735 Collaboration provides measurements only for \({\overline{{p}}}\) and not for p yields. Hence the proton-to-pion ratio is computed as 2\({\overline{{p}}}\)/(\(\pi ^{+}+\pi ^{-}\)). In addition, the E735 results for the proton-to-pion ratio are shown in Fig. 16 only for \(\sqrt{s}\) \(=\) 1.8 TeV because at the other energies the \({\overline{{p}}}\) spectra include contributions of feed-down from weak decays and are not directly comparable with the measurements provided by the other experiments. For \(\sqrt{s}\) \(>\) 0.9 TeV, no dependence on the centre-of-mass energy of the (\(K^{+}+K^{-}\))/(\(\pi ^{+}+\pi ^{-})\) and (\(p\) \(+\) \({\overline{{p}}}\))/(\(\pi ^{+}+\pi ^{-}\)) ratios is observed within uncertainties.

Fig. 16
figure 16

(\(K^{+}+K^{-}\))/(\(\pi ^{+}+\pi ^{-}\)) (top) and (p+\({\overline{{p}}}\))/(\(\pi ^{+}+\pi ^{-}\)) (bottom) ratios in pp and p\(\overline{\mathrm {p}}\) collisions as a function of the collision energy \(\sqrt{s}\). Errors (open boxes) are the combination of statistical (negligible) and systematic uncertainties

In Fig. 17 the average transverse momenta \(\langle p_\mathrm{T} \rangle \) of pions, kaons and protons, extracted from the sum of particle and antiparticle spectra, as a function of the centre-of-mass energy are reported. Results at mid-rapidity in proton–proton collisions from ALICE at \(\sqrt{s}\) \(=\) 0.9, 2.76 [15, 16] and 7 TeV, CMS at \(\sqrt{s}\) \(=\) 0.9, 2.76 and 7 TeV [17] and PHENIX at \(\sqrt{s}\) \(=\) 62.4 and 200 GeV [18] are shown. In addition measurements obtained with E735 at \(\sqrt{s}\) \(=\) 0.3, 0.54, 1 and 1.8 TeV [22] and UA5 at \(\sqrt{s}\) \(=\) 0.2, 0.546, 0.9 TeV [24] in proton–antiproton collisions are also reported. The values of \(\langle p_\mathrm{T} \rangle \) of \({\overline{{p}}}\) from E735 are not shown since the spectra include contributions of feed-down from weak decays and hence are not directly comparable with the values provided by the other experiments. A slight increase of \(\langle p_\mathrm{T} \rangle \) with increasing centre-of-mass energy is observed. This rising trend is in particular apparent for \(\sqrt{s}\) \(>\) 0.9 TeV and it could be related to the increasing importance of hard processes at these energies. At \(\sqrt{s}\) \(=\) 7 TeV, the ALICE and CMS results are consistent within uncertainties except for the proton \(\langle p_\mathrm{T} \rangle \). This discrepancy is mostly due to the difference in the shape of the proton spectra seen in Fig. 14, rather than to the extrapolation to the unmeasured \(p_\mathrm{{T}}\) range: a 13 % difference is observed on the \(\langle p_\mathrm{T} \rangle \) values calculated from the ALICE and CMS data points in the common \(p_\mathrm{{T}}\) range.

Fig. 17
figure 17

(Colour online) \(\langle p_\mathrm{T} \rangle \) as a function of the centre-of-mass energy. Errors (open boxes) are the combination of statistical (negligible) and systematic uncertainties. Normalisation uncertainties are not included

4 Comparison to models

The comparison between the measured \(p_\mathrm{{T}}\) spectra of \(\pi \), \(K\) and \(p\) and the calculations of QCD-inspired Monte-Carlo event generators gives useful information on hadron production mechanisms. Figure 18 shows the comparison of the measured pion, kaon and proton \(p_\mathrm{{T}}\) spectra, sum of particles and antiparticles, with two tunes of the PYTHIA6 generator (PYTHIA6-CentralPerugia2011 [25] and PYTHIA6-Z2 [26]),Footnote 1 PYTHIA8 tune 4Cx [2, 3], EPOS LHC [4, 5] and PHOJET [6].

These event generators are often used and tested to describe hadron collisions at high energies. PYTHIA is a general-purpose pQCD-based event generator, which uses a factorised perturbative expansion for the hardest parton–parton interaction, combined with parton showers and detailed models of hadronisation and multiparton interactions. All presented PYTHIA tunes use a colour reconnection mechanism [1] which can mimic effects similar to that induced by collective flow in Pb–Pb collisions [44]. In both PHOJET and EPOS, which are microscopic models that utilise the colour-exchange mechanism of string excitation, the hadronic interactions are treated in terms of Reggeon and Pomeron exchanges.

PYTHIA6-Z2 tune is based on the first measurement of multiplicity distributions in minimum-bias pp collisions at \(\sqrt{s}\)  \(=\) 900 GeV at the LHC. In the CentralPerugia2011 tuning both LEP fragmentation functions and minimun-bias charged particle multiplicity and underlying event data from the LHC are used. Both PYTHIA8 and EPOS LHC are tuned to reproduce the existing data available from the LHC (e.g. multiplicity and, for EPOS, also identified hadron production up to 1 GeV/\(c\) for pions and kaons and up to 1.5 GeV/\(c\) for protons). The PHOJET parameters are not retuned using the LHC data.

The measured pion \(p_\mathrm{{T}}\) spectrum is reproduced by EPOS within 15 % over the whole \(p_\mathrm{{T}}\) range. PYTHIA6-Z2, PYTHIA6-CentralPerugia2011 and PYTHIA8 show similar trends. They correctly predict the shapes of the pion spectra for \(p_\mathrm{{T}}\) \(>\) 500 MeV/c, overestimating the data by about 10, 20 and 25 %, respectively, while the shapes differ from data for \(p_\mathrm{{T}}\) \(<\) 200 MeV/\(c\) (the ratios are not flat) and the yields are underestimated by up to 30 %. The PHOJET generator does not provide a satisfactory description of the measured spectrum shape for any of the particle species. The deviations from the data show a maximum for \(p_\mathrm{{T}}\) \(\sim \) 1.2 GeV/\(c\) and are more pronounced for kaons and protons than for pions. All the tested Monte-Carlo generators underestimate the kaon yield by about 20–30 % for \(p_\mathrm{{T}}\) \(>\) 600 MeV/\(c\), while for \(p_\mathrm{{T}}\) \(<\) 400 MeV/\(c\) they overestimate the data by up to 30 %. A similar deviation is observed by the ALICE Collaboration also for other strange particle species with a hierarchy depending on the strangeness content [45]. The proton yield is well described by EPOS only at low transverse momenta (\(p_\mathrm{{T}}\) \(<\) 1 GeV/\(c\)), while the generator tends to overestimate the data by up to 30 % at higher \(p_\mathrm{{T}}\). None of the three PYTHIA tunes describes the shape of the proton spectrum in the full \(p_\mathrm{{T}}\) range. All of them give a reasonable description of the yield in the range 1 \(< \) \(p_\mathrm{{T}}\) \( <\) 2 GeV/\(c\), but they overestimate the data at lower and higher \(p_\mathrm{{T}}\) by up to 40 %.

Fig. 18
figure 18

Top panel measured \(p_\mathrm{{T}}\) spectra of pions, kaons and protons, sum of particles and antiparticles, compared to PYTHIA6-Z2, PYTHIA6-CentralPerugia2011, PYTHIA8, EPOS LHC and PHOJET Monte-Carlo calculations. Statistical (vertical error bars) and systematic (open boxes) uncertainties are reported for the measured spectra. Bottom panels ratios between data and Monte-Carlo calculations

The comparison of the \(p_\mathrm{{T}}\)-dependent particle ratios with models allows the hadronisation and soft parton interaction mechanisms implemented in the event generators to be tested. In the left and right panels of Fig. 19, the measured (\(K^{+}+K^{-}\))/(\(\pi ^{+}+\pi ^{-})\) and (\(p\) \(+\) \({\overline{{p}}}\))/(\(\pi ^{+}+\pi ^{-})\) ratios as a function of \(p_\mathrm{{T}}\) are compared with the same event generators shown in Fig. 18. The measured (\(K^{+}+K^{-}\))/(\(\pi ^{+}+\pi ^{-})\) ratio increases from 0.05 at \(p_\mathrm{{T}}\) \(=\) 0.2 GeV/\(c\) up to 0.45 at \(p_\mathrm{{T}}\) \(\sim \) 3 GeV/\(c\) with a slope that decreases with increasing \(p_\mathrm{{T}}\). All the models underestimate the data at high momenta, with EPOS exhibiting the smallest deviation. The measured (\(p\) \(+\) \({\overline{{p}}}\))/(\(\pi ^{+}+\pi ^{-})\) shows an increase from 0.03 at \(p_\mathrm{{T}}\) \(=\) 0.3 GeV/\(c\) up to 0.25 at \(p_\mathrm{{T}}\) \(\sim \) 1.5 GeV/\(c\), while above this \(p_\mathrm{{T}}\) it tends to flatten. The data are well described by PYTHIA6-Z2, while PYTHIA6-CentralPerugia2011, PHOJET and EPOS show a large deviation at high momenta. PYTHIA8 shows a smaller deviation over the whole momentum range even if, as seen in Fig. 18, it overestimates both pion and proton spectra.

The comparison between data and Monte-Carlo calculations shows that the tunes of the generators based only on few global observables, such as the integrated charged hadron multiplicity, allow only for a partial description of the data. The high-precision measurements of the identified charged hadron \(p_\mathrm{{T}}\) spectra reported here, which cover a wide momentum range in the central rapidity region, give useful information for a fine tuning of the Monte-Carlo generators and a better understanding of soft particle production mechanisms at LHC energies.

Fig. 19
figure 19

Measured (\(K^{+}+K^{-}\))/(\(\pi ^{+}+\pi ^{-})\) (left) and (\(p\) \(+\) \({\overline{{p}}}\))/(\(\pi ^{+}+\pi ^{-})\) (right) ratios as a function of \(p_\mathrm{{T}}\) compared to PYTHIA6-Z2, PYTHIA6-CentralPerugia2011, PYTHIA8, EPOS LHC and PHOJET calculations. Statistical (vertical error bars) and systematic (open boxes) uncertainties are reported for the measured spectra

5 Summary

A detailed analysis of primary \(\pi ^{\pm }\), \(K^{\pm }\), \(p\) and \({\overline{{p}}}\) production in proton–proton collisions at \(\sqrt{s}\) \(=\) 7 TeV with the ALICE detector has been performed. Particle identification is performed using several techniques namely the specific ionisation energy loss measured in the ITS and TPC, the time of flight measured with the TOF detector, the Cherenkov radiation measured in the HMPID and the kink-topology identification of the weak decays of charged kaons. The combination of these techniques allows for precision measurements of the \(p_\mathrm{{T}}\) spectra over a wide momentum range: from 0.1 up to 3 GeV/\(c\) for pions, from 0.2 up to 6 GeV/\(c\) for kaons and from 0.3 up to 6 GeV/\(c\) for protons. A comparison of the ALICE results with similar measurements performed by the PHENIX Collaboration at RHIC shows that the \(p_\mathrm{{T}}\)-integrated yields increase with collision energy for all the measured particle species. A slight increase of the \(\langle p_\mathrm{T} \rangle \) with \(\sqrt{s}\) is also observed. This rising trend that becomes apparent at \(\sqrt{s}\) \(>\) 0.9 TeV is established by the higher \(\sqrt{s}\) LHC data. It could be related to the increasing importance of hard processes at these energies. The \(p_\mathrm{{T}}\)-integrated K/\(\pi \) and p/\(\pi \) ratios extend the measurements available at lower collision energies from SPS, Sp\(\overline{\mathrm{p}}\)S and RHIC experiments showing a saturation above \(\sqrt{s}\) \(=\) 0.9 TeV. Finally, the \(p_\mathrm{{T}}\) spectra and particle ratios have been compared with the calculations of QCD-inspired Monte-Carlo models namely PYTHIA6-Z2, PYTHIA6-CentralPerugia2011, PYTHIA8, EPOS LHC and PHOJET. Even though the shapes of the spectra are fairly well reproduced by all models (except PHOJET that fails to describe the spectrum shape of all the three hadron species), none of them can describe simultaneously the measured yields of pions, kaons and protons. These results can be used for a better understanding of the hadron production mechanisms in pp interactions at LHC energies and could further constrain the parameters of the models.