Measurement of the W-boson mass in pp collisions at s=7TeV\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\sqrt{s}=7\, \hbox {TeV}$$\end{document} with the ATLAS detector

A measurement of the mass of the W boson is presented based on proton–proton collision data recorded in 2011 at a centre-of-mass energy of 7 TeV with the ATLAS detector at the LHC, and corresponding to 4.6fb-1\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$4.6~\hbox {fb}^{-1}$$\end{document} of integrated luminosity. The selected data sample consists of 7.8×106\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$7.8\times 10^6$$\end{document} candidates in the W→μν\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$W\rightarrow \mu \nu $$\end{document} channel and 5.9×106\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$5.9\times 10^6$$\end{document} candidates in the W→eν\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$W\rightarrow e \nu $$\end{document} channel. The W-boson mass is obtained from template fits to the reconstructed distributions of the charged lepton transverse momentum and of the W boson transverse mass in the electron and muon decay channels, yielding mW=80370±7(stat.)±11(exp. syst.)±14(mod. syst.)MeV=80370±19MeV,\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \nonumber m_W = 80370&\pm 7~(\text {stat.}) \pm 11 (\text {exp. syst.}) \\&\pm 14~(\text {mod. syst.})~\text {MeV} \\ = 80370&\pm 19\,\text {MeV}, \end{aligned}$$\end{document}where the first uncertainty is statistical, the second corresponds to the experimental systematic uncertainty, and the third to the physics-modelling systematic uncertainty. A measurement of the mass difference between the W+\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$W^+$$\end{document} and W-\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$W^-$$\end{document} bosons yields mW+-mW-=-29±28\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$m_{W^+}-m_{W^-} = -\,29 \pm 28$$\end{document} MeV.


Introduction
The Standard Model (SM) of particle physics describes the electroweak interactions as being mediated by the W boson, the Z boson, and the photon, in a gauge theory based on the SU(2) L × U(1) Y symmetry [1][2][3]. The theory incorporates the observed masses of the W and Z bosons through a symmetry-breaking mechanism. In the SM, this mechanism relies on the interaction of the gauge bosons with a scalar doublet field and implies the existence of an additional physical state known as the Higgs boson [4][5][6][7]. The existence of the W and Z bosons was first established at the CERN SPS in 1983 [8][9][10][11], and the LHC collaborations ATLAS and CMS reported the discovery of the Higgs boson in 2012 [12,13]. e-mail: atlas.publications@cern.ch At lowest order in the electroweak theory, the W -boson mass, m W , can be expressed solely as a function of the Zboson mass, m Z , the fine-structure constant, α, and the Fermi constant, G μ . Higher-order corrections introduce an additional dependence of the W -boson mass on the gauge couplings and the masses of the heavy particles of the SM. The mass of the W boson can be expressed in terms of the other SM parameters as follows: where r incorporates the effect of higher-order corrections [14,15]. In the SM, r is in particular sensitive to the top-quark and Higgs-boson masses; in extended theories, r receives contributions from additional particles and interactions. These effects can be probed by comparing the measured and predicted values of m W . In the context of global fits to the SM parameters, constraints on physics beyond the SM are currently limited by the W -boson mass measurement precision [16]. Improving the precision of the measurement of m W is therefore of high importance for testing the overall consistency of the SM. Previous measurements of the mass of the W boson were performed at the CERN SPS proton-antiproton ( pp) collider with the UA1 and UA2 experiments [17,18] at centre-ofmass energies of √ s = 546 GeV and √ s = 630 GeV, at the Tevatron pp collider with the CDF and D0 detectors at √ s = 1.8 TeV [19][20][21] and √ s = 1.96 TeV [22][23][24], and at the LEP electron-positron collider by the ALEPH, DELPHI, L3, and OPAL collaborations at √ s = 161-209 GeV [25][26][27][28]. The current Particle Data Group world average value of m W = 80385 ± 15 MeV [29] is dominated by the CDF and D0 measurements performed at √ s = 1.96 TeV. Given the precisely measured values of α, G μ and m Z , and taking recent top-quark and Higgs-boson mass measurements, the SM prediction of m W is m W = 80358 ± 8 MeV in Ref. [16] and m W = 80362 ± 8 MeV in Ref. [30]. The SM prediction uncertainty of 8 MeV represents a target for the precision of future measurements of m W .
At hadron colliders, the W -boson mass can be determined in Drell-Yan production [31] from W → ν decays, where is an electron or muon. The mass of the W boson is extracted from the Jacobian edges of the final-state kinematic distributions, measured in the plane perpendicular to the beam direction. Sensitive observables include the transverse momenta of the charged lepton and neutrino and the W -boson transverse mass.
The ATLAS and CMS experiments benefit from large signal and calibration samples. The numbers of selected Wand Z -boson events, collected in a sample corresponding to approximately 4.6 fb −1 of integrated luminosity at a centreof-mass energy of 7 TeV, are of the order of 10 7 for the W → ν, and of the order of 10 6 for the Z → processes. The available data sample is therefore larger by an order of magnitude compared to the corresponding samples used for the CDF and D0 measurements. Given the precisely measured value of the Z -boson mass [32] and the clean leptonic final state, the Z → processes provide the primary constraints for detector calibration, physics modelling, and validation of the analysis strategy. The sizes of these samples correspond to a statistical uncertainty smaller than 10 MeV in the measurement of the W -boson mass.
Measurements of m W at the LHC are affected by significant complications related to the strong interaction. In particular, in proton-proton ( pp) collisions at √ s = 7 TeV, approximately 25% of the inclusive W -boson production rate is induced by at least one second-generation quark, s or c, in the initial state. The amount of heavy-quark-initiated production has implications for the W -boson rapidity and transverse-momentum distributions [33]. As a consequence, the measurement of the W -boson mass is sensitive to the strange-quark and charm-quark parton distribution functions (PDFs) of the proton. In contrast, second-generation quarks contribute only to approximately 5% of the overall W -boson production rate at the Tevatron. Other important aspects of the measurement of the W -boson mass are the theoretical description of electroweak corrections, in particular the modelling of photon radiation from the W -and Z -boson decay leptons, and the modelling of the relative fractions of helicity cross sections in the Drell-Yan processes [34]. This paper is structured as follows. Section 2 presents an overview of the measurement strategy. Section 3 describes the ATLAS detector. Section 4 describes the data and simulation samples used for the measurement. Section 5 describes the object reconstruction and the event selection. Section 6 summarises the modelling of vector-boson production and decay, with emphasis on the QCD effects outlined above. Sections 7 and 8 are dedicated to the electron, muon, and recoil calibration procedures. Section 9 presents a set of validation tests of the measurement procedure, performed using the Z -boson event sample. Section 10 describes the analysis of the W -boson sample. Section 11 presents the extraction of m W . The results are summarised in Sect. 12.

Measurement overview
This section provides the definition of the observables used in the analysis, an overview of the measurement strategy for the determination of the mass of the W boson, and a description of the methodology used to estimate the systematic uncertainties.

Observable definitions
ATLAS uses a right-handed coordinate system with its origin at the nominal interaction point (IP) in the centre of the detector and the z-axis along the beam pipe. The x-axis points from the IP to the centre of the LHC ring, and the y-axis points upward. Cylindrical coordinates (r, φ) are used in the transverse plane, φ being the azimuth around the z-axis. The pseudorapidity is defined in terms of the polar angle θ as η = − ln tan(θ/2).
The kinematic properties of charged leptons from W -and Z -boson decays are characterised by the measured transverse momentum, p T , pseudorapidity, η , and azimuth, φ . The mass of the lepton, m , completes the four-vector. For Zboson events, the invariant mass, m , the rapidity, y , and the transverse momentum, p T , are obtained by combining the four-momenta of the decay-lepton pair.
The recoil in the transverse plane, u T , is reconstructed from the vector sum of the transverse energy of all clusters reconstructed in the calorimeters (Sect. 3), excluding energy deposits associated with the decay leptons. It is defined as: where E T,i is the vector of the transverse energy of cluster i. The transverse-energy vector of a cluster has magnitude E T = E/ cosh η, with the energy deposit of the cluster E and its pseudorapidity η. The azimuth φ of the transverse-energy vector is defined from the coordinates of the cluster in the transverse plane. In W -and Z -boson events, − u T provides an estimate of the boson transverse momentum. The related quantities u x and u y are the projections of the recoil onto the axes of the transverse plane in the ATLAS coordinate system. In Z -boson events, u Z and u Z ⊥ represent the projections of the recoil onto the axes parallel and perpendicular to the Zboson transverse momentum reconstructed from the decaylepton pair. Whereas u Z can be compared to − p T and probes the detector response to the recoil in terms of linearity and resolution, the u Z ⊥ distribution satisfies u Z ⊥ = 0 and its width provides an estimate of the recoil resolution. In W -boson events, u and u ⊥ are the projections of the recoil onto the axes parallel and perpendicular to the reconstructed chargedlepton transverse momentum.
The resolution of the recoil is affected by additional event properties, namely the per-event number of pp interactions per bunch crossing (pile-up) μ, the average number of pp interactions per bunch crossing μ , the total reconstructed transverse energy, defined as the scalar sum of the transverse energy of all calorimeter clusters, E T ≡ i E T,i , and the quantity E * T ≡ E T − | u T |. The latter is less correlated with the recoil than E T , and better represents the event activity related to the pile-up and to the underlying event.
The magnitude and direction of the transverse-momentum vector of the decay neutrino, p ν T , are inferred from the vector of the missing transverse momentum, p miss T , which corresponds to the momentum imbalance in the transverse plane and is defined as: The W -boson transverse mass, m T , is derived from p miss T and from the transverse momentum of the charged lepton as follows: where φ is the azimuthal opening angle between the charged lepton and the missing transverse momentum.
All vector-boson masses and widths are defined in the running-width scheme. Resonances are expressed by the relativistic Breit-Wigner mass distribution: where m is the invariant mass of the vector-boson decay products, and m V and V , with V = W, Z , are the vector-boson masses and widths, respectively. This scheme was introduced in Ref. [35], and is consistent with earlier measurements of the W -and Z -boson resonance parameters [24,32].

Analysis strategy
The mass of the W boson is determined from fits to the transverse momentum of the charged lepton, p T , and to the transverse mass of the W boson, m T . For W bosons at rest, the transverse-momentum distributions of the W decay leptons have a Jacobian edge at a value of m/2, whereas the distribution of the transverse mass has an endpoint at the value of m [36], where m is the invariant mass of the charged-lepton and neutrino system, which is related to m W through the Breit-Wigner distribution of Eq. (1). The expected final-state distributions, referred to as templates, are simulated for several values of m W and include signal and background contributions. The templates are compared to the observed distribution by means of a χ 2 com-patibility test. The χ 2 as a function of m W is interpolated, and the measured value is determined by analytical minimisation of the χ 2 function. Predictions for different values of m W are obtained from a single simulated reference sample, by reweighting the W -boson invariant mass distribution according to the Breit-Wigner parameterisation of Eq. (1). The W -boson width is scaled accordingly, following the SM relation W ∝ m 3 W . Experimentally, the p T and p miss T distributions are affected by the lepton energy calibration. The latter is also affected by the calibration of the recoil. The p T and p miss T distributions are broadened by the W -boson transverse-momentum distribution, and are sensitive to the W -boson helicity states, which are influenced by the proton PDFs [37]. Compared to p T , the m T distribution has larger uncertainties due to the recoil, but smaller sensitivity to such physics-modelling effects. Imperfect modelling of these effects can distort the template distributions, and constitutes a significant source of uncertainties for the determination of m W .
The calibration procedures described in this paper rely mainly on methods and results published earlier by ATLAS [38][39][40], and based on W and Z samples at √ s = 7 TeV and √ s = 8 TeV. The Z → event samples are used to calibrate the detector response. Lepton momentum corrections are derived exploiting the precisely measured value of the Z -boson mass, m Z [32], and the recoil response is calibrated using the expected momentum balance with p T . Identification and reconstruction efficiency corrections are determined from W -and Z -boson events using the tag-andprobe method [38,40]. The dependence of these corrections on p T is important for the measurement of m W , as it affects the shape of the template distributions.
The detector response corrections and the physics modelling are verified in Z -boson events by performing measurements of the Z -boson mass with the same method used to determine the W -boson mass, and comparing the results to the LEP combined value of m Z , which is used as input for the lepton calibration. The determination of m Z from the lepton-pair invariant mass provides a first closure test of the lepton energy calibration. In addition, the extraction of m Z from the p T distribution tests the p T -dependence of the efficiency corrections, and the modelling of the Z -boson transverse-momentum distribution and of the relative fractions of Z -boson helicity states. The p miss T and m T variables are defined in Z -boson events by treating one of the reconstructed decay leptons as a neutrino. The extraction of m Z from the m T distribution provides a test of the recoil calibration. The combination of the extraction of m Z from the m , p T and m T distributions provides a closure test of the measurement procedure. The precision of this validation procedure is limited by the finite size of the Z -boson sample, which is approximately ten times smaller than the W -boson sample. The analysis of the Z -boson sample does not probe differences in the modelling of W -and Z -boson production processes. Whereas W -boson production at the Tevatron is charge symmetric and dominated by interactions with at least one valence quark, the sea-quark PDFs play a larger role at the LHC, and contributions from processes with heavy quarks in the initial state have to be modelled properly. The W + -boson production rate exceeds that of W − bosons by about 40%, with a broader rapidity distribution and a softer transversemomentum distribution. Uncertainties in the modelling of these distributions and in the relative fractions of the Wboson helicity states are constrained using measurements of W -and Z -boson production performed with the ATLAS experiment at √ s = 7 TeV and √ s = 8 TeV [41][42][43][44][45]. The final measured value of the W -boson mass is obtained from the combination of various measurements performed in the electron and muon decay channels, and in charge-and |η |-dependent categories, as defined in Table 1. The boundaries of the |η | categories are driven mainly by experimental and statistical constraints. The measurements of m W used in the combination are based on the observed distributions of p T and m T , which are only partially correlated. Measurements of m W based on the p miss T distributions are performed as consistency tests, but they are not used in the combination due to their significantly lower precision. The consistency of the results in the electron and muon channels provide a further test of the experimental calibrations, whereas the consistency of the results for the different charge and |η | categories tests the W -boson production model.
Further consistency tests are performed by repeating the measurement in three intervals of μ , in two intervals of u T and u , and by removing the p miss T selection requirement, which is applied in the nominal signal selection. The consistency of the values of m W in these additional categories probes the modelling of the recoil response, and the modelling of the transverse-momentum spectrum of the W boson. Finally, the stability of the result with respect to the chargedlepton azimuth, and upon variations of the fitting ranges is verified.
Systematic uncertainties in the determination of m W are evaluated using pseudodata samples produced from the nominal simulated event samples by varying the parameters corresponding to each source of uncertainty in turn. The differences between the values of m W extracted from the pseudodata and nominal samples are used to estimate the uncer-tainty. When relevant, these variations are applied simultaneously in the W -boson signal samples and in the background contributions. The systematic uncertainties are estimated separately for each source and for fit ranges of 32 < p T < 45 GeV and 66 < m T < 99 GeV. These fit ranges minimise the total expected measurement uncertainty, and are used for the final result as discussed in Sect. 11.
In Sects. 6, 7, 8, and 10, which discuss the systematic uncertainties of the m W measurement, the uncertainties are also given for combinations of measurement categories. This provides information showing the reduction of the systematic uncertainty obtained from the measurement categorisation. For these cases, the combined uncertainties are evaluated including only the expected statistical uncertainty in addition to the systematic uncertainty being considered. However, the total measurement uncertainty is estimated by adding all uncertainty contributions in quadrature for each measurement category, and combining the results accounting for correlations across categories.
During the analysis, an unknown offset was added to the value of m W used to produce the templates. The offset was randomly selected from a uniform distribution in the range [−100, 100] MeV, and the same value was used for the W + and W − templates. The offset was removed after the m W measurements performed in all categories were found to be compatible and the analysis procedure was finalised.

