1 Introduction

A forward–backward asymmetry \({A}_{\mathrm{FB}}\) in the production of Drell–Yan lepton pairs arises from the presence of both vector and axial-vector couplings of electroweak bosons to fermions. For a given dilepton invariant mass M the differential cross section at the parton level at leading order (LO) can be expressed as

$$\begin{aligned} \frac{\mathrm{d}\sigma }{\mathrm{d}(\cos \theta ^{*})} = A (1 + \cos ^{2} \theta ^{*}) + B \cos \theta ^{*}, \end{aligned}$$
(1)

where \(\theta ^{*}\) represents the emission angle of the negatively charged lepton relative to the quark momentum in the rest frame of the dilepton system, and A and B are parameters that depend on M, the electroweak mixing angle \(\theta _\mathrm{W}\), and the weak isospin and charge of the incoming and outgoing fermions. The \({A}_{\mathrm{FB}}\) quantity is

$$\begin{aligned} {A}_\mathrm {FB} = \frac{\sigma _\mathrm {F}-\sigma _\mathrm {B}}{\sigma _\mathrm {F}+\sigma _\mathrm {B}}, \end{aligned}$$
(2)

where \(\sigma _\mathrm {F}\) (\(\sigma _\mathrm {B}\)) is the total cross section for the forward (backward) events, defined by \(\cos \theta ^{*} > 0\) (\(\cos \theta ^{*} < 0\)). \({A}_{\mathrm{FB}}\) depends on M , quark flavor, and the electroweak mixing angle \(\theta _W\). Near the Z boson mass peak \({A}_{\mathrm{FB}}\) is close to zero because of the small value of the lepton vector coupling to Z bosons. Due to weak-electromagnetic interference, \({A}_{\mathrm{FB}}\) is large and negative for M below the Z peak (\(M < 80\) \(\,\text {GeV}\)) and large and positive above the \(\mathrm{Z}\) peak (\(M > 110\) \(\,\text {GeV}\)). Deviations from the SM predictions could result from the presence of additional neutral gauge bosons [15], quark-lepton compositeness [6], supersymmetric particles, or extra dimensions [7]. Around the \(\mathrm{Z}\) peak, measurements of \({A}_{\mathrm{FB}}\) can also be used to extract the effective weak mixing angle \(\sin ^2\theta ^\text {eff}_{\text {lept}}(m_{\mathrm{Z}})\) [8, 9] as well as the \(\mathrm{u}\) and \(\mathrm{d}\) quark weak coupling [912].

To reduce the uncertainties due to the transverse momentum (\({p}_{\mathrm{T}}\)) of the incoming quarks, this measurement uses the Collins–Soper (CS) frame [13]. In this frame, \(\theta ^{*}_{\mathrm {CS}}\) is defined as the angle between the negatively charged lepton momentum and the axis that bisects the angle between the quark momentum direction and the opposite direction to the antiquark momentum. In the laboratory frame, \(\theta ^{*}_{\mathrm {CS}}\) is calculated as

$$\begin{aligned} \cos \theta ^{*}_{\mathrm {CS}}=\frac{2(P^+_{1}P^-_{2}-P^-_{1}P^+_{2})}{\sqrt{Q^2(Q^2+Q_\mathrm {T}^2)}}, \end{aligned}$$
(3)

where Q and \(Q_\mathrm {T}\) represent the four-momentum and the \({p}_{\mathrm{T}}\) of the dilepton system, respectively, while \(P_{1}\) (\(P_{2}\)) represents the four-momentum of \(\ell ^{-}\) (\(\ell ^{+}\)) with \(P^\pm _{i} = (E_{i}\pm P_{z,i})/\sqrt{2}\), and \(E_{i}\) represents the energy of the lepton.

