Timeintegrated $CP$ asymmetries in $D^0$ decays to the final states $K^ K^+$ and $\pi^ \pi^+$ are measured using protonproton collisions corresponding to $3\mathrm{\,fb}^{1}$ of integrated luminosity collected at centreofmass energies of $7\mathrm{\,TeV}$ and $8\mathrm{\,TeV}$. The $D^0$ mesons are produced in semileptonic $b$hadron decays, where the charge of the accompanying muon is used to determine the initial flavour of the charm meson. The difference in $CP$ asymmetries between the two final states is measured to be \begin{align} \Delta A_{CP} = A_{CP}(K^K^+)A_{CP}(\pi^\pi^+) = (+0.14 \pm 0.16\mathrm{\,(stat)} \pm 0.08\mathrm{\,(syst)})\% \ . \nonumber \end{align} A measurement of $A_{CP}(K^K^+)$ is obtained assuming negligible $CP$ violation in charm mixing and in Cabibbofavoured $D$ decays. It is found to be \begin{align} A_{CP}(K^K^+) = (0.06 \pm 0.15\mathrm{\,(stat)} \pm 0.10\mathrm{\,(syst)}) \% \ ,\nonumber \end{align} where the correlation coefficient between $\Delta A_{CP}$ and $A_{CP}(K^K^+)$ is $\rho=0.28$. By combining these results, the $CP$ asymmetry in the $D^0\rightarrow\pi^\pi^+$ channel is $A_{CP}(\pi^\pi^+)=(0.20\pm0.19\mathrm{\,(stat)}\pm0.10\mathrm{\,(syst)})\%$.
Invariant mass distributions for muontagged (a) $ D ^0 \!\rightarrow K ^ K ^+ $ , (b) $ D ^0 \!\rightarrow \pi ^ \pi ^+ $ and (c) $ D ^0 \!\rightarrow K ^ \pi ^+ $ candidates and for prompt (d) $ D ^+ \!\rightarrow K ^ \pi ^+ \pi ^+ $ and (e) $ D ^+ \!\rightarrow \overline{ K }{} {}^0 \pi ^+ $ candidates. The results of the fits are overlaid. 
plot_m[..].pdf [31 KiB] HiDef png [192 KiB] Thumbnail [66 KiB] *.C file 

plot_m[..].pdf [33 KiB] HiDef png [200 KiB] Thumbnail [71 KiB] *.C file 

plot_m[..].pdf [29 KiB] HiDef png [160 KiB] Thumbnail [58 KiB] *.C file 

plot_m[..].pdf [29 KiB] HiDef png [161 KiB] Thumbnail [59 KiB] *.C file 

plot_m[..].pdf [30 KiB] HiDef png [184 KiB] Thumbnail [66 KiB] *.C file 

Raw asymmetry in the $ D ^+ \!\rightarrow \overline{ K }{} {}^0 \pi ^+ $ decay shown for (a) long and (b) downstream $ K ^0_{\rm\scriptscriptstyle S}$ candidates versus the $ K ^0_{\rm\scriptscriptstyle S}$ decay time in units of its lifetime. The long $ K ^0_{\rm\scriptscriptstyle S}$ candidates are reconstructed in the full data set, while the downstream $ K ^0_{\rm\scriptscriptstyle S}$ candidates are reconstructed in the 2012 data only. The predicted effect from the $ K ^0$ asymmetry, $ A_D( K ^0 ) $, is also shown. An overall shift is applied to this prediction to account for $ D ^+$ production and pion detection asymmetries (note that the unshifted $ A_D( K ^0 )$ at $t=0$ is zero). 
combin[..].pdf [10 KiB] HiDef png [96 KiB] Thumbnail [40 KiB] *.C file 

combin[..].pdf [11 KiB] HiDef png [97 KiB] Thumbnail [41 KiB] *.C file 

Measured $ K ^ \pi ^+ $ detection asymmetry as a function of the kaon momentum. The shaded band indicates the average asymmetry integrated over the bins. There is a correlation between the data points due to the overlap between the $ D ^+ \!\rightarrow \overline{ K }{} {}^0 \pi ^+ $ samples used for each bin. 
plot_ADKpi.pdf [11 KiB] HiDef png [59 KiB] Thumbnail [15 KiB] *.C file 

