The $B^{\pm}$ meson production asymmetry in $pp$ collisions is measured using $B^+ \to \bar{D}^0 \pi^+$ decays. The data were recorded by the LHCb experiment during Run 1 of the LHC at centreofmass energies of $\sqrt{s}=$ 7 and 8 TeV. The production asymmetries, integrated over transverse momenta in the range $2 < p_{\rm T} < 30$ GeV/$c$, and rapidities in the range $2.1 < y < 4.5$, are measured to be \begin{align*} \mathcal{A}_{\rm prod}(B^+,\sqrt{s}=7 {\rm TeV}) &= (0.41 \pm 0.49 \pm 0.10) \times 10^{2},\\ \mathcal{A}_{\rm prod}(B^+,\sqrt{s}=8 {\rm TeV}) &= (0.53 \pm 0.31 \pm 0.10) \times 10^{2}, \end{align*} where the first uncertainties are statistical and the second are systematic. These production asymmetries are used to correct the raw asymmetries of $B^{+} \to J/\psi K^{+}$ decays, thus allowing a measurement of the $CP$ asymmetry, \begin{equation*} \mathcal{A}_{CP} = (0.09 \pm 0.27 \pm 0.07) \times 10^{2}. \end{equation*}
Tree and loop (penguin) diagrams for the $ B ^+ \rightarrow { J \mskip 3mu/\mskip 2mu\psi \mskip 2mu} K ^+ $ decay. 
Fig1a.pdf [19 KiB] HiDef png [40 KiB] Thumbnail [19 KiB] *.C file 

Fig1b.pdf [41 KiB] HiDef png [61 KiB] Thumbnail [29 KiB] *.C file 

Mass distributions of selected (top) $ B ^\pm \rightarrow [ K ^\pm \pi ^\mp ]_{D}\pi^{\pm}$ and (bottom) $ B ^\pm \rightarrow [ K ^\pm \pi ^\pm \pi ^\mp \pi ^\mp ]_{D}\pi^{\pm}$ candidates in the bin with $4.5 < p_{\mathrm{ T}} < 9.5$ $ {\mathrm{ Ge V /}c}$ and $2.10 < y < 2.85$. These distributions sum over the two centreofmass energies. $B^{}$ candidates are displayed on the left, and $B^{+}$ candidates on the right. The red dotted lines indicate the contribution from $ B ^\pm \rightarrow D\pi^{\pm}$ decays. The purple dashdotted lines indicate the contribution from misidentified $ B ^\pm \rightarrow DK^{\pm}$ decays. The grey shaded regions at low values of reconstructed mass indicate the contribution from various partially reconstructed $B$ decays, and the green dashed lines indicate the combinatorial background. The total fit function is shown by the blue solid lines. The fit in other kinematic bins is similar, aside from the specific signal and background component yields. 
Fig2a.pdf [43 KiB] HiDef png [350 KiB] Thumbnail [183 KiB] *.C file 

Fig2b.pdf [43 KiB] HiDef png [320 KiB] Thumbnail [174 KiB] *.C file 

Mass distribution of selected $B^{\pm} \rightarrow { J \mskip 3mu/\mskip 2mu\psi \mskip 2mu} K^{\pm}$ candidates in the bin with $4.5 < p_{\mathrm{ T}} < 9.5$ $ {\mathrm{ Ge V /}c}$ and $2.10 < y < 2.85$. These distributions sum over the two centreofmass energies. $B^{}$ candidates are displayed on the left, and $B^{+}$ candidates on the right. The signal components are displayed as red dotted lines while the background from combinatorial events is shown by the green dashed lines. The fit in other kinematic bins is similar, aside from the specific signal and background component yields. 
Fig3.pdf [25 KiB] HiDef png [138 KiB] Thumbnail [96 KiB] *.C file 

The measured $\mathcal{A}_{\rm prod}( B ^+ )$ as a function of rapidity of the $B$ meson in three bins of $ p_{\mathrm{ T}} $. The ranges of $p_{\mathrm{ T}}$ are indicated in the legends. The left and righthand figures correspond to 7 and 8 TeV centreofmass energies, respectively. 
Fig4a.pdf [14 KiB] HiDef png [118 KiB] Thumbnail [112 KiB] *.C file 

Fig4b.pdf [14 KiB] HiDef png [120 KiB] Thumbnail [113 KiB] *.C file 

Animated gif made out of all figures. 
PAPER2016054.gif Thumbnail 
The $p_{\mathrm{ T}}$ and $y$ intervals for each kinematic bin, and the corresponding signal yields in each of the $B^+$ decay modes, summing over the two centreofmass energies. 
Table_1.pdf [46 KiB] HiDef png [125 KiB] Thumbnail [64 KiB] tex code 

A summary of the terms that enter the production asymmetry determination (Eq. 5) in the 7 TeV data set. The $p_{\mathrm{ T}}$ and $y$ intervals of each bin are provided in Tab. 1. The L0 trigger asymmetry $\mathcal{A}_{\rm det}^{\rm TIS}$ is omitted from this table since it is assumed to be independent of the $ B ^+ $ kinematics. All uncertainties are statistical. 
Table_2.pdf [51 KiB] HiDef png [104 KiB] Thumbnail [54 KiB] tex code 

A summary of the terms that enter the production asymmetry determination (Eq. 5) in the 8 TeV data set. The L0 trigger asymmetry $\mathcal{A}_{\rm det}^{\rm TIS}$ is omitted from this table since it is assumed to be independent of the $ B ^+ $ kinematics. All uncertainties are statistical. 
Table_3.pdf [51 KiB] HiDef png [106 KiB] Thumbnail [54 KiB] tex code 

Systematic uncertainties on the $\mathcal{A}_{\rm prod}( B ^+ )$ measurement. The $\mathcal{A}_{ C P }^{D\pi}$ uncertainty varies between the kinematic bins and the range is indicated. All systematic uncertainties are considered to be correlated between kinematic bins. 
Table_4.pdf [51 KiB] HiDef png [70 KiB] Thumbnail [32 KiB] tex code 

The measured $\mathcal{A}_{\rm prod}$ values for each kinematic bin and integrated over the full kinematic acceptance, $2 < p_{\mathrm{ T}} < 30$ $ {\mathrm{ Ge V /}c}$ and $2.1 < y < 4.5$. The integrated values sum over the asymmetries in each bin, weighted by the values, $w$, in the second and fourth columns for the two centreofmass energies. The first uncertainty is the statistical uncertainty on $\mathcal{A}_{\rm raw}^{D\pi}$ and is uncorrelated between the kinematic bins. The second uncertainty is the statistical uncertainty on the detection asymmetry corrections and is taken to be correlated between the kinematic bins. The third uncertainty is purely systematic and is assumed to be correlated between bins. 
Table_5.pdf [45 KiB] HiDef png [123 KiB] Thumbnail [61 KiB] tex code 

Residual differences $\delta \mathcal{A}_{\rm det}^{K\pi}$ , measured in each bin of $B$ kinematics. These are the effective values after summing over centreofmass energies and averaging over the two $\overline{ D }{} {}^0$ decay modes. 
Table_6.pdf [49 KiB] HiDef png [219 KiB] Thumbnail [88 KiB] tex code 
Supplementary material full pdf 
Supple[..].pdf [97 KiB] 

FigSup1a.pdf [19 KiB] HiDef png [339 KiB] Thumbnail [452 KiB] *C file 

FigSup1b.pdf [19 KiB] HiDef png [337 KiB] Thumbnail [452 KiB] *C file 
Created on 18 January 2020.