Rivet analyses

Triple-differential cross section of Z($\to\mu\mu$)+jet production at 13 TeV

Experiment: CMS (LHC)

Inspire ID: 3210105

Status: VALIDATED

Authors: - Cedric Verstege

References: - arXiv: 2609.39653 - Expt page: CMS-SMP-24-010 - CERN-EP-2026-252 - Submitted to JHEP

Beams: p+ p+

Beam energies: (6500.0, 6500.0)GeV

Run details: - Inclusive $Z/\gamma^* \to \mu^+\mu^-$ production ($m_{\mu\mu} > 50$ GeV) in association with jets in pp collisions at $\sqrt{s} = 13$ TeV. Generator-level cuts must stay well below the fiducial cuts ($p_\mathrm{T}^\mathrm{Z} > 25$ GeV, jet $p_\mathrm{T} > 20$ GeV).

Measurement of the triple-differential cross section of $Z/\gamma^(\to\mu\mu)$+jet production in pp collisions at $\sqrt{s} = 13$ TeV with 138 fb$^{-1}$ recorded by CMS in 2016–2018. The cross section is measured simultaneously in the transverse momentum of the Z boson $p_\mathrm{T}^\mathrm{Z}$, the boost $y_\mathrm{b} = \frac{1}{2}|y_\mathrm{Z} + y_\mathrm{jet}|$ and half the rapidity separation $y^ = \frac{1}{2}|y_\mathrm{Z} - y_\mathrm{jet}|$ of the Z boson and the leading jet. Fiducial region: two oppositely charged prompt muons with $p_\mathrm{T} > 29$ GeV and $|\eta| < 2.4$, dressed with all final-state photons within $\Delta R < 0.1$; muons from $\tau$ decays are not prompt ($Z\to\tau\tau$ is treated as background). The dimuon mass must lie within $\pm 20$ GeV of $m_\mathrm{Z} = 91.1876$ GeV (candidate closest to $m_\mathrm{Z}$) and $p_\mathrm{T}^\mathrm{Z} > 25$ GeV. At least one anti-$k_\mathrm{T}$ $R = 0.4$ jet clustered from all visible final-state particles, with $p_\mathrm{T} > 20$ GeV and $|y| < 2.4$, is required after removing jets within $\Delta R < 0.4$ of either Z muon; only the leading jet is used. $y^$ and $y_\mathrm{b}$ are binned in steps of 0.5 from 0 to 2.5 with $y^ + y_\mathrm{b} < 3$ (15 bins); the $p_\mathrm{T}^\mathrm{Z}$ binning depends on the $(y^, y_\mathrm{b})$ bin and extends to 1000 GeV (250 GeV in the highest-$y^$ bin). Cross sections are given in fb/GeV per unit $y^*$ and $y_\mathrm{b}$. The reference file also contains the nonperturbative (d20–d34, y01) and NLO electroweak (d20–d34, y02) correction factors applied to the NNLO prediction; these are not filled by the analysis. The covariance matrices (HEPData tables 16–19) are not included in the reference file and can be obtained from HEPData.

Source code:

CMS_2026_I3210105.cc

// -*- C++ -*-
#include "Rivet/Analysis.hh"
#include "Rivet/Projections/DileptonFinder.hh"
#include "Rivet/Projections/FastJets.hh"
#include "Rivet/Projections/FinalState.hh"

namespace Rivet {


  /// @brief Triple-differential Z+jet production
  class CMS_2026_I3210105 : public Analysis {
  public:

    /// Constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(CMS_2026_I3210105);

    /// @name Analysis methods
    /// @{