The production of lepton pairs arises mainly from the annihilation of valence quarks with sea antiquarks. At the LHC, the quark and antiquark directions are not known for each collision because both beams consist of protons. In general, however, the quark carries more momentum than the antiquark as the antiquark must originate from the parton sea. Therefore, on average, the dilepton system is boosted in the direction of the valence quark [2, 14, 15]. In this paper, the positive axis is defined to be along the boost direction using the following transformation on an event-by-event basis:

$$\begin{aligned} \cos \theta ^{*}_{\mathrm {CS}}\rightarrow \frac{|Q_{ z} |}{Q_{z}}\cos \theta ^{*}_{\mathrm {CS}}, \end{aligned}$$
(4)

where \(Q_z\) is the longitudinal momentum of the dilepton system. The fraction of events for which the quark direction is the same as the direction of the boost depends on M and increases with the absolute value of the dilepton rapidity \(y = \frac{1}{2}\ln [(E+Q_z)/(E-Q_z)]\).

\({A}_{\mathrm{FB}}\) was previously measured by the CMS [16] and ATLAS [8] experiments using data samples collected at \(\sqrt{s} = 7\) \(\,\mathrm{TeV}\). The techniques used in this analysis are similar to those used in the previous CMS measurement at 7\(\,\mathrm{TeV}\), and the rapidity range of this measurement is extended to \(|y |=5\) by including electrons in the forward calorimeter. Since large Z boson rapidities are better correlated with the direction of the valence quark, \({A}_{\mathrm{FB}}\) is measured as a function of the invariant mass and the rapidity of Z boson. The number of selected events at 8\(\,\mathrm{TeV}\) is about a factor of 5 larger than the number of events at 7\(\,\mathrm{TeV}\). The larger data sample collected at 8\(\,\mathrm{TeV}\) extends the measurement of \({A}_{\mathrm{FB}}\) in the high-mass region where the number of events in the 7\(\,\mathrm{TeV}\) samples was limited.

2 The CMS detector

The central feature of the CMS detector is a superconducting solenoid with a 6 m internal diameter that provides a magnetic field of 3.8 T. Inside the solenoid are a silicon pixel and strip tracker, a lead tungstate crystal electromagnetic calorimeter (ECAL), and a brass and scintillator hadron calorimeter, each composed of a barrel and two endcap sections. Extensive forward calorimetry complements the coverage provided by the barrel and endcap calorimeters. Outside the solenoid, gas-ionization detectors embedded in the steel flux-return yoke are used to measure muons.

Muons are measured in the pseudorapidity [17] range \(|\eta |<2.4\) using the silicon tracker and muon systems. The muon detectors are constructed using three different technologies: drift tubes for \(|\eta |<1.2\), cathode strip chambers for \(0.9<|\eta |<2.4\), and resistive plate chambers for \(|\eta |< 1.6\). Matching muons to tracks measured in the silicon tracker results in a relative \({p}_{\mathrm{T}}\) resolution of 1.3–2.0 % in the barrel, and better than 6 % in the endcaps for muons with \(20< {p}_{\mathrm{T}} < 100\) \(\,\text {GeV}\)  [18].

Electrons are measured in the range \(|\eta |<2.5\) using both the tracking system and the ECAL. The energy resolution for electrons produced in Z boson decays varies from 1.7 % in the barrel (\(|\eta |<1.48\)) to 4.5 % in the endcap region (\(|\eta |>1.48\)) [19].

The \(\eta \) coverage of the CMS detector is extended up to \(|\eta |=5\) by the hadron forward (HF) calorimeters [20]. The HF is constructed from steel absorbers as shower initiators and quartz fibers as active material. Half of the fibers extend over the full depth of the detector (long fibers) while the other half does not cover the first 22 cm measured from the front face (short fibers). As the two sets of fibers are read out separately, electromagnetic showers can be distinguished from hadronic showers. Electrons in the HF are measured in the range \(3< |\eta | < 5\). The energy resolution for HF electrons is \({\sim } 32\%\) at 50 \(\,\text {GeV}\) and the angular resolution is up to 0.05 in \(\eta \) and \(\phi \).

