A measurement of the b-hadron production cross section in proton-proton collisions at sqrt(s)=7 TeV is presented. The dataset, corresponding to 85 inverse nanobarns, was recorded with the CMS experiment at the LHC using a low-threshold single-muon trigger. Events are selected by the presence of a muon with transverse momentum greater than 6 GeV with respect to the beam direction and pseudorapidity less than 2.1. The transverse momentum of the muon with respect to the closest jet discriminates events containing b hadrons from background. The inclusive b-hadron production cross section is presented as a function of muon transverse momentum and pseudorapidity. The measured total cross section in the kinematic acceptance is sigma(pp to b+X to mu + X') =1.32 +/- 0.01 (stat) +/- 0.30 (syst) +/- 0.15 (lumi) microbarns.
The differential cross sections for inclusive production of B+ hadrons are measured as a function of the B+ transverse momentum pT[B] and rapidity y[B] in pp collisions at a centre-of-mass energy of 13 TeV, using data collected by the CMS experiment that correspond to an integrated luminosity of 49.4 inverse picobarns. The measurement uses the exclusive decay channel B+ to J/psi K+, with J/psi mesons that decay to a pair of muons. The results show a reasonable agreement with theoretical calculations within the uncertainties.