    /// Book histograms and initialise projections before the run
    void init() {

      // All final-state particles within the given eta acceptance, used for the jets
      const FinalState fs(Cuts::abseta < 4.9);

      // The final-state particles declared above are clustered using FastJet with
      // the anti-kT algorithm and a jet-radius parameter 0.4.
      // CMS gen jets include muons in clustering; leptons are cleaned later by dR matching.
      FastJets jetfs(fs, JetAlg::ANTIKT, 0.4, JetMuons::ALL, JetInvisibles::NONE);
      declare(jetfs, "jets");

      // Dressed muons and Z boson. Muons must be prompt; muons from tau decays
      // count as non-prompt (Z->tautau is background in the measurement).
      // Muons are dressed with all final-state photons within dR < 0.1.
      const Cut muonCuts = Cuts::abspid == PID::MUON && Cuts::abseta < _maxMuonEta && Cuts::pT > _minMuonPt;
      const Cut zCuts = Cuts::massIn(_zMass - _zMassDiff, _zMass + _zMassDiff) && Cuts::pT > _minPtZ;
      DileptonFinder zfinder(_zMass, _muonDressingDeltaR, muonCuts, zCuts, LeptonOrigin::PROMPT,
                             PhotonOrigin::ALL, TauDecaysAs::NONPROMPT, MuDecaysAs::PROMPT);
      declare(zfinder, "zfinder");

      // One group of pT^Z histograms per y* bin, grouped in y_b. Only bins with
      // y* + y_b < 3 are measured, so y* bin i has 5-i y_b bins of width 0.5.
      // Histograms are numbered with y* as outer and y_b as inner index.
      _h.resize(_ystarEdges.size() - 1);
      size_t ihist = 0;
      for (size_t i = 0; i < _h.size(); ++i) {
        vector<double> yboostEdges;
        for (size_t j = 0; j <= _h.size() - i; ++j) {
          yboostEdges.push_back(j * _yWidth);
        }
        book(_h[i], yboostEdges);
        for (auto& b : _h[i]->bins()) {
          book(b, ++ihist, 1, 1);
        }
      }
    }


    /// Perform the per-event analysis
    void analyze(const Event& event) {

      // --- Z boson candidate selection ---
      const DileptonFinder& zfinder = apply<DileptonFinder>(event, "zfinder");
      if (zfinder.bosons().empty()) vetoEvent;

      // boson() returns the Z candidate closest to the mass target; the pT^Z cut
      // is applied by the finder (zCuts)
      const Particle& z = zfinder.boson();
      const Particles& zMuons = zfinder.constituents();
      MSG_DEBUG("Z-boson mass " << z.mass() / GeV << " GeV");

      // --- Jet selection and cleaning ---
      Jets jets = apply<FastJets>(event, "jets")
                      .jetsByPt(Cuts::absrap < _maxAbsJetRap && Cuts::pT > _minJetPt);
      idiscardIfAnyDeltaRLess(jets, zMuons, _jetMuCleaningDeltaR);
      MSG_DEBUG("#Jets = " << jets.size());
      if (jets.empty()) vetoEvent;

      // --- Histogram filling ---
      const double rapJet = jets[0].rap();
      const double ystar = 0.5 * abs(z.rap() - rapJet);
      const double yboost = 0.5 * abs(z.rap() + rapJet);
      MSG_DEBUG("y*: " << ystar << ", y_b: " << yboost);
      const int iystar = binIndex(ystar, _ystarEdges);
      if (iystar < 0) vetoEvent;
      // Events outside the measured y_b range of this y* bin are not filled
      _h[iystar]->fill(yboost, z.pT() / GeV);
    }


    /// Normalise histograms etc., after the run
    void finalize() {
      // Cross section in fb per GeV and per unit of y* and y_b: the histograms
      // divide by the pT^Z bin width, divByGroupWidth by the y_b bin width, and
      // the factor 1/_yWidth by the y* bin width (together 1/0.25).
      const double sf = crossSection() / femtobarn / sumOfWeights() / _yWidth;
      for (Histo1DGroupPtr& group : _h) {
        scale(group, sf);
        divByGroupWidth(group);
      }
    }

    /// @}


  private:

    /// @name Selection constants
    /// @{
    const double _muonDressingDeltaR = 0.1;
    const double _minMuonPt = 29*GeV;
    const double _maxMuonEta = 2.4;
    const double _zMass = 91.1876*GeV;
    const double _zMassDiff = 20*GeV;
    const double _minPtZ = 25*GeV;
    const double _minJetPt = 20*GeV;
    const double _maxAbsJetRap = 2.4;
    const double _jetMuCleaningDeltaR = 0.4;
    /// @}

    /// Width of the y* and y_b bins, and the y* bin edges
    const double _yWidth = 0.5;
    const vector<double> _ystarEdges = {0.0, 0.5, 1.0, 1.5, 2.0, 2.5};

    /// pT^Z histograms grouped in y_b, one group per y* bin
    vector<Histo1DGroupPtr> _h;
  };


  RIVET_DECLARE_PLUGIN(CMS_2026_I3210105);

}