The ATLAS detector
The ATLAS experiment [46] is a multipurpose particle detector with a forward-backward symmetric cylindrical geometry. It consists of an inner tracking detector surrounded by a thin superconducting solenoid, electromagnetic and hadronic calorimeters, and a muon spectrometer incorporating three large superconducting toroid magnets.
The inner-detector system (ID) is immersed in a 2 T axial magnetic field and provides charged-particle tracking in the range |η| < 2.5. At small radii, a high-granularity silicon pixel detector covers the vertex region and typically provides three measurements per track. It is followed by the silicon microstrip tracker, which usually provides eight measurement points per track. These silicon detectors are complemented by a gas-filled straw-tube transition radiation tracker, which enables radially extended track reconstruction up to |η| = 2.0. The transition radiation tracker also provides electron identification information based on the fraction of hits (typically 35 in total) above a higher energy-deposit threshold corresponding to transition radiation.
The muon spectrometer (MS) comprises separate trigger and high-precision tracking chambers measuring the deflection of muons in a magnetic field generated by superconducting air-core toroids. The precision chamber system covers the region |η| < 2.7 with three layers of monitored drift tubes, complemented by cathode strip chambers in the forward region. The muon trigger system covers the range |η| < 2.4 with resistive plate chambers in the barrel, and thin gap chambers in the endcap regions.
A three-level trigger system is used to select events for offline analysis [47]. The level-1 trigger is implemented in hardware and uses a subset of detector information to reduce the event rate to a design value of at most 75 kHz. This is followed by two software-based trigger levels which together reduce the event rate to about 300 Hz.

Data samples and event simulation
The data sample used in this analysis consists of W -and Zboson candidate events, collected in 2011 with the ATLAS detector in proton-proton collisions at the LHC, at a centreof-mass energy of √ s = 7 TeV. The sample for the electron channel, with all relevant detector systems operational, corresponds to approximately 4.6 fb −1 of integrated luminosity. A smaller integrated luminosity of approximately 4.1 fb −1 is used in the muon channel, as part of the data was discarded due to a timing problem in the resistive plate chambers, which affected the muon trigger efficiency. The relative uncertainty of the integrated luminosity is 1.8% [48]. This data set provides approximately 1.4 ×10 7 reconstructed W -boson events and 1.8 ×10 6 Z -boson events, after all selection criteria have been applied.
The Powheg MC generator [49-51] (v1/r1556) is used for the simulation of the hard-scattering processes of W -and Z -boson production and decay in the electron, muon, and tau channels, and is interfaced to Pythia 8 (v8.170) for the modelling of the parton shower, hadronisation, and underlying event [52,53], with parameters set according to the AZNLO tune [44]. The CT10 PDF set [54] is used for the hardscattering processes, whereas the CTEQ6L1 PDF set [55] is used for the parton shower. In the Z -boson samples, the effect of virtual photon production (γ * ) and Z /γ * interference is included. The effect of QED final-state radiation (FSR) is simulated with Photos (v2.154) [56]. Tau lepton decays are handled by Pythia 8, taking into account polarisation effects. An alternative set of samples for W -and Z -boson production is generated with Powheg interfaced to Herwig (v6.520) for the modelling of the parton shower [57], and to Jimmy (v4.31) for the underlying event [58]. The W -and Z -boson masses are set to m W = 80.399 GeV and m Z = 91.1875 GeV, respectively. During the analysis, the value of the W -boson mass in the W → ν and W → τ ν samples was blinded using the reweighting procedure described in Sect. 2.
Top-quark pair production and the single-top-quark processes are modelled using the MC@NLO MC generator (v4.01) [59][60][61], interfaced to Herwig and Jimmy. Gaugeboson pair production (W W , W Z, Z Z) is simulated with Herwig (v6.520). In all the samples, the CT10 PDF set is used. Samples of heavy-flavour multijet events ( pp → bb + X and pp → cc + X ) are simulated with Pythia 8 to validate the data-driven methods used to estimate backgrounds with non-prompt leptons in the final state.
Whereas the extraction of m W is based on the shape of distributions, and is not sensitive to the overall normalisation of the predicted distributions, it is affected by theoretical uncertainties in the relative fractions of background and signal. The W -and Z -boson event yields are normalised according to their measured cross sections, and uncertainties of 1.8% and 2.3% are assigned to the W + /Z and W − /Z production cross-section ratios, respectively [41]. The tt sample is normalised according to its measured cross section [62] with an uncertainty of 3.9%, whereas the cross-section predictions for the single-top production processes of Refs. [63][64][65] are used for the normalisation of the corresponding sample, with an uncertainty of 7%. The samples of events with massive gauge-boson pair production are normalised to the NLO predictions calculated with MCFM [66], with an uncertainty of 10% to cover the differences to the NNLO predictions [67].
The response of the ATLAS detector is simulated using a program [68] based on Geant 4 [69]. The ID and the MS were simulated assuming an ideal detector geometry; alignment corrections are applied to the data during event reconstruction. The description of the detector material incorporates the results of extensive studies of the electron and photon calibration [39]. The simulated hard-scattering process is overlaid with additional proton-proton interactions, simulated with Pythia 8 (v8.165) using the A2 tune [70]. The distribution of the average number of interactions per bunch crossing μ spans the range 2.5-16.0, with a mean value of approximately 9.0.
Simulation inaccuracies affecting the distributions of the signal, the response of the detector, and the underlying-event modelling, are corrected as described in the following sections. Physics-modelling corrections, such as those affecting the W -boson transverse-momentum distribution and the angular decay coefficients, are discussed in Sect. 6. Calibration and detector response corrections are presented in Sects. 7 and 8.

Particle reconstruction and event selection
This section describes the reconstruction and identification of electrons and muons, the reconstruction of the recoil, and the requirements used to select W -and Z -boson candidate events. The recoil provides an event-by-event estimate of the W -boson transverse momentum. The reconstructed kinematic properties of the leptons and of the recoil are used to infer the transverse momentum of the neutrino and the transverse-mass kinematic variables.

Reconstruction of electrons, muons and the recoil
Electron candidates are reconstructed from clusters of energy deposited in the electromagnetic calorimeter and associated with at least one track in the ID [38,39]. Quality requirements are applied to the associated tracks in order to reject poorly reconstructed charged-particle trajectories. The energy of the electron is reconstructed from the energy collected in calorimeter cells within an area of size η × φ = 0.075 × 0.175 in the barrel, and 0.125 × 0.125 in the endcaps. A multivariate regression algorithm, developed and optimised on simulated events, is used to calibrate the energy reconstruction. The reconstructed electron energy is corrected to account for the energy deposited in front of the calorimeter and outside the cluster, as well as for variations of the energy response as a function of the impact point of the electron in the calorimeter. The energy calibration algorithm takes as inputs the energy collected by each calorimeter layer, including the presampler, the pseudorapidity of the cluster, and the local position of the shower within the cell of the second layer, which corresponds to the cluster centroid. The kinematic properties of the reconstructed electron are inferred from the energy measured in the EM calorimeter, and from the pseudorapidity and azimuth of the associated track. Electron candidates are required to have p T > 15 GeV and |η| < 2.4 and to fulfil a set of tight identification requirements [38]. The pseudorapidity range 1.2 < |η| < 1.82 is excluded from the measurement, as the amount of passive material in front of the calorimeter and its uncertainty are largest in this region [39], preventing a sufficiently accurate description of non-Gaussian tails in the electron energy response. Additional isolation requirements on the nearby activity in the ID and calorimeter are applied to improve the background rejection. These isolation requirements are implemented by requiring the scalar sum of the p T of tracks in a cone of size R ≡ ( η) 2 + ( φ) 2 < 0.4 around the electron, p e,cone T , and the transverse energy deposited in the calorimeter within a cone of size R < 0.2 around the electron, E cone T , to be small. The contribution from the electron candidate itself is excluded. The specific criteria are optimised as a function of electron η and p T to have a combined efficiency of about 95% in the simulation for isolated electrons from the decay of a W or Z boson.
The muon reconstruction is performed independently in the ID and in the MS, and a combined muon candidate is formed from the combination of a MS track with an ID track, based on the statistical combination of the track parameters [40]. The kinematic properties of the reconstructed muon are defined using the ID track parameters alone, which allows a simpler calibration procedure. The loss of resolution is small (10-15%) in the transverse-momentum range relevant for the measurement of the W -boson mass. The ID tracks associated with the muons must satisfy quality requirements on the number of hits recorded by each subdetector [40]. In order to reject muons from cosmic rays, the longitudinal coordinate of the point of closest approach of the track to the beamline is required to be within 10 mm of the collision vertex. Muon candidates are required to have p T > 20 GeV and |η| < 2.4. Similarly to the electrons, the rejection of multijet background is increased by applying an isolation requirement : the scalar sum of the p T of tracks in a cone of size R < 0.2 around the muon candidate, p μ,cone T , is required to be less than 10% of the muon p T .
The recoil, u T , is reconstructed from the vector sum of the transverse energy of all clusters measured in the calorimeters, as defined in Sect. 2.1. The ATLAS calorimeters measure energy depositions in the range |η| < 4.9 with a topological clustering algorithm [71], which starts from cells with an energy of at least four times the expected noise from electronics and pile-up. The momentum vector of each cluster is determined by the magnitude and coordinates of the energy deposition. Cluster energies are initially measured assuming that the energy deposition occurs only through electromagnetic interactions, and are then corrected for the different calorimeter responses to hadrons and electromagnetic particles, for losses due to dead material, and for energy which is not captured by the clustering process. The definition of u T and the inferred quantities p miss T and m T do not involve the explicit reconstruction of particle jets, to avoid possible threshold effects.
Clusters located a distance R < 0.2 from the reconstructed electron or muon candidates are not used for the reconstruction of u T . This ensures that energy deposits originating from the lepton itself or from accompanying photons (from FSR or Bremsstrahlung) do not contribute to the recoil measurement. The energy of any soft particles removed along with the lepton is compensated for using the total transverse energy measured in a cone of the same size R = 0.2, placed at the same absolute pseudorapidity as the lepton with randomly chosen sign, and at different φ. The total transverse momentum measured in this cone is rotated to the position of the lepton and added to u T .

Event selection
The W -boson sample is collected during data-taking with triggers requiring at least one muon candidate with transverse momentum larger than 18 GeV or at least one electron candidate with transverse momentum larger than 20 GeV. The transverse-momentum requirement for the electron candidate was raised to 22 GeV in later data-taking periods to cope with the increased instantaneous luminosity delivered by the LHC. Selected events are required to have a reconstructed primary vertex with at least three associated tracks.
W -boson candidate events are selected by requiring exactly one reconstructed electron or muon with p T > 30 GeV. The leptons are required to match the corresponding trigger object. In addition, the reconstructed recoil is required to be u T < 30 GeV, the missing transverse momentum p miss T > 30 GeV and the transverse mass m T > 60 GeV. These selection requirements are optimised to reduce the multijet background contribution, and to minimise model uncertainties from W bosons produced at high transverse momentum. A total of 5.89 ×10 6 W -boson candidate events are selected in the W → eν channel, and 7.84 ×10 6 events in the W → μν channel.
As mentioned in Sect. 2, Z -boson events are extensively used to calibrate the response of the detector to electrons and muons, and to derive recoil corrections. In addition, Zboson events are used to test several aspects of the modelling of vector-boson production. Z -boson candidate events are collected with the same trigger selection used for the W -boson sample. The analysis selection requires exactly two reconstructed leptons with p T > 25 GeV, having the same flavour and opposite charges. The events are required to have an invariant mass of the dilepton system in the range 80 < m < 100 GeV. In both channels, selected leptons are required to be isolated in the same way as in the W -boson event selection. In total, 0.58 ×10 6 and 1.23 ×10 6 Z -boson candidate events are selected in the electron and muon decay channels, respectively.

Vector-boson production and decay
Samples of inclusive vector-boson production are produced using the Powheg MC generator interfaced to Pythia 8, henceforth referred to as Powheg+Pythia 8. The W -and Z -boson samples are reweighted to include the effects of higher-order QCD and electroweak (EW) corrections, as well as the results of fits to measured distributions which improve the agreement of the simulated lepton kinematic distributions with the data. The effect of virtual photon production and Z /γ * interference is included in both the predictions and the Powheg+Pythia 8 simulated Z -boson samples. The reweighting procedure used to include the corrections in the simulated event samples is detailed in Sect. 6.4.
The correction procedure is based on the factorisation of the fully differential leptonic Drell-Yan cross section [31] into four terms: where p 1 and p 2 are the lepton and anti-lepton fourmomenta; m, p T , and y are the invariant mass, transverse momentum, and rapidity of the dilepton system; θ and φ are the polar angle and azimuth of the lepton 1 in any given rest frame of the dilepton system; A i are numerical coefficients, and P i are spherical harmonics of order zero, one and two. The differential cross section as a function of the invariant mass, dσ (m)/dm, is modelled with a Breit-Wigner parameterisation according to Eq. (1). In the case of the Z -boson samples, the photon propagator is included using the running electromagnetic coupling constant; further electroweak corrections are discussed in Sect. 6.1. The differential cross section as a function of boson rapidity, dσ (y)/dy, and the coefficients A i are modelled with perturbative QCD fixed-order predictions, as described in Sect. 6.2. The transverse-momentum spectrum at a given rapidity, dσ ( p T , y)/(d p T dy) · (dσ (y)/dy) −1 , is modelled with predictions based on the Pythia 8 MC generator, as discussed in Sect. 6.3. An exhaustive review of available predictions for W -and Z -boson production at the LHC is given in Ref. [72].
Measurements of W -and Z -boson production are used to validate and constrain the modelling of the fully differential leptonic Drell-Yan cross section. The PDF central values and uncertainties, as well as the modelling of the differential cross section as a function of boson rapidity, are validated by comparing to the 7 TeV W -and Z -boson rapidity measurements [41], based on the same data sample. The QCD parameters of the parton shower model were determined by fits to the transverse-momentum distribution of the Z boson measured at 7 TeV [44]. The modelling of the A i coefficients is validated by comparing the theoretical predictions to the 8 TeV measurement of the angular coefficients in Z -boson decays [42].