The CMS experiment uses a two-level trigger system. The level-1 trigger, composed of custom-designed processing hardware, selects events of interest based on information from the muon detectors and calorimeters [21]. The high-level trigger is software based, running a faster version of the offline reconstruction code on the full detector information, including the tracker [22]. A more detailed description of the CMS detector, together with a definition of the coordinate system used and the relevant kinematic variables, can be found in Ref. [17].

3 Data and Monte Carlo samples

The analysis is performed using the pp collision data collected with the CMS detector in 2012 at a center-of-mass energy of 8\(\,\mathrm{TeV}\). The total integrated luminosity for the entire data set amounts to 19.7\(\,\mathrm{fb}^{-1}\).

The simulated \(\mathrm{Z}/\gamma ^* \rightarrow \mu \mu \) and \(\mathrm{Z}/\gamma ^* \rightarrow \mathrm{e}\mathrm{e}\) signal samples are generated at next-to-leading order (NLO) based in perturbative QCD using powheg  [2326] with the NLO CT10 parton distribution functions (PDFs) [27]. The parton showering and hadronization are simulated using the pythia v6.426 [28] generator with the Z2* tune [29].

The background processes, \(\mathrm{Z}/\gamma ^* \rightarrow \tau \tau \), \(\mathrm{t}\overline{\mathrm{t}}\), \(\mathrm{t} {\mathrm{W}^{-}}\) and \(\overline{\mathrm{t}} {\mathrm{W}^{+}}\), are generated with powheg, and the inclusive W production with MadGraph  [30]. The backgrounds from WW, WZ, and ZZ production are generated using pythia v6.426. The \(\tau \) lepton decays in the background processes are simulated using tauola  [31]. For all processes, the detector response is simulated using a detailed description of the CMS detector based on the Geant4 package [32, 33]. GFlash [34] is used for the HF [35], and the event reconstruction is performed with the same algorithms used for the data. The data contain multiple proton-proton interactions per bunch crossing (pileup) with an average value of 21. A pileup reweighting procedure is applied to the Monte Carlo (MC) simulation so the pileup distribution matches the data.

4 Event selection

The inclusive dimuon events are selected by a trigger that requires two muons, the leading one with \({p}_{\mathrm{T}} >17\) \(\,\text {GeV}\) and the second one with \({p}_{\mathrm{T}} >8\) \(\,\text {GeV}\). Muons are selected offline by the standard CMS muon identification [18], which requires at least one muon chamber hit in the global muon track fit, muon segments in at least two muon stations, at least one hit in the pixel detector, more than five inner tracker layers with hits, and a \(\chi ^{2}/\mathrm {dof}\) less than 10 for the global muon fit. The vertex with the highest \({p}_{\mathrm{T}} \) sum for associated tracks is defined as the primary vertex. The distance between the muon candidate trajectories and the primary vertex is required to be smaller than 2 mm in the transverse plane and smaller than 5 mm in the longitudinal direction. This requirement significantly reduces the background from cosmic ray muons. To remove muons produced during jet fragmentation, the fractional track isolation, \(\sum {p}_{\mathrm{T}} ^{\text {trk}} / {p}_{\mathrm{T}} ^{\mu }\), is required to be smaller than 0.1, where the sum runs over all tracks originating from the primary vertex within a cone of \(\Delta R= \sqrt{{(\Delta \eta )^2 + (\Delta \phi )^2}}<0.3\) around each of the identified muons. Furthermore, each selected muon is required to have \({p}_{\mathrm{T}} >20\) \(\,\text {GeV}\) and \(|\eta |<2.4\).