Raw asymmetry, without background subtraction, as a function of the invariant mass for (a) the $ D ^0 \!\rightarrow K ^ K ^+ $ candidates and (b) the $ D ^0 \!\rightarrow \pi ^ \pi ^+ $ candidates for the $\Delta A_{\mathcal{C}_{P} }$ selection. The result from the fit is overlaid. 
plot_a[..].pdf [31 KiB] HiDef png [161 KiB] Thumbnail [68 KiB] *.C file 

plot_a[..].pdf [32 KiB] HiDef png [174 KiB] Thumbnail [76 KiB] *.C file 

(a) $\Delta A_{\mathcal{C}_{P} }$ and (b) $ A_{\mathcal{C}_{P} }( K ^ K ^+ )$ as a function of the data taking period. The 2011 data are divided into four periods and the 2012 data into six periods. The error bars indicate the statistical uncertainty, the shaded bands show the averages for 2011 and 2012, and the (red) line shows the overall $ C\!P$ asymmetry. 
runPer[..].pdf [14 KiB] HiDef png [111 KiB] Thumbnail [46 KiB] *.C file 

runPer[..].pdf [14 KiB] HiDef png [117 KiB] Thumbnail [49 KiB] *.C file 

Animated gif made out of all figures. 
PAPER2014013.gif Thumbnail 
Number of signal decays determined from fits to the invariant mass distributions. 
Table_1.pdf [60 KiB] HiDef png [71 KiB] Thumbnail [9 KiB] tex code 

Values of the parameters used to calculate the $ K ^0$ asymmetry [21,25]. 
Table_2.pdf [56 KiB] HiDef png [92 KiB] Thumbnail [14 KiB] tex code 

Asymmetries (in %) entering the calculation of the $ K ^ \pi ^+ $ detection asymmetry for the two magnet polarities, and for the mean value. The correction for the $ K ^0$ asymmetry is applied in the bottom row. The mean values in the last column are obtained first by taking the arithmetic average over the magnet polarities and then by taking the weighted averages of the 2011 and 2012 data sets. The uncertainties are statistical only. 
Table_3.pdf [51 KiB] HiDef png [39 KiB] Thumbnail [6 KiB] tex code 

Asymmetries (in %) used in the calculation of $\Delta A_{\mathcal{C}_{P} }$ for the two magnet polarities. The values for $\Delta A_{\mathcal{C}_{P} }$ are corrected for the mistag probability. The mean values in the last column are obtained first by taking the arithmetic average over the magnet polarities and then by taking the weighted averages of the 2011 and 2012 data sets. The uncertainties are statistical only. 
Table_4.pdf [52 KiB] HiDef png [42 KiB] Thumbnail [7 KiB] tex code 

Asymmetries (in %) used in the calculation of $ A_{\mathcal{C}_{P} }( K ^ K ^+ )$ for the two magnet polarities. The values for $ A_{\mathcal{C}_{P} }( K ^ K ^+ )$ are corrected for the mistag probability. The mean values in the last column are obtained first by taking the arithmetic average over the magnet polarities and then by taking the weighted averages of the 2011 and 2012 data sets. The uncertainties are statistical only. 
Table_5.pdf [58 KiB] HiDef png [52 KiB] Thumbnail [9 KiB] tex code 

Contributions to the systematic uncertainty of $\Delta A_{\mathcal{C}_{P} }$ and $ A_{\mathcal{C}_{P} }( K ^ K ^+ )$ . 
Table_6.pdf [49 KiB] HiDef png [116 KiB] Thumbnail [15 KiB] tex code 
Supplementary material full pdf 
supple[..].pdf [118 KiB] 

This ZIP file contains supplemetary material for the publication LHCbPAPER2014013. The files are: Supplementary.pdf : An overview of the extra figures *.pdf, *.png, *.eps, *.C : The figures in variuous formats 
Fig1aS.pdf [13 KiB] HiDef png [129 KiB] Thumbnail [44 KiB] *C file 

Fig1bS.pdf [17 KiB] HiDef png [566 KiB] Thumbnail [121 KiB] *C file 
Created on 09 December 2018.Citation count from INSPIRE on 09 December 2018.