Electroweak corrections and uncertainties
The dominant source of electroweak corrections to W -and Zboson production originates from QED final-state radiation, and is simulated with Photos. The effect of QED initial-state radiation (ISR) is also included through the Pythia 8 parton shower. The uncertainty in the modelling of QED FSR is evaluated by comparing distributions obtained using the default leading-order photon emission matrix elements with predictions obtained using NLO matrix elements, as well as by comparing Photos with an alternative implementation based on the Yennie-Frautschi-Suura formalism [73], which is available in Winhac [74]. The differences are small in both cases, and the associated uncertainty is considered negligible.
Other sources of electroweak corrections are not included in the simulated event samples, and their full effects are considered as systematic uncertainties. They include the interference between ISR and FSR QED corrections (IFI), pure weak corrections due to virtual-loop and box diagrams, and final-state emission of lepton pairs. Complete O(α) electroweak corrections to the pp → W + X , W → ν process were initially calculated in Refs. [75,76]. Combined QCD and EW corrections are however necessary to evaluate the effect of the latter in presence of a realistic p W T distribution. Approximate O(α s α) corrections including parton shower effects are available from Winhac, Sanc [77] and in the Powheg framework [78][79][80]. A complete, fixed-order calculation of O(α s α) corrections in the resonance region appeared in Ref. [81].
In the present work the effect of the NLO EW corrections are estimated using Winhac, which employs the Pythia 6 MC generator for the simulation of QCD and QED ISR.
The corresponding uncertainties are evaluated comparing the final state distributions obtained including QED FSR only with predictions using the complete NLO EW corrections in the α(0) and G μ renormalisation schemes [82]. The latter predicts the larger correction and is used to assign the systematic uncertainty.
Final-state lepton pair production, through γ * → radiation, is formally a higher-order correction but constitutes an significant additional source of energy loss for the W -boson decay products. This process is not included in the event simulation, and the impact on the determination of m W is evaluated using Photos and Sanc. Table 2 summarises the effect of the uncertainties associated with the electroweak corrections on the m W measurements. All comparisons described above were performed at particle level. The impact is larger for the p T distribution than for the m T distribution, and similar between the electron and muon decay channels. A detailed evaluation of these uncertainties was performed in Ref. [83] using Powheg [78], and the results are in fair agreement with Table 2. The study of Ref. [83] also compares, at fixed order, the effect of the approximate O(α s α) corrections with the full calculation of Ref. [81], and good agreement is found. The same sources of uncertainty affect the lepton momentum calibration through their impact on the m distribution in Z -boson events, as discussed in Sect. 7.

Rapidity distribution and angular coefficients
At leading order, W and Z bosons are produced with zero transverse momentum, and the angular distribution of the decay leptons depends solely on the polar angle of the lepton in the boson rest frame. Higher-order corrections give rise to sizeable boson transverse momentum, and to azimuthal asymmetries in the angular distribution of the decay leptons. The angular distribution of the W -and Z -boson decay leptons is determined by the relative fractions of helicity cross sections for the vector-boson production. The fully differential leptonic Drell-Yan cross section can be decomposed as a weighted sum of nine harmonic polynomials, with weights given by the helicity cross sections. The harmonic polyno- mials depend on the polar angle, θ , and the azimuth, φ, of the lepton in a given rest frame of the boson. The helicity cross sections depend, in their most general expression, on the transverse momentum, p T , rapidity, y, and invariant mass, m, of the boson. It is customary to factorise the unpolarised, or angular-integrated, cross section, dσ/(d p 2 T dy dm), and express the decomposition in terms of dimensionless angular coefficients, A i , which represent the ratios of the helicity cross sections with respect to the unpolarised cross section [34], leading to the following expression for the fully differential Drell-Yan cross section: The angular coefficients depend in general on p T , y and m. The A 5 -A 7 coefficients are non-zero only at order O(α 2 s ) and above. They are small in the p T region relevant for the present analysis, and are not considered further. The angles θ and φ are defined in the Collins-Soper (CS) frame [84].
The differential cross section as a function of boson rapidity, dσ (y)/dy, and the angular coefficients, A i , are modelled with fixed-order perturbative QCD predictions, at O(α 2 s ) in the perturbative expansion of the strong coupling constant and using the CT10nnlo PDF set [85]. The dependence of the angular coefficients on m is neglected; the effect of this approximation on the measurement of m W is discussed in Sect. 6.4. For the calculation of the predictions, an optimised version of DYNNLO [86] is used, which explicitly decomposes the calculation of the cross section into the different pieces of the q T -subtraction formalism, and allows the computation of statistically correlated PDF variations. In this optimised version of DYNNLO, the Cuba library [87] is used for the numerical integration.
The values of the angular coefficients predicted by the Powheg+Pythia 8 samples differ significantly from the corresponding NNLO predictions. In particular, large differences are observed in the predictions of A 0 at low values of p W,Z T . Other coefficients, such as A 1 and A 2 , are affected by significant NNLO corrections at high p W,Z T . In Z -boson production, A 3 and A 4 are sensitive to the vector couplings between the Z boson and the fermions, and are predicted assuming the measured value of the effective weak mixing angle sin 2 θ eff [32].

Transverse-momentum distribution
Predictions of the vector-boson transverse-momentum spectrum cannot rely solely on fixed-order perturbative QCD. Most W -boson events used for the analysis have a low transverse-momentum value, in the kinematic region p W T < 30 GeV, where large logarithmic terms of the type log(m W / p W T ) need to be resummed, and non-perturbative effects must be included, either with parton showers or with predictions based on analytic resummation [88][89][90][91][92]. The modelling of the transverse-momentum spectrum of vector bosons at a given rapidity, expressed by the term dσ ( p T , y)/(d p T dy) · (dσ (y)/dy) −1 in Eq. (2), is based on the Pythia 8 parton shower MC generator. The predictions of vector-boson production in the Pythia 8 MC generator employ leading-order matrix elements for the qq → W, Z processes and include a reweighting of the first parton shower emission to the leading-order V +jet cross section [93]. The resulting prediction of the boson p T spectrum is comparable in accuracy to those of an NLO plus parton shower generator setup such as Powheg+Pythia 8, and of resummed predictions at next-to-leading logarithmic order [94].
The values of the QCD parameters used in Pythia 8 were determined from fits to the Z -boson transverse momentum distribution measured with the ATLAS detector at a centre-of-mass energy of √ s = 7 TeV [44]. Three QCD parameters were considered in the fit: the intrinsic transverse momentum of the incoming partons, the value of α s (m Z ) used for the QCD ISR, and the value of the ISR infrared cut-off. The resulting values of the Pythia 8 parameters constitute the AZ tune. The Pythia 8 AZ prediction was found to provide a satisfactory description of the p Z T distribution as a function of rapidity, contrarily to Powheg+Pythia 8 AZNLO; hence the former is chosen to predict the p W T distribution. The good consistency of the m W measurement results in |η | categories, presented in Sect. 11, is also a consequence of this choice.
To illustrate the results of the parameters optimisation, the Pythia 8 AZ and 4C [95] predictions of the p Z T distribution are compared in Fig. 1a to the measurement used to determine the AZ tune. Kinematic requirements on the decay leptons are applied according to the experimental acceptance. For further validation, the predicted differential cross-section ratio, , is compared to the corresponding ratio of ATLAS measurements of vector-boson transverse momentum [44,45]. The comparison is shown in Fig. 1b  rebinned to match the coarser bins of the W -boson p T distribution, which was measured using only 30 pb −1 of data. The theoretical prediction is in agreement with the experimental measurements for the region with p T < 30 GeV, which is relevant for the measurement of the W -boson mass.
The predictions of RESBOS [89,90], DYRes [91] and Powheg MiNLO+Pythia 8 [96,97] are also considered. All predict a harder p W T distribution for a given p Z T distribution, compared to Pythia 8 AZ. Assuming the latter can be adjusted to match the measurement of Ref.
[44], the corresponding p W T distribution induces a discrepancy with the detector-level u T and u distributions observed in the W -boson data, as discussed in Sect. 11.2. This behaviour is observed using default values for the non-perturbative parameters of these programs, but is not expected to change signif-icantly under variations of these parameters. These predictions are therefore not used in the determination of m W or its uncertainty. Figure 2 compares the reconstruction-level p T and m T distributions obtained with Powheg+Pythia 8 AZNLO, DYRes and Powheg MiNLO+Pythia 8 to those of Pythia 8 AZ. 2 The effect of varying the p W T distribution is largest at high p T , which explains why the uncertainty due to the p W T modelling is reduced when limiting the p T fitting range as described in Sect. 11.3. 2 Reconstruction-level distributions are obtained from the Powheg+Pythia 8 signal sample by reweighting the particlelevel p W T distribution according to the product of the p Z T distribution in Pythia 8 AZ, and of R W/Z ( p T ) as predicted by Powheg+Pythia 8 AZNLO, DYRes and Powheg MiNLO+Pythia 8.

Reweighting procedure
The W and Z production and decay model described above is applied to the Powheg+Pythia 8 samples through an eventby-event reweighting. Equation (3) expresses the factorisation of the cross section into the three-dimensional boson production phase space, defined by the variables m, p T , and y, and the two-dimensional boson decay phase space, defined by the variables θ and φ. Accordingly, a prediction of the kinematic distributions of vector bosons and their decay products can be transformed into another prediction by applying separate reweighting of the three-dimensional boson production phase-space distributions, followed by a reweighting of the angular decay distributions.
The reweighting is performed in several steps. First, the inclusive rapidity distribution is reweighted according to the NNLO QCD predictions evaluated with DYNNLO. Then, at a given rapidity, the vector-boson transverse-momentum shape is reweighted to the Pythia 8 prediction with the AZ tune. This procedure provides the transverse-momentum distribution of vector bosons predicted by Pythia 8, preserving the rapidity distribution at NNLO. Finally, at given rapidity and transverse momentum, the angular variables are reweighted according to: where A i are the angular coefficients evaluated at O(α 2 s ), and A i are the angular coefficients of the Powheg+Pythia 8 samples. This reweighting procedure neglects the small dependence of the two-dimensional ( p T ,y) distribution and of the angular coefficients on the final state invariant mass. The procedure is used to include the corrections described in Sects. 6.2 and 6.3, as well as to estimate the impact of the QCD modelling uncertainties described in Sect. 6.5.
The validity of the reweighting procedure is tested at particle level by generating independent W -boson samples using the CT10nnlo and NNPDF3.0 [98] NNLO PDF sets, and the same value of m W . The relevant kinematic distributions are calculated for both samples and used to reweight the CT10nnlo sample to the NNPDF3.0 one. The procedure described in Sect. 2.2 is then used to determine the value of m W by fitting the NNPDF3.0 sample using templates from the reweighted CT10nnlo sample. The fitted value agrees with the input value within 1.5 ± 2.0 MeV. The statistical precision of this test is used to assign the associated systematic uncertainty.
The resulting model is tested by comparing the predicted Z -boson differential cross section as a function of rapidity, the W -boson differential cross section as a function of lepton pseudorapidity, and the angular coefficients in Z -boson events, to the corresponding ATLAS measurements [41,42]. The comparison with the measured W and Z cross sections is shown in Fig. 3. Satisfactory agreement between the measurements and the theoretical predictions is observed. A χ 2 compatibility test is performed for the three distributions simultaneously, including the correlations between the uncertainties. The compatibility test yields a χ 2 /dof value of 45/34. Other NNLO PDF sets such as NNPDF3.0, CT14 [99], MMHT2014 [100], and ABM12 [101] are in worse agreement with these distributions. Based on the quantitative comparisons performed in Ref. [41], only CT10nnlo, CT14 and MMHT2014 are considered further. The better agreement obtained with CT10nnlo can be ascribed to the weaker suppression of the strange quark density compared to the u-and d-quark sea densities in this PDF set.
The predictions of the angular coefficients in Z -boson events are compared to the ATLAS measurement at √ s = 8 TeV [42]. Good agreement between the measurements and DYNNLO is observed for the relevant coefficients, except for A 2 , where the measurement is significantly below the prediction. As an example, Fig. 4 shows the comparison for A 0 and A 2 as a function of p Z T . For A 2 , an additional source of uncertainty in the theoretical prediction is considered to account for the observed disagreement with data, as discussed in Sect. 6.5.3.