The inclusive dielectron events include electrons that are produced in an extended lepton pseudorapidity range, \(|\eta |<5\). The events with dilepton rapidity \(|y| < 2.4\) are selected by triggers requiring either two central electrons, \(|\eta |<2.4\), with \({p}_{\mathrm{T}} >17\) and \(>8\) \(\,\text {GeV}\). In the analysis, the central electron candidates are required to have \({p}_{\mathrm{T}} >20\) \(\,\text {GeV}\), have opposite charges, and to pass tight electron identification and isolation requirements [19]. The particle-flow (PF) event reconstruction [36, 37] consists of reconstructing and identifying each single particle with an optimized combination of all subdetector information. In this process, the identification of the particle type (photon, electron, muon, charged hadron, or neutral hadron) plays an important role in the determination of the particle direction and energy. The fractional PF isolation, \(\sum {p}_{\mathrm{T}} ^{\mathrm {PF}} / {p}_{\mathrm{T}} ^{\mathrm{e}}\), is required to be smaller than 0.1. The isolation variable is calculated from the energy sum over all PF candidates within a cone of size 0.3 around each of the identified electrons. This sample is used to perform the analysis for the dilepton rapidity, \(|y |<2.4\).

For the events with dilepton rapidity \(2.4< |y| < 5\), one central (\(|\eta |<2.4\)) and one forward electron (\(3<|\eta |<5\)) are used requiring one isolated central electron trigger with \({p}_{\mathrm{T}} >27\) \(\,\text {GeV}\). In this case, the central (forward) electron candidate is required to have \({p}_{\mathrm{T}} > 30\,(20)\) \(\,\text {GeV}\), as well as to pass stringent electron identification and isolation requirements (forward electron identification criteria). Since the \(2.4<|\eta |<3\) region is outside the tracker acceptance, the particle flow variables cannot be defined in this region, and are therefore not considered in the analysis.

Forward electron identification requires an isolated energy deposition in the core of the electron cluster [35]. To reduce the contribution from jet background in the forward region, both electrons are required to be on the same side of the detector (\(\eta _{\mathrm{e}_{1}} \, \eta _{\mathrm{e}_{2}} >0\)) and almost back-to-back in azimuth (\(|\Delta \phi (\mathrm{e}_{1},\mathrm{e}_{2}) |> 2\pi /3\)). Because the forward electrons do not have charge information, no oppositely-charged requirement is applied.

After the event selection, about 8 million \(\mu \mu \) and 4.3 million \(\mathrm{e}\mathrm{e}\) events remain with \(|y |<2.4\), and 0.5 million \(\mathrm{e}\mathrm{e}\) events with \(2.4<|y |<5\).

5 Simulation corrections

Scale factors are derived and applied to the simulated MC events to account for differences of detector performance between data and the MC simulation. The efficiencies for the trigger, lepton identification, and lepton isolation are measured using a “tag-and-probe” method [18, 38] for both data and simulation. For the muon channel, the trigger efficiency is measured as a function of \(\eta \) only because the \({p}_{\mathrm{T}} \) dependence is small for \({p}_{\mathrm{T}} >20\) \(\,\text {GeV}\), while in the electron channel the efficiency is measured as a function of \(E_{\mathrm T}\) and \(\eta \). Similarly, the identification and isolation efficiencies for the muons and central electrons are measured in data and simulation as a function of \({p}_{\mathrm{T}} \) and \(\eta \). The difference in trigger efficiency between data and simulation is 1 to 4 % for the muon channel, depending on the \(\eta \) region, and less than 1 % for the electron channel. The differences in the muon identification and isolation efficiencies are less than 1 %. For central electrons the absolute difference is at the 5 % level in the barrel and increases to 12 % in the endcaps.

For forward electrons, the identification efficiency is measured as a function of \({E}_{\mathrm{T}} \) and \(\eta \). We observe a 9 to 18 % difference in the identification efficiency between data and MC simulation. The simulation is scaled using these factors to reproduce the data. Forward electrons require additional corrections in GFlash simulation in order to match the \(\eta \) distribution of the data. Furthermore, a global normalization factor of \(0.6 \pm 0.3\) is applied to account for the data/simulation difference in the event yields in HF. Its effect is negligible in the \({A}_{\mathrm{FB}}(M)\) measurement.

