Measurements of the associated production of a W boson and a charm (c) quark in proton-proton collisions at a centre-of-mass energy of 8 TeV are reported. The analysis uses a data sample corresponding to a total integrated luminosity of 19.7 fb$^{-1}$ collected by the CMS detector at the LHC. The W bosons are identified through their leptonic decays to an electron or a muon, and a neutrino. Charm quark jets are selected using distinctive signatures of charm hadron decays. The product of the cross section and branching fraction $\sigma$(pp $\to$ W + c + X) $\mathcal{B}$(W $\to$$\ell\nu$), where $\ell$ = e or $\mu$, and the cross section ratio $\sigma$(pp $\to$ W$^+$ + c + X) / $\sigma$(pp $\to$ W$^-$ + $\mathrm{\bar{c}}$ + X) are measured inclusively and differentially as functions of the pseudorapidity and of the transverse momentum of the lepton from the W boson decay. The results are compared with theoretical predictions. The impact of these measurements on the determination of the strange quark distribution is assessed.
The strange quark content of the proton is probed through the measurement of the production cross section for a W boson and a charm (c) quark in proton-proton collisions at a center-of-mass energy of 13 TeV. The analysis uses a data sample corresponding to a total integrated luminosity of 138 fb$^{-1}$ collected with the CMS detector at the LHC. The W bosons are identified through their leptonic decays to an electron or a muon, and a neutrino. Charm jets are tagged using the presence of a muon or a secondary vertex inside the jet. The W+c production cross section and the cross section ratio $R^\pm_\text{c}$ = $\sigma$(W$^+$+$\bar{\text{c}}$) / $\sigma$(W$^-$+$\text{c}$) are measured inclusively and differentially as functions of the transverse momentum and the pseudorapidity of the lepton originating from the W boson decay. The precision of the measurements is improved with respect to previous studies, reaching 1% in $R^\pm_\text{c}$. The precision of the measurements is improved with respect to previous studies, reaching 1% in $R^\pm_\text{c}$ = 0.950 $\pm$ 0.005 (stat) $\pm$ 0.010 (syst). The measurements are compared with theoretical predictions up to next-to-next-to-leading order in perturbative quantum chromodynamics.