Uncertainties in the QCD modelling
Several sources of uncertainty related to the perturbative and non-perturbative modelling of the strong interaction affect the dynamics of the vector-boson production and decay [33,[102][103][104]. Their impact on the measurement of m W is assessed through variations of the model parameters of the predictions for the differential cross sections as functions of the boson rapidity, transverse-momentum spectrum at a given rapidity, and angular coefficients, which correspond to the second, third, and fourth terms of the decomposition of Eq. (2), respectively. The parameter variations used to estimate the uncertainties are propagated to the simulated event samples by means of the reweighting procedure described in Sect. 6.4. Table 3 shows an overview of the uncertainties due to the QCD modelling which are discussed below.  Table 3 Systematic uncertainties in the m W measurement due to QCD modelling, for the different kinematic distributions and W -boson charges. Except for the case of PDFs, the same uncertainties apply to W + and W − . The fixed-order PDF uncertainty given for the sepa-rate W + and W − final states corresponds to the quadrature sum of the CT10nnlo uncertainty variations; the charge-combined uncertainty also contains a 3.8 MeV contribution from comparing CT10nnlo to CT14 and MMHT2014 Fixed-order PDF uncertainty 13.1 1 4 .9 Parton shower μ F with heavy-flavour decorrelation 5.0 6 .9 5 .0 6 .9 5 .0 6 .9 Parton shower PDF uncertainty 3

Uncertainties in the fixed-order predictions
The imperfect knowledge of the PDFs affects the differential cross section as a function of boson rapidity, the angular coefficients, and the p W T distribution. The PDF contribution to the prediction uncertainty is estimated with the CT10nnlo PDF set by using the Hessian method [105]. There are 25 error eigenvectors, and a pair of PDF variations associated with each eigenvector. Each pair corresponds to positive and negative 90% CL excursions along the corresponding eigenvector. Symmetric PDF uncertainties are defined as the mean value of the absolute positive and negative excursions corresponding to each pair of PDF variations. The overall uncertainty of the CT10nnlo PDF set is scaled to 68% CL by applying a multiplicative factor of 1/1.645.
The effect of PDF variations on the rapidity distributions and angular coefficients are evaluated with DYNNLO, while their impact on the W -boson p T distribution is evaluated using Pythia 8 and by reweighting event-by-event the PDFs of the hard-scattering process, which are convolved with the LO matrix elements. Similarly to other uncertainties which affect the p W T distribution (Sect. 6.5.2), only relative variations of the p W T and p Z T distributions induced by the PDFs are considered. The PDF variations are applied simultaneously to the boson rapidity, angular coefficients, and transversemomentum distributions, and the overall PDF uncertainty is evaluated with the Hessian method as described above.
Uncertainties in the PDFs are the dominant source of physics-modelling uncertainty, contributing about 14 and 13 MeV when averaging p T and m T fits for W + and W − , respectively. The PDF uncertainties are very similar when using p T or m T for the measurement. They are strongly anti-correlated between positively and negatively charged W bosons, and the uncertainty is reduced to 7.4 MeV on average for p T and m T fits, when combining opposite-charge categories. The anti-correlation of the PDF uncertainties is due to the fact that the total light-quark sea PDF is well constrained by deep inelastic scattering data, whereas the u-, d-, and squark decomposition of the sea is less precisely known [106]. An increase in theū PDF is at the expense of thed PDF, which produces opposite effects in the longitudinal polarisation of positively and negatively charged W bosons [37].
Other PDF sets are considered as alternative choices. The envelope of values of m W extracted with the MMHT2014 and CT14 NNLO PDF sets is considered as an additional PDF uncertainty of 3.8 MeV, which is added in quadrature after combining the W + and W − categories, leading to overall PDF uncertainties of 8.0 MeV and 8.7 MeV for p T and m T fits, respectively.
The effect of missing higher-order corrections on the NNLO predictions of the rapidity distributions of Z bosons, and the pseudorapidity distributions of the decay leptons of W bosons, is estimated by varying the renormalisation and factorisation scales by factors of 0.5 and 2.0 with respect to their nominal value μ R = μ F = m V in the DYNNLO predictions. The corresponding relative uncertainty in the normalised distributions is of the order of 0.1-0.3%, and significantly smaller than the PDF uncertainties. These uncertainties are expected to have a negligible impact on the measurement of m W , and are not considered further.
The effect of the LHC beam-energy uncertainty of 0.65% [107] on the fixed-order predictions is studied. Relative variations of 0.65% around the nominal value of 3.5 TeV are considered, yielding variations of the inclusive W + and W − cross sections of 0.6 and 0.5%, respectively. No significant dependence as a function of lepton pseudorapidity is observed in the kinematic region used for the measurement, and the dependence as a function of p T and m T is expected to be even smaller. This uncertainty is not considered further.

Uncertainties in the parton shower predictions
Several sources of uncertainty affect the Pythia 8 parton shower model used to predict the transverse momentum of the W boson. The values of the AZ tune parameters, determined by fits to the measurement of the Z -boson transverse momentum, are affected by the experimental uncertainty of the measurement. The corresponding uncertainties are propagated to the p W T predictions through variations of the orthogonal eigenvector components of the parameters error matrix [44]. The resulting uncertainty in m W is 3.0 MeV for the p T distribution, and 3.4 MeV for the m T distribution. In the present analysis, the impact of p W T distribution uncertainties is in general smaller when using p T than when using m T , as a result of the comparatively narrow range used for the p T distribution fits.
Other uncertainties affecting predictions of the transversemomentum spectrum of the W boson at a given rapidity, are propagated by considering relative variations of the p W T and p Z T distributions. The procedure is based on the assumption that model variations, when applied to p Z T , can be largely reabsorbed into new values of the AZ tune parameters fitted to the p Z T data. Variations that cannot be reabsorbed by the fit are excluded, since they would lead to a significant disagreement of the prediction with the measurement of p Z T . The uncertainties due to model variations which are largely correlated between p W T and p Z T cancel in this procedure. In contrast, the procedure allows a correct estimation of the uncertainties due to model variations which are uncorrelated between p W T and p Z T , and which represent the only relevant sources of theoretical uncertainties in the propagation of the QCD modelling from p Z T to p W T . Uncertainties due to variations of parton shower parameters that are not fitted to the p Z T measurement include variations of the masses of the charm and bottom quarks, and variations of the factorisation scale used for the QCD ISR.
The mass of the charm quark is varied in Pythia 8, conservatively, by ± 0.5 GeV around its nominal value of 1.5 GeV. The resulting uncertainty contributes 1.2 MeV for the p T fits, and 1.5 MeV for the m T fits. The mass of the bottom quark is varied in Pythia 8, conservatively, by ± 0.8 GeV around its nominal value of 4.8 GeV. The resulting variations have a negligible impact on the transverse-momentum distributions of Z and W bosons, and are not considered further.
The uncertainty due to higher-order QCD corrections to the parton shower is estimated through variations of the factorisation scale, μ F , in the QCD ISR by factors of 0.5 and 2.0 with respect to the central choice μ 2 F = p 2 T,0 + p 2 T , where p T,0 is an infrared cut-off, and p T is the evolution variable of the parton shower [108]. Variations of the renormalisation scale in the QCD ISR are equivalent to a redefinition of α s (m Z ) used for the QCD ISR, which is fixed from the fits to the p Z T data. As a consequence, variations of the ISR renormalisation scale do not apply when estimating the uncertainty in the predicted p W T distribution. Higher-order QCD corrections are expected to be largely correlated between W -boson and Z -boson production induced by the light quarks, u, d, and s, in the initial state. However, a certain degree of decorrelation between W -and Zboson transverse-momentum distributions is expected, due to the different amounts of heavy-quark-initiated production, where heavy refers to charm and bottom flavours. The physical origin of this decorrelation can be ascribed to the presence of independent QCD scales corresponding to the three-tofour flavours and four-to-five flavours matching scales μ c and μ b in the variable-flavour-number scheme PDF evolution [109], which are of the order of the charm-and bottomquark masses, respectively. To assess this effect, the variations of μ F in the QCD ISR are performed simultaneously for all light-quark qq → W, Z processes, with q = u, d, s, but independently for each of the cc → Z , bb → Z , and cq → W processes, where q = d, s. The effect of the cq → W variations on the determination of m W is reduced by a factor of two, to account for the presence of only one heavy-flavour quark in the initial state. The resulting uncertainty in m W is 5.0 MeV for the p T distribution, and 6.9 MeV for the m T distribution. Since the μ F variations affect all the branchings of the shower evolution and not only vertices involving heavy quarks, this procedure is expected to yield a sufficient estimate of the μ c,b -induced decorrelation between the W -and Z -boson p T distributions. Treating the μ F variations as correlated between all quark flavours, but uncorrelated between W -and Z -boson production, would yield a systematic uncertainty in m W of approximately 30 MeV.
The predictions of the Pythia 8 MC generator include a reweighting of the first parton shower emission to the leadingorder W +jet cross section, and do not include matching corrections to the higher-order W +jet cross section. As discussed in Sect. 11.2, predictions matched to the NLO W +jet cross section, such as Powheg MiNLO+Pythia 8 and DYRes, are in disagreement with the observed u distribution and cannot be used to provide a reliable estimate of the associated uncertainty. The u distribution, on the other hand, validates the Pythia 8 AZ prediction and its uncertainty, which gives confidence that missing higher-order corrections to the W -boson p T distribution are small in comparison to the uncertainties that are already included, and can be neglected at the present level of precision.
The sum in quadrature of the experimental uncertainties of the AZ tune parameters, the variations of the mass of the charm quark, and the factorisation scale variations, leads to uncertainties on m W of 6.0 and 7.8 MeV when using the p T distribution and the m T distribution, respectively. These sources of uncertainty are taken as fully correlated between the electron and muon channels, the positively and negatively charged W -boson production, and the |η | bins.
The Pythia 8 parton shower simulation employs the CTEQ6L1 leading-order PDF set. An additional independent source of PDF-induced uncertainty in the p W T distribution is estimated by comparing several choices of the leadingorder PDF used in the parton shower, corresponding to the CT14lo, MMHT2014lo and NNPDF2.3lo [110] PDF sets. The PDFs which give the largest deviation from the nominal ratio of the p W T and p Z T distributions are used to estimate the uncertainty. This procedure yields an uncertainty of about 4 MeV for W + , and of about 2.5 MeV for W − . Similarly to the case of fixed-order PDF uncertainties, there is a strong anti-correlation between positively and negatively charged W bosons, and the uncertainty is reduced to about 1.5 MeV when combining positive-and negative-charge categories.
The prediction of the p W T distribution relies on the p Tordered parton shower model of the Pythia 8 MC generator. In order to assess the impact of the choice of parton shower model on the determination of m W , the Pythia 8 prediction of the ratio of the p W T and p Z T distributions is compared to the corresponding prediction of the Herwig 7 MC generator [111,112], which implements an angular-ordered parton shower model. Differences between the Pythia 8 and Herwig 7 predictions are smaller than the uncertainties in the Pythia 8 prediction, and no additional uncertainty is considered.

Uncertainties in the angular coefficients
The full set of angular coefficients can only be measured precisely for the production of Z bosons. The accuracy of the NNLO predictions of the angular coefficients is validated by comparison to the Z -boson measurement, and extrapolated to W -boson production assuming that NNLO predictions have similar accuracy for the W -and Z -boson processes. The ATLAS measurement of the angular coefficients in Z -boson production at a centre-of-mass energy of √ s = 8 TeV [42] is used for this validation. The O(α 2 s ) predictions, evaluated with DYNNLO, are in agreement with the measurements of the angular coefficients within the experimental uncertainties, except for the measurement of A 2 as a function of Z -boson p T .
Two sources of uncertainty affecting the modelling of the angular coefficients are considered, and propagated to the Wboson predictions. One source is defined from the experimental uncertainty of the Z -boson measurement of the angular coefficients which is used to validate the NNLO predictions. The uncertainty in the corresponding W -boson predictions is estimated by propagating the experimental uncertainty of the Z -boson measurement as follows. A set of pseudodata distributions are obtained by fluctuating the angular coefficients within the experimental uncertainties, preserving the correlations between the different measurement bins for the different coefficients. For each pseudoexperiment, the differences in the A i coefficients between fluctuated and nominal Z -boson measurement results are propagated to the corresponding coefficient in W -boson production. The corresponding uncertainty is defined from the standard deviation of the m W values as estimated from the pseudodata distributions.
The other source of uncertainty is considered to account for the disagreement between the measurement and the NNLO QCD predictions observed for the A 2 angular coefficient as a function of the Z -boson p T (Fig. 4). The corresponding uncertainty in m W is estimated by propagating the difference in A 2 between the Z -boson measurement and the theoretical prediction to the corresponding coefficient in W -boson production. The corresponding uncertainty in the measurement of m W is 1.6 MeV for the extraction from the p T distribution. Including this contribution, total uncertainties of 5.8 and 5.3 MeV due to the modelling of the angular coefficients are estimated in the determination of the W -boson mass from the p T and m T distributions, respectively. The uncertainty is dominated by the experimental uncertainty of the Z -boson measurement used to validate the theoretical predictions.

Calibration of electrons and muons
Any imperfect calibration of the detector response to electrons and muons impacts the measurement of the W -boson mass, as it affects the position and shape of the Jacobian edges reflecting the value of m W . In addition, the p T and m T distributions are broadened by the electron-energy and muonmomentum resolutions. Finally, the lepton-selection efficiencies depend on the lepton pseudorapidity and transverse momentum, further modifying these distributions. Corrections to the detector response are derived from the data, and presented below. In most cases, the corrections are applied to the simulation, with the exception of the muon sagitta bias corrections and electron energy response corrections, which are applied to the data. Backgrounds to the selected Z → samples are taken into account using the same procedures as discussed in Sect. 9. Since the Z samples are used separately for momentum calibration and efficiency measurements, as well as for the recoil response corrections discussed in Sect. 8, correlations among the corresponding uncertainties can appear. These correlations were investigated and found to be negligible.

Muon momentum calibration
As described in Sect. 5.1, the kinematic parameters of selected muons are determined from the associated innerdetector tracks. The accuracy of the momentum measurement is limited by imperfect knowledge of the detector alignment and resolution, of the magnetic field, and of the amount of passive material in the detector.
Biases in the reconstructed muon track momenta are classified as radial or sagitta biases. The former originate from detector movements along the particle trajectory and can be corrected by an η-dependent, charge-independent momentum-scale correction. The latter typically originate from curl distortions or linear twists of the detector around the z-axis [113], and can be corrected with η-dependent correction factors proportional to q × p T , where q is the charge of the muon. The momentum scale and resolution corrections are applied to the simulation, while the sagitta bias correction is applied to the data: where p data,MC T is the uncorrected muon transverse momentum in data and simulation, G(0, 1) are normally distributed random variables with mean zero and unit width, and α, β curv , and δ represent the momentum scale, intrinsic resolution and sagitta bias corrections, respectively. Multiple-scattering contributions to the resolution are relevant at low p T , and the corresponding corrections are neglected.
Momentum scale and resolution corrections are derived using Z → μμ decays, following the method described in Ref. [40]. Template histograms of the dimuon invariant mass are constructed from the simulated event samples, including momentum scale and resolution corrections in narrow steps within a range covering the expected uncertainty. The optimal values of α and β curv are determined by means of a χ 2 minimisation, comparing data and simulation in the range of twice the standard deviation on each side of the mean value of the invariant mass distribution. In the first step, the corrections are derived by averaging over φ, and for 24 pseudorapidity bins in the range − 2.4 < η < 2.4. In the second iteration, φ-dependent correction factors are evaluated in coarser bins of η . The typical size of α varies from − 0.0005 to − 0.0015 depending on η , while β curv values increase from 0.2 TeV −1 in the barrel to 0.6 TeV −1 in the high η region. Before the correction, the φ-dependence has an amplitude at the level of 0.1%.
The α and β curv corrections are sensitive to the following aspects of the calibration procedure, which are considered for the systematic uncertainty: the choice of the fitting range, methodological biases, background contributions, theoretical modelling of Z -boson production, non-linearity of the corrections, and material distribution in the ID. The uncertainty due to the choice of fitting range is estimated by varying the range by ± 10%, and repeating the procedure. The uncertainty due to the fit methodology is estimated by comparing the template fit results with an alternative approach, based on an iterative χ 2 minimisation. Background contributions from gauge-boson pair and top-quark pair production are estimated using the simulation. The uncertainty in these background contributions is evaluated by varying their normalisation within the theoretical uncertainties on the production cross sections. The uncertainty in the theoretical modelling of Z -boson production is evaluated by propagating the effect of electroweak corrections to QED FSR, QED radiation of fermion pairs, and other NLO electroweak corrections described in Sect. 6.1. The experimental uncertainty in the value of the Z -boson mass used as input is also accounted for. These sources of uncertainty are summed in quadrature, yielding an uncertainty δα in the muon momentum scale correction of approximately 0.5 × 10 −4 ; these sources are considered fully correlated across muon pseudorapidity.
The systematic uncertainty in the muon momentum scale due to the extrapolation from the Z → μμ momentum range to the W → μν momentum range is estimated by evaluating momentum-scale corrections as a function of 1/ p T for muons in various |η| ranges. The extrapolation uncertainty δα is parameterised as follows: where p T (W ) is the average p T of muons in W -boson events, and p 0 and p 1 are free parameters. If the momentumscale corrections are independent of 1/ p T , the fitting parameters are expected to be p 0 = 1 and p 1 = 0. Deviations of p 1 from zero indicate a possible momentum dependence.
The fitted values of δα are shown in Fig. 5a, and are consistent with one, within two standard deviations of the statistical error. The corresponding systematic uncertainty in m W is defined assuming, in each bin of |η|, a momentum non-linearity given by the larger of the fitted value of p 1 and its uncertainty. This source of uncertainty is considered uncorrelated across muon pseudorapidity given that p 1 is dominated by statistical fluctuations. The effect of the imperfect knowledge of the material in the ID is studied using simulated event samples including an increase of the ID material by 10%, according to the uncertainty estimated in Ref. [114]. The impact of this variation is found to be negligible in comparison with the uncertainties discussed above. Two methods are used for the determination of the sagitta bias δ. The first method exploits Z → μμ events. Muons are categorised according to their charge and pseudorapidity, and for each of these categories, the position of the peak in the dimuon invariant mass distribution is determined for data and simulation. The procedure allows the determination of the charge dependence of the momentum scale for p T values of approximately 42 GeV, which corresponds to the average transverse momentum of muons from Z -boson decays. The second method exploits identified electrons in a sample of W → eν decays. It is based on the ratio of the measured electron energy deposited in the calorimeter, E, to the electron momentum, p, measured in the ID. A clean sample of W → eν events with tightly identified electrons [38] is selected. Assuming that the response of the electromagnetic calorimeter is independent of the charge of the incoming particle, charge-dependent ID track momentum biases are extracted from the average differences in E/ p for electrons and positrons [113]. This method benefits from a larger event sample compared to the first method, and allows the determination of charge-dependent corrections for p T values of approximately 38 GeV, which corresponds to the average transverse momentum of muons in W -boson decays. The sagitta bias correction factors are derived using both methods separately in 40 η bins and 40 φ bins. The results are found to agree within uncertainties and are combined, as illustrated in Fig. 5b. The combined correction uncertainty is dominated by the finite size of the event samples. Figure 6 shows the dimuon invariant mass distribution of Z → μμ decays in data and simulation, after applying all corrections. Table 4 summarises the effect of the muon momentum scale and resolution uncertainties on the determination of m W . The dominant systematic uncertainty in the momentum scale is due to the extrapolation of the correction from the Z -boson momentum range to the W -boson momentum range. The extrapolation uncertainty δα is (2-5) × 10 −5 for |η | < 2.0, and (4-7) × 10 −4 for |η | > 2.0. Systematic uncertainties from other sources are relatively small. The systematic uncertainty of the resolution corrections is dominated by the statistical uncertainty of the Z -boson event sample, and includes a contribution from the imperfect closure of the method. The latter is defined from the residual difference between the standard deviations of the dimuon invariant mass in data and simulation, after applying resolution corrections.  The selection of muon candidates in W → μν and Z → μμ events requires an isolated track reconstructed in the inner detector and in the muon spectrometer. In addition, the events are required to pass the muon trigger selection. Differences in the efficiency of the reconstruction and selection requirements between data and simulation can introduce a systematic shift in the measurement of the W -boson mass, and have to be corrected. In particular, the extraction of m W is sensitive to the dependence of the trigger, reconstruction and isolation efficiencies on the muon p T and on the projection of the recoil on the lepton transverse momentum, u . For muons with p T larger than approximately 15 GeV the detector simulation predicts constant efficiency as a function of p T , both for the muon trigger selection and the track reconstruction. In contrast, the efficiency of the isolation requirement is expected to vary as a function of p T and u . The efficiency corrections also affect the muon selection inefficiency, and hence the estimation of the Z → μμ background, which contributes to the W → μν selection when one of the decay muons fails the muon reconstruction or kinematic selection requirements.

ATLAS
Corrections to the muon reconstruction, trigger and isolation efficiencies are estimated by applying the tag-and-probe method [40] to Z → μμ events in data and simulation. Efficiency corrections are defined as the ratio of efficiencies evaluated in data to efficiencies evaluated in simulated events. The corrections are evaluated as functions of two variables, p T and u , and in various regions of the detector. The detector is segmented into regions corresponding to the η and φ coverage of the muon spectrometer. The subdivision accounts for the geometrical characteristics of the detector, such as the presence of uninstrumented or transition regions. The dependence of the efficiencies on u agree in data and simulation. Therefore, the muon efficiency corrections are evaluated only as a function of p T and η , separately for positive and negative muon charges. The final efficiency correction factors are linearly interpolated as a function of muon p T . No significant  The selection of tag-and-probe pairs from Z → μμ events is based on the kinematic requirements described in Sect. 5.2. The tag muon is required to be a combined and energy-isolated muon candidate (see Sect. 5.1) which fulfils the muon trigger requirements. The selection requirements applied to the probe muon candidate differ for each efficiency determination: the selection requirement for which the efficiency is determined is removed from the set of requirements applied to the probe muon. All the efficiency corrections are derived inclusively for the full data set, with the exception of the trigger, for which they are derived separately for two different data-taking periods. The resulting scale factors are shown as a function of p T and averaged over η in Fig. 7a.
The trigger and isolation efficiency corrections are typically below 0.3%, while the reconstruction efficiency correction is on average about 1.1%. The corresponding impact on muon selection inefficiency reaches up to about 20%.
The quality of the efficiency corrections is evaluated by applying the corrections to the Z → μμ simulated sample, and comparing the simulated kinematic distributions to the corresponding distributions in data. Figure 7b illustrates this procedure for the η distribution. Further distributions are shown in Sect. 9.
The dominant source of uncertainty in the determination of the muon efficiency corrections is the statistical uncertainty of the Z -boson data sample. The largest sources of systematic uncertainty are the multijet background contribution and the momentum-scale uncertainty. The correspond-ing uncertainty in the measurement of m W is approximately 5 MeV. The ID tracking efficiencies for muon candidates are above 99.5% without any significant p T dependence, and the associated uncertainties are not considered further. An overview of the uncertainties associated with the muon efficiency corrections is shown in Table 4.

Electron energy response
The electron-energy corrections and uncertainties are largely based on the ATLAS Run 1 electron and photon calibration results [39]. The correction procedure starts with the intercalibration of the first and second layers of the EM calorimeter for minimum-ionising particles, using the energy deposits of muons in Z → μμ decays. After the intercalibration of the calorimeter layers, the longitudinal shower-energy profiles of electrons and photons are used to determine the presampler energy scale and probe the passive material in front of the EM calorimeter, leading to an improved description of the detector material distribution and providing estimates of the residual passive material uncertainty. Finally, a dependence of the cell-level energy measurement on the read-out gain is observed in the second layer and corrected for. After these preliminary corrections, an overall energy-scale correction is determined as a function of η from Z → ee decays, by comparing the reconstructed mass distributions in data and simulation. Simultaneously, an effective constant term for the calorimeter energy resolution is extracted by adjusting the width of the reconstructed dielectron invariant mass distribution in simulation to match the distribution in data.
Uncertainties in the energy-response corrections arise from the limited size of the Z → ee sample, from the physics modelling of the resonance and from the calibration algorithm itself. Physics-modelling uncertainties include uncertainties from missing higher-order electroweak corrections (dominated by the absence of lepton-pair emissions in the simulation) and from the experimental uncertainty in m Z ; these effects are taken fully correlated with the muon channel. Background contributions are small and the associated uncertainty is considered to be negligible. Uncertainties related to the calibration procedure are estimated by varying the invariant mass range used for the calibration, and with a closure test. For the closure test, a pseudodata sample of Z → ee events is obtained from the nominal sample by rescaling the electron energies by known η-dependent factors; the calibration algorithm is then applied, and the measured energy corrections are compared with the input rescaling factors.
These sources of uncertainty constitute a subset of those listed in Ref. [39], where additional variations were considered in order to generalise the applicability of the Z -boson calibration results to electrons and photons spanning a wide energy range. The effect of these uncertainties is averaged within the different η categories. The overall relative energyscale uncertainty, averaged over η , is 9.4 × 10 −5 for electrons from Z -boson decays.
In addition to the uncertainties in the energy-scale corrections arising from the Z -boson calibration procedure, possible differences in the energy response between electrons from Z -boson and W -boson decays constitute a significant source of uncertainty. The linearity of the response is affected by uncertainties in the intercalibration of the layers and in the passive material and calorimeter read-out corrections mentioned above. Additional uncertainties are assigned to cover imperfect electronics pedestal subtraction affecting the energy measurement in the cells of the calorimeter, and to the modelling of the interactions between the electrons and the detector material in Geant4. The contribution from these sources to the relative energy-scale uncertainty is (3-12) × 10 −5 in each η bin, and 5.4 × 10 −5 when averaged over the full η range after taking into account the correlation between the η bins.
Azimuthal variations of the electron-energy response are expected from gravity-induced mechanical deformations of the EM calorimeter, and are observed especially in the endcaps, as illustrated in Fig. 8. As the Z -boson calibration averages over φ and the azimuthal distributions of the selected electrons differ in the two processes, a small residual effect from this modulation is expected when applying the calibration results to the W → eν sample. Related effects are discussed in Sect. 8. A dedicated correction is derived using the azimuthal dependence of the mean of the electron energy/momentum ratio, E/ p , after correcting p for the momentum scale and curvature bias discussed in Sect. 7.1. The effect of this correction is a relative change of the average energy response of 3.8 × 10 −5 in W -boson events, with negligible uncertainty.
The E/ p distribution is also used to test the modelling of non-Gaussian tails in the energy response. An excess of events is observed in data at low values of E/ p, and interpreted as the result of the mismodelling of the lateral development of EM showers in the calorimeter. Its impact is evaluated by removing the electrons with E/ p values in the region where the discrepancy is observed. The effect of this removal is compatible for electrons from W -and Z -boson decays within 4.9×10 −5 , which corresponds to the statistical uncertainty of the test and is considered as an additional systematic uncertainty.
The result of the complete calibration procedure is illustrated in Fig. 9, which shows the comparison of the dielectron invariant mass distribution for Z → ee events in data and simulation. The impact of the electron-energy calibration uncertainties on the m W measurement is summarised in Table 5. Electron efficiency corrections are determined using samples of W → eν, Z → ee, and J/ψ → ee events, and measured separately for electron reconstruction, identification and trigger efficiencies [38], as a function of electron η and p T . In the p T range relevant for the measurement of the W -boson mass, the reconstruction and identification efficiency corrections have a typical uncertainty of 0.1-0.2% in the barrel, and 0.3% in the endcap. The trigger efficiency corrections have an uncertainty smaller than 0.1%, and are weakly dependent on p T .
For a data-taking period corresponding to approximately 20% of the integrated luminosity, the LAr calorimeter suffered from six front-end board failures. During this period, electrons could not be reconstructed in the region of 0 < η < 1.475 and − 0.9 < φ < − 0.5. The data-taking conditions are reflected in the simulation for the corresponding fraction of events. However, the trigger acceptance loss is not perfectly simulated, and dedicated efficiency corrections are derived as a function of η and φ to correct the mismodelling, and applied in addition to the initial corrections.
As described in Sect. 5, isolation requirements are applied to the identified electrons. Their efficiency is approximately 95% in the simulated event samples, and energy-isolation efficiency corrections are derived as for the reconstruction, identification, and trigger efficiencies. The energyisolation efficiency corrections deviate from unity by less than 0.5%, with an uncertainty smaller than 0.2% on average.
Finally, as positively and negatively charged W -boson events have different final-state distributions, the W + contamination in the W − sample, and vice versa, constitutes an additional source of uncertainty. The rate of electron charge mismeasurement in simulated events rises from about 0.2% in the barrel to 4% in the endcap. Estimates of charge mismeasurement in data confirm these predictions within better than 0.1%, apart from the high |η| region where differences up to 1% are observed. The electron charge mismeasurement induces a systematic uncertainty in m W of approximately 0.5 MeV in the regions of |η | < 0.6 and 0.6 < |η | < 1.2, and of 5 MeV in the region of 1.8 < |η | < 2.4, separately for W + and W − . Since the W + and W − samples contaminate each other, the effect  The data are compared to the simulation including signal and background contributions. Corrections for energy resolution, and for reconstruction, identification, isolation and trigger efficiencies are applied to the simulation; energy-scale corrections are applied to the data. Background events contribute less than 0.2% of the observed distribution. The lower panel shows the data-to-prediction ratio, with the error bars showing the statistical uncertainty is anti-correlated for the m W measurements in the two different charge categories, and cancels in their combination, up to the asymmetry in the W + /W − production rate. After combination, the residual uncertainty in m W is 0.2 MeV for |η | < 1.2, and 1.5 MeV for 1.8 < |η | < 2.4, for both the p T and m T distributions. The uncertainties are considered as uncorrelated across pseudorapidity bins. Figure 10 compares the η distribution in data and simulation for Z → ee events, after applying the efficiency corrections discussed above. The corresponding uncertainties in m W due to the electron efficiency corrections are shown in Table 5.

Calibration of the recoil
The calibration of the recoil, u T , affects the measurement of the W -boson mass through its impact on the m T distribution, which is used to extract m W . In addition, the recoil calibration affects the p T and m T distributions through the p miss T , m T , and u T event-selection requirements. The calibration procedure proceeds in two steps. First, the dominant part of the u T resolution mismodelling is addressed by correcting the modelling of the overall event activity in simulation. These corrections are derived separately in the W -and Z -boson samples. Second, corrections for residual differences in the recoil response and resolution are derived using Z -boson events in data, and transferred to the W -boson sample.

Event activity corrections
The pile-up of multiple proton-proton interactions has a significant impact on the resolution of the recoil. As described in Sect. 4, the pile-up is modelled by overlaying the simulated hard-scattering process with additional pp interactions simulated using Pythia 8 with the A2 tune. The average number of interactions per bunch crossing is defined, for each event, as μ = Lσ in / f BC , where L is the instantaneous luminosity, σ in is the total pp inelastic cross section and f BC is the average bunch-crossing rate. The distribution of μ in the simulated event samples is reweighted to match the corresponding distribution in data. The distribution of μ is affected in particular by the uncertainty in the cross section and properties of inelastic collisions. In the simulation, μ is scaled by a factor α to optimise the modelling of observed data distributions which are relevant to the modelling of u T . A value of α = 1.10 ± 0.04 is determined by minimising the χ 2 function of the compatibility test between data and simulation for the E * T and u Z ⊥ distributions, where the uncertainty accounts for differences in the values determined using the two distributions. Distributions of a E * T and b azimuth φ of the recoil in data and simulation for Z → μμ events. The E * T distribution is shown before and after applying the Smirnov-transform correction, and the φ distribution is shown before and after the u x,y correction. The lower panels show the data-to-prediction ratios, with the vertical bars showing the statistical uncertainty After the correction applied to the average number of pileup interactions, residual data-to-prediction differences in the E * T distribution are responsible for most of the remaining u T resolution mismodelling. The E * T distribution is corrected by means of a Smirnov transform, which is a mapping [115]. Accordingly, a mapping The correction is derived for Z -boson events in bins of p T , as the observed differences in the E * T distribution depend on the Z -boson transverse momentum. The result of this procedure is illustrated in Fig. 11a. The modified distribution is used to parameterise the recoil response corrections discussed in the next section.
In W -boson events, the transverse momentum of the boson can only be inferred from u T , which has worse resolution compared to p T in Z -boson events. To overcome this limitation, a p T -dependent correction is defined assuming that the p T dependence of differences between data and simulation in the E * T distribution in W -boson events follows the corresponding differences observed in Z -boson events. The E * T distribution to be matched by the simulation is defined as follows for W -boson events: where p W T is the particle-level W -boson transverse momentum, and p T the transverse momentum measured from the decay-lepton pair, used as an approximation of the particle-level p Z T . The superscripts W and Z refer to W -or Zboson event samples, and the double ratio in the second term accounts for the differences between the inclusive distributions in W -and Z -boson events. This correction is defined separately for positively and negatively charged W bosons, so as to incorporate the dependence of the p W T distribution on the charge of the W boson. Usingh W data ( E * T , p W T ) defined in Eq. (4) as the target distribution, the p W T -dependent Smirnov transform of the E * T distribution in W -boson events is defined as follows:

The validity of the approximation introduced in Eq. (4) is verified by comparing
in broad bins of u T . The associated systematic uncertainties are discussed in Sect. 8.3.

Residual response corrections
In the ideal case of beams coinciding with the z-axis, the physical transverse momentum of W and Z bosons is uniformly distributed in φ. However, an offset of the interaction point with respect to the detector centre in the transverse plane, the non-zero crossing angle between the proton beams, and φ-dependent response of the calorimeters generate anisotropies in the reconstructed recoil distribution. Corresponding differences between data and simulation are addressed by effective corrections applied to u x and u y in simulation: where u x,y data and u x,y MC are the mean values of these distributions in data and simulation, respectively. The corrections are evaluated in Z -boson events and parameterised as a function of E * T . The effect of these corrections on the recoil φ distribution is illustrated in Fig. 11b.
The transverse momentum of Z bosons can be reconstructed from the decay-lepton pair with a resolution of 1-2 GeV, which is negligible compared to the recoil energy resolution. The recoil response can thus be calibrated from comparisons with the reconstructed p T in data and simulation. Recoil energy scale and resolution corrections are derived in bins of E * T and p T at reconstruction level, and are applied in simulation as a function of the particle-level vector-boson momentum p V T in both the W -and Z -boson samples. The energy scale of the recoil is calibrated by comparing the u Z + p T distribution in data and simulation, whereas resolution corrections are evaluated from the u Z ⊥ distribution.

Energy-scale corrections b( p V
T , E * T ) are defined as the difference between the average values of the u Z + p T distributions in data and simulation, and the energy-resolution correction factors r ( p V T , E * T ) as the ratio of the standard deviations of the corresponding u Z ⊥ distributions. The parallel component of u T in simulated events is corrected for energy scale and resolution, whereas the perpendicular component is corrected for energy resolution only. The corrections are defined as follows: and r , the average u Z ,data is mapped as a function of the reconstructed p T in Z -boson data, and used as a function of p V T in both W -and Z -boson simulation. Since the resolution of u T has a sizeable dependence on the amount of pile-up, the correction procedure is defined in three bins of μ , corresponding to low, medium, and high pile-up conditions, and defined by the ranges of μ ∈ [2.5, 6.5], μ ∈ [6.5, 9.5], and μ ∈ [9.5, 16.0], respectively. Values for b( p V T , E * T ) are typically O(100 MeV), and r ( p V T , E * T ) deviates from unity by 2% at most. The effect of the calibration is shown in Fig. 12 for Z → μμ events. The level of agreement obtained after corrections is satisfactory, and similar performance is observed for Z → ee events.
A closure test of the applicability of Z -based corrections to W production is performed using W and Z samples simulated with Powheg+Herwig 6, which provide an alternative model for the description of hadronisation and the underlying event. The procedure described above is used to correct the recoil response from Powheg+Pythia 8 to Powheg+Herwig 6, where the latter is treated as pseudodata. As shown in Fig. 13, the corrected W recoil distributions in Powheg+Pythia 8 match the corresponding distributions in Powheg+Herwig 6. For this study, the effect of the different particle-level p W T distributions in both samples is removed by reweighting the Powheg+Pythia 8 prediction to Powheg+Herwig 6. This study is performed applying the standard lepton selection cuts, but avoiding further kinematic selections in order to maximize the statistics available for the test.

Systematic uncertainties
The recoil calibration procedure is sensitive to the following sources of systematic uncertainty: the uncertainty of the scale factor applied to the μ distribution, uncertainties due to the Smirnov transform of the E * T distribution, uncertainties in the correction of the average value of the u x,y distributions, statistical uncertainties in the residual correction factors and their p T dependence, and expected differences in the recoil response between Z -and W -boson events.
The uncertainty from the μ scale-factor α is evaluated by varying it by its uncertainty and repeating all steps of the recoil calibration procedure. These variations affect the determination of m W by less than 1 MeV.
The systematic uncertainty related to the dependence of the E * T correction on p T is estimated by comparing with the results of a p T -inclusive correction. This source contributes, averaging over W -boson charges, an uncertainty of approximately 1 MeV for the extraction of m W from the p T distribution, and 11 MeV when using the m T distribution.
The recoil energy scale and resolution corrections of Eqs. (5) and (6) are derived from the Z -boson sample and applied to W -boson events. Differences in the detector response to the recoil between W -and Z -boson processes are considered as a source of systematic uncertainty for these corrections. Differences between the u W ⊥ and u Z ⊥ distributions originating from different vector-boson kinematic properties, different ISR and FSR photon emission, and from different selection requirements are, however, discarded as they are either accurately modelled in the simulation or already incorporated in the correction procedure.
To remove the effect of such differences, the twodimensional distribution h W MC ( p T , E * T ) in W -boson simulated events is corrected to match the corresponding distribution in Z -boson simulated events, treating the neutrinos in W -boson decays as charged leptons to calculate u T as in Z -boson events. Finally, events containing a particlelevel photon from final-state radiation are removed. After these corrections, the standard deviation of the u ⊥ distribution agrees within 0.03% between simulated W -and Z -boson (d) Fig. 12 Recoil distributions for a u Z , b u Z + p T , (c) u Z ⊥ , and (d) u T in Z → μμ events. The data are compared to the simulation before and after applying the recoil corrections described in the text. The lower panels show the data-to-prediction ratios, with the vertical bars showing the statistical uncertainty events. This difference is equivalent to 6% of the size of the residual resolution correction, which increases the standard deviation of the u ⊥ distribution by 0.5%. Accordingly, the corresponding systematic uncertainty due to the extrapolation of the recoil calibration from Z -to W -boson events is estimated by varying the energy resolution parameter r of Eqs. (5) and (6) by 6%. The impact of this uncertainty on the extraction of m W is approximately 0.2 MeV for the p T distribution, and 5.1 MeV for the m T distribution. The extrapolation uncertainty of the energy-scale correction b was found to be negligible in comparison.
In addition, the statistical uncertainty of the correction factors contributes 2.0 MeV for the p T distribution, and 2.7 MeV for the m T distribution. Finally, instead of using a binned correction, a smooth interpolation of the correction values between the bins is performed. Comparing the binned and interpolated correction parameters b( p V T , E * T ) and r ( p V T , E * T ) leads to a systematic uncertainty in m W of 1.4 and 3.1 MeV for the p T and m T distributions, respectively. Systematic uncertainties in the u x,y corrections are found to be small compared to the other systematic uncertainties, and are neglected.
The impact of the uncertainties of the recoil calibration on the extraction of the W -boson mass from the p T and m T distributions are summarised in Table 6. The determination of m W from the p T distribution is only slightly affected by the uncertainties of the recoil calibration, whereas larger uncertainties are estimated for the m T distribution. The largest uncertainties are induced by the E * T corrections and by the extrapolation of the recoil energy-scale and energyresolution corrections from Z -to W -boson events. The systematic uncertainties are in general smaller for W − events    than for W + events, as the E * T distribution in W − events is closer to the corresponding distribution in Z -boson events.

Consistency tests with Z-boson events
The Z → event sample allows several validation and consistency tests of the W -boson analysis to be performed. All the identification requirements of Sect. 5.1, the calibration and efficiency corrections of Sects. 7 and 8, as well as the physics-modelling corrections described in Sect. 6, are applied consistently in the W -and Z -boson samples. The Zboson sample differs from the W -boson sample in the selection requirements, as described in Sect. 5.2. In addition to the event-selection requirements described there, the transverse momentum of the dilepton system, p T , is required to be smaller than 30 GeV.
The missing transverse momentum in Z -boson events is defined by treating one of the two decay leptons as a neu-trino and ignoring its transverse momentum when defining the event kinematics. This procedure allows the p miss T and m T variables to be defined in the Z -boson sample in close analogy to their definition in the W -boson sample. The procedure is repeated, removing the positive and negative lepton in turn.
In the Z -boson sample, the background contribution arising from top-quark and electroweak production is estimated using Monte Carlo samples. Each process is normalised using the corresponding theoretical cross sections, evaluated at NNLO in the perturbative expansion of the strong coupling constant. This background contributes a 0.12% fraction in each channel. In the muon channel, the background contribution from multijet events is estimated to be smaller than 0.05% using simulated event samples of bb and cc production, and neglected. In the electron channel, a datadriven estimate of the multijet background contributes about a 0.1% fraction, before applying the isolation selections, which reduce it to a negligible level. Background events contribute less than 0.2% of the observed distributions. The lower panels show the data-to-prediction ratios, with the error bars showing the statistical uncertainty Figure 14 shows the reconstructed distributions of p T and y in selected Z -boson events; these distributions are not sensitive to the value of m Z . Figure 15 shows the corresponding distributions for p T and m T , variables which are sensitive to m Z . Data and simulation agree at the level of 1-2% percent in all the distributions.
The mass of the Z boson is extracted with template fits to the m , p T , and m T kinematic distributions. The extraction of the Z -boson mass from the dilepton invariant mass distribution is expected to yield, by construction, the value of m Z used as input for the muon-momentum and electronenergy calibrations, providing a closure test of the lepton calibration procedures. The p T distribution is very sensitive to the physics-modelling corrections described in Sect. 6. The comparison of the value of m Z extracted from the p T distribution with the value used as input for the calibration tests the physics modelling and efficiency corrections. Finally, m Z measurements from the m T distribution provides a test of the recoil calibration.
Similarly to the W -boson mass, the value of m Z is determined by minimising the χ 2 function of the compatibility test between the templates and the measured distributions. The templates are generated with values of m Z in steps of 4 to 25 MeV within a range of ± 450 MeV, centred around a reference value corresponding to the LEP combined value, m Z = 91187.5 MeV [32]. The χ 2 function is interpolated with a second order polynomial. The minimum of the χ 2 function yields the extracted value of m Z , and the difference between the extracted value of m Z and the reference value is defined as m Z . The ranges used for the extraction are [80,100] GeV for the m distributions, [30,55] GeV for the p T distribution, and [40,120] GeV for the m T distribution.   Table 7 Difference between Z -boson mass, extracted from p T and m T distributions, and the LEP combined value. The results are shown separately for the electron and muon decay channels, and their combination. The first quoted uncertainty is statistical, the second is the experimental systematic uncertainty, which includes lepton efficiency and recoil calibration uncertainties where applicable. Physics-modelling uncertainties are neglected Lepton charge The extraction of m Z from the m T distribution is performed separately for positively and negatively charged leptons in the event, by reconstructing m T from the kinematic properties of one of the two charged leptons and of the recoil reconstructed by treating the other as a neutrino. Z -boson mass fits are performed using the m T and p T distributions in the electron and muon decay channels, inclusively in η and separately for positively and negatively charged leptons. The results of the fits are summarised in Fig. 16 and Table 7. The p T fit results include all lepton reconstruction systematic uncertainties except the Z -based energy or momentum scale calibration uncertainties; the m T fit results include recoil calibration systematic uncertainties in addition. Physics-modelling uncertainties are neglected.
The value of m Z measured from positively charged leptons is correlated with the corresponding extraction from the negatively charged leptons. The p T distributions for positively and negatively charged leptons are statistically independent, but the m T distributions share the same reconstructed recoil event by event, and are statistically correlated. In both cases, the decay of the Z -boson induces a kinematical correlation between the distributions of positively and negatively charged leptons. The correlation is estimated by constructing two-dimensional + and − distributions, separately for p T and m T , fluctuating the bin contents of these distributions within their uncertainties, and repeating the fits for each pseudodata sample. The correlation values are − 7% for the p T distributions, and −12% for the m T distributions.
Accounting for the experimental uncertainties as described above, the combined extraction of m Z from the p T distribution yields a result compatible with the reference value within 0.9 standard deviations. The difference between the m Z extractions from positively and negatively charged lepton distributions is compatible with zero within 1.4 standard deviations. For the extraction from the m T distribution, the compatibility with the reference value of m Z is at the level of 1.5 standard deviations. Fits using the lepton pair invariant mass distribution agree with the reference, yielding m Z = 1 ± 3 MeV in the muon channel and m Z = 3 ± 5 MeV in the electron channel, as expected from the calibration procedure. In summary, the consistency tests based on the Z -boson sample agree with the expectations within the experimental uncertainties.

Backgrounds in the W -boson sample
The W -boson event sample, selected as described in Sect. 5.2, includes events from various background processes. Background contributions from Z -boson, W → τ ν, boson pair, and top-quark production are estimated using simulation.
Contributions from multijet production are estimated with data-driven techniques.

Electroweak and top-quark backgrounds
The dominant sources of background contribution in the W → ν sample are Z → events, in which one of the two leptons escapes detection, and W → τ ν events, where the τ decays to an electron or muon. These background contributions are estimated using the Powheg+Pythia 8 samples after applying the modelling corrections discussed in Sect. 6, which include NNLO QCD corrections to the angular coefficients and rapidity distributions, and corrections to the vector-boson transverse momentum. The Z → ee background represents 2.9% of the W + → eν sample and 4.0% of the W − → eν sample. In the muon channel, the Z → μμ background represents 4.8 and 6.3% of the W + → μν and W − → μν samples, respectively. The W → τ ν background represents 1.0% of the selected sample in both channels, and the Z → τ τ background contributes approximately 0.12%. The normalisation of these processes relative to the W -boson signal and the corresponding uncertainties are discussed in Sect. 4. A relative uncertainty of 0.2% is assigned to the normalisation of the W → τ ν samples with respect to the W -boson signal sample, to account for the uncertainty in the τ -lepton branching fractions to electrons and muons. In the determination of the W -boson mass, the variations of m W are propagated to the W → τ ν background templates in the same way as for the signal.
Similarly, backgrounds involving top-quark (top-quark pairs and single top-quark) production, and boson-pair production are estimated using simulation, and normalisation uncertainties are assigned as discussed in Sect. 4. These processes represent 0.11 and 0.07% of the signal event selection, respectively.
Uncertainties in the distributions of the W → τ ν and Z → processes are described by the physics-modelling uncertainties discussed in Sect. 6, and are treated as fully correlated with the signal. Shape uncertainties for boson-pair production and top-quark production are considered negligible compared to the uncertainties in their cross sections, given the small contributions of these processes to the signal event selection.

Multijet background
Inclusive multijet production in strong-interaction processes constitutes a significant source of background. A fraction of multijet events contains semileptonic decays of bottom and charm hadrons to muons or electrons and neutrinos, and can pass the W -boson signal selection. In addition, inclusive jet production contributes to the background if one jet is misidentified as electron or muon, and sizeable miss-ing transverse momentum is reconstructed in the event. Inflight decays of pions or kaons within the tracking region can mimic the W -boson signal in the muon channel. In the electron channel, events with photon conversions and hadrons misidentified as electrons can be selected as Wboson events. Due to the small selection probability for multijet events, their large production cross section, and the relatively complex modelling of the hadronisation processes, the multijet background contribution cannot be estimated precisely using simulation, and a data-driven method is used instead.
The estimation of the multijet background contribution follows similar procedures in the electron and muon decay channels, and relies on template fits to kinematic distributions in background-dominated regions. The analysis uses the distributions of p miss T , m T , and the p T /m T ratio, where jet-enriched regions are obtained by relaxing a subset of the signal event-selection requirements. The first kinematic region, denoted FR1, is defined by removing the p miss T and m T requirements from the event selection. A second kinematic region, FR2, is defined in the same way as FR1, but by also removing the requirement on u T . Multijet background events, which tend to have smaller values of p miss T and m T than the signal, are enhanced by this selection. The p T /m T distribution is sensitive to the angle between the p T and p miss T vectors in the transverse plane. Whereas W -boson events are expected to peak at values of p T /m T = 0.5, relatively large tails are observed for multijet events.
Templates of the multijet background distributions for these observables are obtained from data by inverting the lepton energy-isolation requirements. Contamination of these control regions by electroweak and top production is estimated using simulation and subtracted. In the muon channel, the anti-isolation requirements are defined from the ratio of the scalar sum of the p T of tracks in a cone of size R < 0.2 around the reconstructed muon to the muon p T . The isolation variable p μ,cone T , introduced in Sect. 5.1, is required to satisfy c 1 < p μ,cone T / p T < c 2 , where the anti-isolation boundaries c 1 and c 2 are varied as discussed below. In order to avoid overlap with the signal region, the lower boundary c 1 is always larger than 0.1. In the electron channel, the scalar sum of the p T of tracks in a cone of size R < 0.4 around the reconstructed electron, defined as p e,cone T in Sect. 5.1, is used to define the templates, while the requirements on the calorimeter isolation are omitted.
The multijet background normalisation is determined by fitting each of the p miss T , m T , and p T /m T distributions in the two kinematic regions FR1 and FR2, using templates of these distributions based on multijet events and obtained with several ranges of the anti-isolation variables. The multijet background in the signal region is determined by correcting the multijet fraction fitted in the FR1 and FR2 for the different efficiencies of the selection requirements of the signal region. In the electron channel, c 1 is varied from 4 to 9 GeV in steps of 1 GeV, and c 2 is set to c 2 = c 1 + 1 GeV. In the muon channel, c 1 is varied from 0.1 to 0.37 in steps of 0.03, and c 2 is set to c 2 = c 1 + 0.03. Example results of template fits in the electron and muon channels are shown in Fig. 17. The results corresponding to the various observables and to the different kinematic regions are linearly extrapolated in the isolation variables to the signal regions, denoted by c 1 = 0. Figure 18 illustrates the extrapolation procedure.
The systematic uncertainty in the multijet background fraction is defined as half of the largest difference between the results extrapolated from the different kinematic regions and observables. The multijet background contribution is estimated separately in all measurement categories. In the electron channel, the multijet background fraction rises from 0.58±0.08% at low |η | to 1.73 ± 0.19% in the last measurement bin, averaging the W + and W − channels. In the muon channel, the charge-averaged multijet background fraction decreases from 0.72 ± 0.07% to 0.49 ± 0.03%, when going from low to high |η |. The uncertainties in the multijet background fractions are sufficient to account for the observed residual discrepancies between the fitted distributions and the data (see Fig. 17). The estimated multijet background yields are consistent between W + and W − , but the multijet background fraction is smaller in the W + channels due to the higher signal yield.
Corrections to the shape of the multijet background contributions and corresponding uncertainties in the distributions used to measure the W -boson mass are estimated with a similar procedure. The kinematic distributions in the control regions are obtained for a set of anti-isolation ranges, and parameterised with linear functions of the lower bound of the anti-isolation requirement. The distributions are extrapolated to the signal regions accordingly. Uncertainties in the extrapolated distributions are dominated by the statistical uncertainty, which is determined with a toy MC method by fluctuating within their statistical uncertainty the bin contents of the histograms in the various anti-isolation ranges. The resulting multijet background distribution is propagated to the templates, and the standard deviation of the determined values of m W yields the estimated uncertainty due to the shape of the multijet background. Uncertainties due to the choice of parameterisation are small in comparison and neglected.
Uncertainties in the normalisation of multijet, electroweak, and top-quark background processes are considered correlated across decay channels, boson charges and rapidity bins, whereas the uncertainty in the shape of multijet background is considered uncorrelated between decay channels and boson charges. The impact of the background systematic uncertainties on the determination of m W is summarised in Table 8.

Measurement of the W -boson mass
This section presents the determination of the mass of the W boson from template fits to the kinematic distributions of the W -boson decay products. The final measured value is obtained from the combination of measurements performed using the lepton transverse momentum and transverse mass distributions in categories corresponding to the electron and muon decay channels, positively and negatively charged W bosons, and absolute pseudorapidity bins of the charged lepton, as illustrated in Table 1. The number of selected events in each category is shown in Table 9.

Control distributions
The detector calibration and the physics modelling are validated by comparing data with simulated W -boson signal and backgrounds for several kinematic distributions that are insensitive to the W -boson mass. The comparison is based on a χ 2 compatibility test, including statistical and systematic uncertainties, and the bin-to-bin correlations induced by the latter. The systematic uncertainty comprises all sources of experimental uncertainty related to the lepton and recoil calibration, and to the background subtraction, as well as sources of modelling uncertainty associated with electroweak corrections, or induced by the helicity fractions of vector-boson production, the vector-boson transverse-momentum distribution, and the PDFs. Comparisons of data and simulation for the η , u T , and u distributions, in positively and negatively charged W -boson events, are shown in Figs. 19 and 20 for the electron and muon decay channels, respectively.
Data and simulation agree within uncertainties for all distributions, as confirmed by the satisfactory χ 2 /dof values. The effect of the residual discrepancies in the u T distributions for W − → ν, visible at low values in Figs. 19d and 20d, is discussed in Sect. 11.5.

T distribution
The uncertainty in the prediction of the u distribution is dominated by p W T distribution uncertainties, especially at negative values of u in the kinematic region corresponding to u < −15 GeV. This is illustrated in Fig. 21, which compares the recoil distributions in the Powheg+Pythia 8 and Powheg+Herwig 6 samples, before and after the corrections described in Sect. 8.2 (the p W T distribution predicted by Powheg+Pythia 8 is not reweighted to that of Powheg+Herwig 6). As can be seen, the recoil corrections and the different p W T distributions have a comparable effect on the u T distribution. In contrast, the effect of the recoil corrections is small at negative values of u , whereas the Events / 2 GeV  Table 8 Systematic uncertainties in the m W measurement due to electroweak, top-quark, and multijet background estimation, for fits to the p T and m T distributions, in the electron and muon decay channels, with positively and negatively charged W bosons difference in the p W T distributions has a large impact in this region.
The sensitivity of the u distribution is exploited to validate the modelling of the p W T distribution by Pythia 8 AZ, and its theory-driven uncertainty, described in Sect. 6.5.2, with a data-driven procedure. The parton-shower factorisation scale μ F associated with the cq → W processes consti-tutes the main source of uncertainty in the modelling of the p W T distribution. Variations of the u distribution induced by changes in the factorisation scale of the cq → W processes are parameterised and fitted to the data. The u distribution is predicted for the two boundary values of μ F , and assumed to vary linearly as a function of μ F . Variations induced by changes in μ F are parameterised using a variable The optimal value of s is determined by fitting the fraction of events in the kinematic region −30 < u < −15 GeV. The fit accounts for all experimental and modelling uncertainties affecting the u distribution, and gives a value of s = − 0.22 ± 1.06. The best-fit value of s confirms the good agreement between the the Pythia 8 AZ prediction and the data; its uncertainty is dominated by PDF and recoilcalibration uncertainties, and matches the variation range of μ F used for the initial estimation of the p W T distribution uncertainty.
This validation test supports the Pythia 8 AZ prediction of the p W T distribution and the theory-driven associated uncertainty estimate. On the other hand, as shown in Fig. 22, the data disagree with the DYRes and Powheg MiNLO+Pythia 8 predictions. The latter are obtained reweighting the initial p W T distribution in Powheg+Pythia 8 according to the product of the p Z T distribution of Pythia 8 AZ, which matches the measurement of Ref.
[44], and R W/Z ( p T ) as predicted by DYRes and Powheg MiNLO+Pythia 8. The uncertainty bands in the DYRes prediction are calculated using variations of the factorisation, renormalisation and resummation scales μ F , μ R and μ Res following the procedure described in Ref. [116,117]. The uncertainty obtained applying correlated scale variations in W and Z production does not 3 Half the effect is used because only one of the two quarks in the initial state is heavy, as discussed in Sect. 6.5.2. cover the observed difference with the data. The potential effect of using R W/Z ( p T ) as predicted by DYRes instead of Pythia 8 AZ for the determination of m W is discussed in Sect. 11.5.

Results for m W in the measurement categories
Measurements of m W are performed using the p T and m T distributions, separately for positively and negatively charged W bosons, in three bins of |η | in the electron decay channel, and in four bins of |η | in the muon decay channel, leading to a total of 28 m W determinations. In each category, the value of m W is determined by a χ 2 minimisation, comparing the p T and m T distributions in data and simulation for different values of m W . The templates are generated with values of m W in steps of 1 to 10 MeV within a range of ± 400 MeV, centred around the reference value used in the Monte Carlo signal samples. The statistical uncertainty is estimated from the half width of the χ 2 function at the value corresponding to one unit above the minimum. Systematic uncertainties due to physics-modelling corrections, detector-calibration corrections, and background subtraction, are discussed in Sects. 6-8 and 10, respectively.
The lower and upper bounds of the range of the p T distribution used in the fit are varied from 30 to 35 GeV, and from 45 to 50 GeV respectively, in steps of 1 GeV. For the m T distribution, the boundaries are varied from 65 to 70 GeV, and from 90 to 100 GeV. The total measurement uncertainty is evaluated for each range, after combining the measurement categories as described in Sect. 11.4 below. The T distribution. The uncertainty band around the DYRes prediction assumes that uncertainties induced by variations of the QCD scales μ F , μ R and μ Res , collectively referred to as μ QCD , are fully correlated in W and Z production smallest total uncertainty in m W is found for the fit ranges 32 < p T < 45 GeV and 66 < m T < 99 GeV. The optimisation is performed before the unblinding of the m W value and the optimised range is used for all the results described below.
The for the electron and muon decay channels, respectively. The value of m W used in the predictions is set to the overall measurement result presented in the next section. The χ 2 values quantifying the comparison between data and prediction are calculated over the full histogram range and account for all sources of uncertainty. The bin-to-bin correlations induced by the experimental and physics-modelling systematic uncertainties are also accounted for. Overall, satisfactory agreement is observed. The deficit of data visible for p T ∼ 40-42 GeV in the W + → eν channel does not strongly affect the mass measurement, as the observed effect differs from that expected from m W variations. Cross-checks of possible sources of this effect were performed, and its impact on the mass determination was shown to be within the corresponding systematic uncertainties.

Combination and final results
The measurements of m W in the various categories are combined accounting for statistical and systematic uncertainties and their correlations. The statistical correlation of the m W values determined from the p T and m T distributions is evaluated with the bootstrap method [118], and is approximately 50% for all measurement categories.
The systematic uncertainties have specific correlation patterns across the m W measurement categories. Muonmomentum and electron-energy calibration uncertainties are uncorrelated between the different decay channels, but largely correlated between the p T and m T distributions. Recoil-calibration uncertainties are correlated between electron and muon decay channels, and they are small for p T distributions. The PDF-induced uncertainties are largely cor-  related between electron and muon decay channels, but significantly anti-correlated between positively and negatively charged W bosons, as discussed in Sect. 6. Due to the different balance of systematic uncertainties and to the variety of correlation patterns, a significant reduction of the uncertainties in the measurement of m W is achieved by combining the different decay channels and the charge and |η | categories. As discussed in Sect. 2, the comparison of the results from the p T and m T distributions, from the different decay channels, and in the various charge and |η | categories, provides a test of the experimental and physics modelling corrections. Discrepancies between the positively and negatively charged lepton categories, or in the various |η | bins would primarily indicate an insufficient understanding of physics-modelling effects, such as the PDFs and the p W T distribution. Inconsistencies between the electron and muon channels could indicate problems in the calibration of the muon-momentum and electron-energy responses. Significant differences between results from the p T and m T distributions would point to either problems in the calibration of the recoil, or to an incorrect modelling of the transverse-momentum distribution of the W boson. Several measurement combinations are performed, using the best linear unbiased estimate (BLUE) method [119,120]. The results of the combinations are verified with the HERAverager program [121], which gives very close results. Table 11 shows an overview of partial m W measurement combinations. In the first step, determinations of m W in the electron and muon decay channels from the m T distribution are combined separately for the positive-and negativecharge categories, and together for both W -boson charges. The results are compatible, and the positively charged, negatively charged, and charge-inclusive combinations yield values of χ 2 /dof corresponding to 2/6, 7/6, and 11/13, respec-tively. Compatibility of the results is also observed for the corresponding combinations from the p T distribution, with values of χ 2 /dof of 5/6, 10/6, and 19/13, for positively charged, negatively charged, and charge-inclusive combinations, respectively. The χ 2 compatibility test validates the consistency of the results in the W → eν and W → μν decay channels. The precision of the determination of m W from the m T distribution is slightly worse than the result obtained from the p T distribution, due to the larger uncertainty induced by the recoil calibration. In addition, the impact of PDF-and p W T -related uncertainties on the p T fits is limited by the optimisation of the fitting range. In the second step, determinations of m W from the p T and m T distributions are combined separately for the electron and the muon decay channels. The results are compatible, with values of χ 2 /dof of 4/5 and 8/5 in the electron channel for the p T and m T distributions, respectively, and values of 7/7 and 3/7 in the muon channel for the p T and m T distributions, respectively. The m W determinations in the electron and in the muon channels agree, further validating the consistency of the electron and muon calibrations. Agreement between the m W determinations from the p T and m T distributions supports the calibration of the recoil, and the modelling of the transverse momentum of the W boson.
The results are summarised in Fig. 26. The combination of all the determinations of m W reported in Table 10 Fig. 25 The a, b p T , c, d m T , and e, f p miss T distributions for a, c, e W + events and b, d, f W − events in the muon decay channel. The data are compared to the simulation including signal and background contributions. Detector calibration and physics-modelling corrections are applied to the simulated events. For all simulated distributions, m W is set according to the overall measurement result. The lower panels show the data-to-prediction ratios, the error bars show the statistical uncertainty, and the band shows the systematic uncertainty of the prediction. The χ 2 values displayed in each figure account for all sources of uncertainty and include the effects of bin-to-bin correlations induced by the systematic uncertainties third to the physics-modelling systematic uncertainty. The latter dominates the total measurement uncertainty, and it itself dominated by strong interaction uncertainties. The experimental systematic uncertainties are dominated by the lepton calibration; backgrounds and the recoil calibration have a smaller impact. In the final combination, the muon decay channel has a weight of 57%, and the p T fit dominates the measurement with a weight of 86%. Finally, the charges contribute similarly with a weight of 52% for W + and of 48% for W − . The result is in agreement with the current world average of m W = 80385 ± 15 MeV [29], and has a precision comparable to the currently most precise single measurements of the CDF and D0 collaborations [22,23].

Additional validation tests
The final combination of m W , presented above, depends only on template fits to the p T and m T distributions. As a validation test, the value of m W is determined from the p miss T distribution, performing a fit in the range 30 < p miss T < 60 GeV. Consistent results are observed in all measurement categories, leading to combined results of 80364 ±26 (stat) MeV and 80367 ± 23 (stat) MeV for the electron and muon channels, respectively.
Several additional studies are performed to validate the stability of the m W measurement. The stability of the result with respect to different pile-up conditions is tested by dividing the event sample into three bins of μ , namely [2.5, 6.5], [6.5, 9.5], and [9.5, 16]. In each bin, m W measurements are performed independently using the p T and m T distributions. This categorisation also tests the stability of m W with respect to data-taking periods, as the later data-taking periods have on average more pile-up due to the increasing LHC luminosity.
The calibration of the recoil and the modelling of the p W T distribution are tested by performing m W fits in two bins of the recoil corresponding to [0, 15] GeV and [15,30] GeV, and in two regions corresponding to positive and negative values of u . The analysis is also repeated with the p miss T requirement removed from the signal selection, leading to a lower recoil modelling uncertainty but a higher multijet background contribution. The stability of the m W measurements upon removal of this requirement is studied, and consistent results are obtained. All m W determinations are consistent with the nominal result. An overview of the validation tests is shown in Table 12, where only statistical uncertainties are given. Fitting ranges of 30 < p T < 50 GeV and 65 < m T < 100 GeV are used for all these validation tests, to minimise the statistical uncertainty.
The lower and upper bounds of the range of the p T and m T distributions are varied as in the optimisation procedure described in Sect. 11.3. The statistical and systematic uncertainties are evaluated for each range, and are only partially correlated between different ranges. Figure 27 shows measured values of m W for selected ranges of the p T and m T distributions, where only the uncorrelated statistical and systematic uncertainties with respect to the optimal range are shown. The observed variations are all within two standard deviations of the uncorrelated uncertainties, and small compared to the overall uncertainty of the measurement, which is illustrated by the band on Fig. 27. The largest dependence on the kinematic ranges used for the fits is observed for variations of the upper bound of the p T distribution in the W + → eν channel, and is related to the shape of the data-to-prediction ratio for this distribution in the region 40 < p T < 42 GeV, as discussed in Sect. 11.3.
The effect of the residual discrepancies in the u T distributions for W − → ν, visible at low values in Figs. 19-(d) and 20-(d), is estimated by adjusting, in turn, the particle-level p W T distribution and the recoil calibration  27 Stability of the combined measurement of m W with respect to variations of the kinematic ranges of a p T and b m T used for the template fits. The optimal m T range is used for the p T variations, and the optimal p T range is used for the m T variations. The effect on the result of symmetric variations of the fitting range boundaries, and its dependence on variations of the lower (upper) boundary for two values of the upper (lower) boundary for p T (m T ) are shown. The bands and solid lines respectively show the statistical and total uncertainty on the difference with the optimal result corrections to optimize the agreement between data and simulation. The impact of these variations on the determination of m W is found to be small compared to the assigned p W T modelling and recoil calibration uncertainties, respectively.
When assuming R W/Z ( p T ) as predicted by DYRes, instead of Pythia 8 AZ, to model the p W T distribution, deviations of about 3% appear in the distribution ratios of Figs. 24 and 25. This degrades the quality of the mass fits, and shifts the fitted values of m W by about − 20 to − 90 MeV, depending on the channels, compared to the results of Table 11. Combining all channels, the shift is about − 60 MeV. Since DYRes does not model the data distributions sensitive to p W T , as shown in Fig. 22, these shifts are given for information only and are not used to estimate the uncertainty in m W .

Measurement of m W + − m W −
The results presented in the previous sections can be used to derive a measurement of the mass difference between the positively and negatively charged W bosons, m W + − m W − . Starting from the m W measurement results in the 28 categories described above, 14 measurements of m W + − m W − can be constructed by subtraction of the results obtained from the W + and W − samples in the same decay channel and |η| category. In practice, the m W values measured in W + and W − events are subtracted linearly, as are the effects of systematic uncertainties on these measurements, while the uncertainty contributions of a statistical nature are added in quadrature. Contrarily to the m W measurement discussed above, no blinding procedure was applied for the measurement of m W + − m W − . Table 13 Results of the m W + − m W − measurements in the electron and muon decay channels, and of the combination. The table shows the statistical uncertainties; the experimental uncertainties, divided into muon-, electron-, recoil-and background-uncertainties; and the mod-elling uncertainties, separately for QCD modelling including scale variations, parton shower and angular coefficients, electroweak corrections, and PDFs. All uncertainties are given in MeV  Fig. 28 The measured value of m W is compared to other published results, including measurements from the LEP experiments ALEPH, DELPHI, L3 and OPAL [25][26][27][28], and from the Tevatron collider experiments CDF and D0 [22,23]. In this process, uncertainties that are anti-correlated between W + and W − and largely cancel for the m W measurement become dominant when measuring m W + −m W − . On the physics-modelling side, the fixed-order PDF uncertainty and the parton shower PDF uncertainty give the largest contributions, while other sources of uncertainty only weakly depend on charge and tend to cancel. Among the sources of uncertainty related to lepton calibration, the track sagitta correction dominates in the muon channel, whereas several residual uncertainties contribute in the electron channel. Most lepton and recoil calibration uncertainties tend to cancel. Background systematic uncertainties contribute as the Z and multijet background fractions differ in the W + and W − channels. The dominant statistical uncertainties arise from the size of the data and Monte Carlo signal samples, and of the control samples used to derive the multijet background.
The m W + − m W − measurement results are shown in Table 13 for the electron and muon decay channels, and for the combination. The electron channel measurement combines six categories ( p T and m T fits in three |η | bins), while  Fig. 29 The present measurement of m W is compared to the SM prediction from the global electroweak fit [16] updated using recent measurements of the top-quark and Higgs-boson masses, m t = 172.84 ± 0.70 GeV [122] and m H = 125.09 ± 0.24 GeV [123], and to the combined values of m W measured at LEP [124] and at the Tevatron collider [24] the muon channel has four |η | bins and eight categories in total. The fully combined result is where the first uncertainty is statistical, the second corresponds to the experimental systematic uncertainty, and the third to the physics-modelling systematic uncertainty.

Discussion and conclusions
This paper reports a measurement of the W -boson mass with the ATLAS detector, obtained through template fits to the kinematic properties of decay leptons in the electron and muon decay channels. The measurement is based on protonproton collision data recorded in 2011 at a centre-of-mass energy of √ s = 7 TeV at the LHC, and corresponding to an integrated luminosity of 4.6 fb −1 . The measurement relies  Fig. 30 The 68 and 95% confidence-level contours of the m W and m t indirect determination from the global electroweak fit [16] are compared to the 68 and 95% confidence-level contours of the ATLAS measurements of the top-quark and W -boson masses. The determination from the electroweak fit uses as input the LHC measurement of the Higgsboson mass, m H = 125.09 ± 0.24 GeV [123] on a thorough detector calibration based on the study of Zboson events, leading to a precise modelling of the detector response to electrons, muons and the recoil. Templates for the W -boson kinematic distributions are obtained from the NLO MC generator Powheg, interfaced to Pythia8 for the parton shower. The signal samples are supplemented with several additional physics-modelling corrections allowing for the inclusion of higher-order QCD and electroweak corrections, and by fits to measured distributions, so that agreement between the data and the model in the kinematic distributions is improved. The W -boson mass is obtained from the transverse-momentum distribution of charged leptons and from the transverse-mass distributions, for positively and negatively charged W bosons, in the electron and muon decay channels, and in several kinematic categories. The individual measurements of m W are found to be consistent and their combination yields a value of m W = 80370 ± 7 (stat.) ± 11 (exp. syst.) ± 14 (mod. syst.) MeV where the first uncertainty is statistical, the second corresponds to the experimental systematic uncertainty, and the third to the physics-modelling systematic uncertainty. A measurement of the W + and W − mass difference yields m W + − m W − = −29 ± 28 MeV. The W -boson mass measurement is compatible with the current world average of m W = 80385 ± 15 MeV [29], and similar in precision to the currently leading measurements performed by the CDF and D0 collaborations [22,23]. An overview of the different m W measurements is shown in Fig. 28. The compatibility of the measured value of m W in the context of the global electroweak fit is illustrated in Figs. 29 and 30. Figure 29 compares the present mea-surement with earlier results, and with the SM prediction updated with regard to Ref. [16] using recent measurements of the top-quark and Higgs boson masses, m t = 172.84 ± 0.70 GeV [122] and m H = 125.09 ± 0.24 GeV [123]. This update gives a numerical value for the SM prediction of m W = 80356 ± 8 MeV. The corresponding two-dimensional 68 and 95% confidence limits for m W and m t are shown in Fig. 30, and compared to the present measurement of m W and the average of the top-quark mass determinations performed by ATLAS [122].
The determination of the W -boson mass from the global fit of the electroweak parameters has an uncertainty of 8 MeV, which sets a natural target for the precision of the experimental measurement of the mass of the W boson. The modelling uncertainties, which currently dominate the overall uncertainty of the m W measurement presented in this paper, need to be reduced in order to fully exploit the larger data samples available at centre-of-mass energies of 8 and 13 TeV. Better knowledge of the PDFs, as achievable with the inclusion in PDF fits of recent precise measurements of W -and Z -boson rapidity cross sections with the ATLAS detector [41], and improved QCD and electroweak predictions for Drell-Yan production, are therefore crucial for future measurements of the W -boson mass at the LHC. resource providers. Major contributors of computing resources are listed in Ref. [125].
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecomm ons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. Funded by SCOAP 3