The muon momentum and electron energy scales are affected by detector misalignment and imperfect calibration, which cause a degradation in the energy measurements and the measurement of \({A}_{\mathrm{FB}}\). Such effects are accounted for by additional momentum and energy corrections, which are applied to muons and electrons in both data and simulation. It has been shown [18] that the primary cause of the bias in the reconstructed muon momentum is the misalignment of the tracking system. To remove this bias, a muon momentum correction extracted as a function of the muon charge, \(\theta \), and \(\phi \) [39] is applied for both data and MC events. The overall muon momentum corrections for muons with \({p}_{\mathrm{T}} >20\) \(\,\text {GeV}\) are measured with a precision of better than 0.04 %.

For central electrons, an ECAL energy scale correction is applied. The overall energy scale for electrons with \(7< {p}_{\mathrm{T}} <70\) \(\,\text {GeV}\) is measured with a precision better than 0.3 % [19]. To match the electron energy resolutions in data, additional smearing is applied to the energy of central electrons in the MC simulation. For forward electrons, the predicted energy of the forward electron is calculated using Z boson mass, the energy of the central electron, and the angular positions (\(\eta \) and \(\phi \)) of central and forward electrons. The residual energy correction for forward electrons as a function of \({E}_{\mathrm{T}} \) is determined from the average of the difference between the reconstructed energy and the predicted energy. The corrections are applied in data and simulation as a function of the electron \({E}_{\mathrm{T}} \) and range between \(-18\) and \(+12\,\%\). The energy resolution of the forward electron in the MC simulation is also tuned to match the data.

Fig. 1
figure 1

The invariant mass distributions for \(\mu \mu \) (top), \(\mathrm{e}\mathrm{e}\) (middle) events with \(|y |<2.4\), and \(\mathrm{e}\mathrm{e}\) (bottom) events with \(2.4<|y |<5\). Only statistical uncertainties are shown. The stacked histograms represent the sum of the background contributions and the signal

Fig. 2
figure 2

The \(\cos \theta ^{*}_\mathrm {CS}\) distributions for \(\mu \mu \) (\(\mathrm{e}\mathrm{e}\)) events are presented in the top (bottom) panels. Only statistical uncertainties are shown. The stacked histograms represent the sum of the background contribution and the signal. The plots on the left (right) panels correspond to events with dilepton invariant mass \(50< M < 60\) \(\,\text {GeV}\) (\(133< M < 150\) \(\,\text {GeV}\))

6 Backgrounds

The main sources of background at low dilepton mass are \(\mathrm{Z}/\gamma ^{*} \rightarrow \tau \tau \) events and QCD dijet events. At high mass, the main background comes from t\(\bar{\text {t}}\) events. The diboson (WW, WZ, ZZ) and inclusive W background contributions are small. The background contributions are estimated versus M and \(|y |\) for forward and backward events separately. Different techniques are used for estimating background contributions in the muon and electron channels.

The dijet background for both muon and electron channels is estimated with data using control samples. The muon channel uses same-sign dimuon events, which mostly originate from dijets. The number of same-sign events after the final event selection is used to estimate the number of opposite-sign dimuons that originate from dijets. The contribution from the diboson process is subtracted in the same-sign events using MC simulation.

For the electron channel, a fitting method is used to estimate the dijet background. The kinematic distributions of the \(\mathrm{e}\mathrm{e}\) events in M and \(|y |\) are fitted with a sum of signal and background templates to determine the dijet component. A signal template is extracted from the \(\mathrm{Z}/\gamma ^{*} \rightarrow \mathrm{e}\mathrm{e}\) MC sample. A background template is obtained by applying a reverse isolation requirement on the central electron in data. The signal and non-QCD background contributions, which are small, are subtracted from this nonisolated electron sample using simulation.

In the muon channel, events selected with an \(\mathrm{e}\mu \) lepton pair are used to determine the backgrounds from \(\mathrm{Z}/\gamma ^{*} \rightarrow \tau \tau \), \(\mathrm{t}\overline{\mathrm{t}} \), W+jets, \(\mathrm{t} \mathrm{W}\), and \(\overline{\mathrm{t}} \mathrm{W}\) processes. The overall rate for \(\mu \mu \) background events from these sources is proportional to the number of observed \(\mathrm{e}\mu \) events. Here the MC simulation is used only to calculate the ratio of \(\mu \mu \) events to \(\mathrm{e}\mu \) events. The background rate extracted with this method is in agreement with MC simulations. Therefore, in the electron analysis these backgrounds are modelled using MC simulations. The cross sections are normalized to next-to-next-to-leading-order fewz predictions [40]. Also, the diboson backgrounds are estimated using MC simulation for both the muon and electron channels.

The invariant mass distributions for \(\mu \mu \) and \(\mathrm{e}\mathrm{e}\) events in two \(|y |\) ranges are shown in Fig. 1, which also includes the MC predictions for both the signal and estimated background contributions. The MC predictions are normalized using the cross section for each process and the integrated luminosity.

7 Measurement of \({A}_{\mathrm{FB}}\)

The events are assigned to “forward” or “backward” regions as described in Sect. 1. \({A}_{\mathrm{FB}}\) is measured using the selected dilepton events as a function of dilepton mass in five regions of absolute rapidity: 0–1, 1–1.25, 1.25–1.5, 1.5–2.4, and 2.4–5. The most forward region has 7 mass bins, from 40 to 320\(\,\text {GeV}\), while the others have 14 mass bins, which extend up to 2\(\,\mathrm{TeV}\). The shape of the \(\cos \theta ^{*}_\mathrm {CS}\) distribution changes with the dilepton mass. The top panels of Fig. 2 show the reconstructed \(\cos \theta ^{*}_{\mathrm {CS}}\) distributions for \(\mu \mu \) events, with \(|y | < 2.4\). The bottom panels show the reconstructed \(\cos \theta ^{*}_\mathrm {CS}\) for \(\mathrm{e}\mathrm{e}\) events, with \(|y | < 2.4\). The distributions are shown for two representative mass bins. The distributions for dilepton events at low mass (\(50< M < 60\) \(\,\text {GeV}\)) are shown in the left panels, and at high mass (\(133< M < 150\) \(\,\text {GeV}\)) in the right panels. The MC predictions are normalized to the integrated luminosity of the data.

The measured \({A}_{\mathrm{FB}}\) value is corrected for detector resolution, acceptance, efficiency, and the effect of final-state QED radiation (FSR) using a two-dimensional iterative unfolding method based on Bayes’ theorem [41, 42]. The \({A}_{\mathrm{FB}}\) quantity is unfolded to account for event migration between mass bins and between positive and negative \(\cos \theta ^{*}_\mathrm {CS}\) region. Since the ambiguity of the quark direction is more significant at low \(|y |\), the dilution of \({A}_{\mathrm{FB}}\) is larger in the low \(|y |\) region.

Table 1 The maximum value of the systematic uncertainty in \({A}_{\mathrm{FB}}\) as a function of M from each source for different regions of \(|y |\)
Fig. 3
figure 3

The unfolded \({A}_{\mathrm{FB}}\) distributions for muons (open squares) and electrons (solid circles) for the four central rapidity regions. The statistical (thick vertical bar) and statistical plus systematics (thin vertical bar) uncertainties are presented. The solid circles are shifted slightly to compare the result better. The lower panel in each plot shows the difference of the unfolded \({A}_{\mathrm{FB}}\) in muons and electrons divided by the total uncertainty (stat. \(\oplus \) syst.)

Fig. 4
figure 4

The combined (\({{\mu }^{+}}{{\mu }^{-}}\) and \(\mathrm{e}^{+}\mathrm{e}^{-}\) ) unfolded \({A}_{\mathrm{FB}}\) distributions in the four central rapidity regions. The statistical (thick vertical bar) and statistical plus systematics (thin vertical bar) uncertainties are presented. The measurements are compared with the prediction of powheg. The total uncertainties (considering the statistical, PDF, and scale uncertainties) in the powheg prediction are shown as shaded bands. The lower panel in each plot shows the difference of \({A}_{\mathrm{FB}}\) in data and prediction divided by the total uncertainty of data and prediction

Fig. 5
figure 5

The unfolded \({A}_{\mathrm{FB}}\) distribution for the forward rapidity region (\(2.4<|y |<5\)) using one central electron (\(|\eta |<2.4\)) and one HF electron (\(3<|\eta |<5\)). The inner thick vertical bars correspond to the statistical uncertainty and the outer thin vertical bars to the total uncertainties. The measurements are compared with the prediction of powheg. The total uncertainties (considering the statistical, PDF, and scale uncertainties) in the powheg prediction are shown as shaded bands. The lower panel shows the difference of \({A}_{\mathrm{FB}}\) in data and prediction divided by the total uncertainty of data and prediction

Table 2 The combined (\(\mathrm{e}\mathrm{e}\) and \(\mu \mu \)) \({A}_{\mathrm{FB}}\) measurements, with statistical and systematic uncertainties for the four rapidity regions with \(|y |<2.4\). The \({A}_{\mathrm{FB}}\) quantity for \(\mathrm{e}\mathrm{e}\) events is also shown for \(2.4<|y |<5\)

8 Systematic uncertainties

The largest experimental uncertainties originate from the background estimation, the electron energy correction, the muon momentum correction, and the unfolding procedure. The dominant contribution to the background uncertainty is the statistical uncertainty in the background data control sample. The theoretical uncertainty of the cross section in the MC background samples also contributes to the systematic uncertainty in the estimation of the background.

After energy corrections to central electrons are applied, we find that there is a 0.4 % offset in the position of the Z peak between data and simulation in the barrel and a 0.5 % offset in the endcaps. This difference is assigned as the systematic uncertainty in the central electron energy calibration.

In order to estimate the uncertainty in the energy calibration of forward electrons, the parametrized function of the correction factor is scaled up and down by its statistical uncertainty. The difference in \({A}_{\mathrm{FB}}\) before and after changing the correction factor is assigned as a systematic uncertainty.

The systematic uncertainty in the muon momentum correction is estimated with a similar approach. The muon momentum correction is scaled up and down by its statistical uncertainty and the difference in \({A}_{\mathrm{FB}}\) resulting from the change of the muon momentum correction is assigned as systematic uncertainty. We find that the contributions of the uncertainties in the efficiency scale factors (trigger, identification, and isolation) and in the pileup reweighting factors to the uncertainty in \({A}_{\mathrm{FB}}\) are small.

For forward HF electrons, the uncertainties in the electron \(\eta \) correction and in the global normalization factor contribute to the systematic uncertainty in \({A}_{\mathrm{FB}}\). In addition, the energy calibration varies approximately 5 % between \(+\eta \) and \(-\eta \). To account for this asymmetric effect in the energy calibration, the \({A}_{\mathrm{FB}}\) distribution is measured using one forward electron in \(+\eta \) or \(-\eta \), separately, along with one central electron and half of the difference in \({A}_{\mathrm{FB}}\) is assigned as a systematic uncertainty. The systematic uncertainty varies from 0.005 to 0.03 as a function of dielectron invariant mass.

The systematic uncertainty in the unfolding procedure is estimated using a closure test in simulation. Any residual shown in the closure test of the unfolding procedure is assigned as the systematic uncertainty.

The theoretical uncertainties which affect the detector acceptance originate from the uncertainties in PDFs (CT10 [27, 43] and NNPDF 2.0 [44]) and from uncertainties in the FSR modeling [45].

The systematic uncertainty in \({A}_{\mathrm{FB}}\) depends on the mass of the dilepton pair. Table 1 gives the maximum value of this uncertainty from each source, for different regions of |y|.

9 Results

A comparison of the unfolded, background-subtracted \({A}_{\mathrm{FB}}(M)\) distributions for \(\mu \mu \) and \(\mathrm{e}\mathrm{e}\) events in the four central rapidity regions is shown in Fig. 3. The statistical and systematic uncertainties are added in quadrature. The measured \({A}_{\mathrm{FB}}(M)\) distributions agree for \(\mu \mu \) and \(\mathrm{e}\mathrm{e}\) events in all rapidity regions.

The unfolded \({A}_{\mathrm{FB}}(M)\) measurements for \(\mu \mu \) and \(\mathrm{e}\mathrm{e}\) events, within \(|y | < 2.4\), are combined under the assumption that the uncertainties in the muon and electron channels are uncorrelated. Any effect of the correlation between the \(\mu \mu \) and \(\mathrm{e}\mathrm{e}\) systematic uncertainties in the pileup correction, FSR modeling, and the normalization of MC simulations in the background estimation is found to have a negligible effect on the combination.

Figure 4 shows the combined results for the four central rapidity regions up to 2.4. The combined result is compared with the powheg (NLO) prediction with CT10 PDFs. The effective weak mixing angle, \(\sin ^2\theta ^\text {eff}_{\text {lept}}\) = 0.2312, is used for the powheg prediction. For all rapidity regions, the combined \({A}_{\mathrm{FB}}(M)\) values are in a good agreement with the powheg prediction. The uncertainty in the theoretical prediction (powheg) originates from the statistical uncertainty in the MC sample, the uncertainties in the PDFs, and the variations of factorization and renormalization scales (simultaneous variation between values 2M, M, and M / 2, with M corresponding to the middle of the invariant mass bin). Table 2 summarizes the combined \({A}_{\mathrm{FB}}\) quantity for each rapidity region.

The unfolded \({A}_{\mathrm{FB}}\) distribution for the forward rapidity region (\(2.4< |y | < 5\)) is shown in Fig. 5. The forward rapidity region extends the scope of the measurement beyond that of the previous CMS result at \(\sqrt{s}=7\) \(\,\mathrm{TeV}\). Because \({A}_{\mathrm{FB}}\) in the forward rapidity region is diluted less, the measured \({A}_{\mathrm{FB}}\) quantity is closer to the parton-level asymmetry after the unfolding process, than it is in the central rapidity bins. The unfolded \({A}_{\mathrm{FB}}\) (\(M_{\mathrm{e}^{+}\mathrm{e}^{-}}\)) for \(2.4<|y |<5\) agrees with the powheg predictions.

10 Summary

We report a measurement of the forward–backward asymmetry of oppositely charged \(\mu \mu \) and \(\mathrm{e}\mathrm{e}\) pairs produced via a \(\mathrm{Z}/\gamma ^*\) boson exchange at \(\sqrt{s} = 8\) \(\,\mathrm{TeV}\) with a data sample corresponding to an integrated luminosity of 19.7\(\,\mathrm{fb}^{-1}\). The \({A}_{\mathrm{FB}}\) measurement is performed as a function of the dilepton invariant mass between 40\(\,\text {GeV}\) and 2\(\,\mathrm{TeV}\) for \(\mu \mu \) and \(\mathrm{e}\mathrm{e}\) events in 4 dilepton rapidity bins up to \(|y | = 2.4\). For \(\mathrm{e}\mathrm{e}\) events with \(2.4< |y | < 5\), the \({A}_{\mathrm{FB}}\) measurement is performed for dielectron masses between 40 and 320\(\,\text {GeV}\). The large data sample collected at 8\(\,\mathrm{TeV}\) extends the measurement of \({A}_{\mathrm{FB}}\) in the high mass region compared to previous results. The final \({A}_{\mathrm{FB}}\) values are corrected for detector resolution, acceptance, and final state radiation effects. The measurements of \({A}_{\mathrm{FB}}(M)\) are consistent with standard model predictions.