Rivet analyses

Fragmentation-related observables for $\varUpsilon(nS)$ mesons in jets.

Experiment: CMS (LHC)

Inspire ID: 3184148

Status: VALIDATED

Authors: - Javier Llorente

References: - arXiv: 2607.25653

Beams: p+ p+

Beam energies: (6500.0, 6500.0)GeV

Run details: - Inelastic pp collisions at $\sqrt(s) = 13$ TeV. Data collected by the CMS experiment using the full LHC Run-II.

A measurement of the fragmentation properties of $\varUpsilon(nS)$ mesons inside jets is presented. The $\varUpsilon(nS)$ mesons are reconstructed using their decays to pairs of oppositely-charged muons and associated to anti-$k_t$ jets if the angular distance between both is smaller than the jet size, $R = 0.4$. The longitudinal and transverse projections of the momenta of the $\varUpsilon(nS)$ mesons over the momenta of the corresponding jets are studied and corrected for detector effects, and the experimental uncertainties on the measurements are evaluated. The results are compared to Monte Carlo predictions, including recent developments on quarkonia production in parton showers. The description of the data by these Monte Carlo predictions is found to be unsatisfactory, leaving room for improvements on the modelling of such processes.

Source code:

CMS_2026_I3184148.cc

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

namespace Rivet {

  /// @brief Jet fragmentation to Upsilons at 13 TeV
  class CMS_2026_I3184148 : public Analysis {

  public:

    /// Default constructor
    RIVET_DEFAULT_ANALYSIS_CTOR(CMS_2026_I3184148);

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

    void init() {

      //Jet building: anti-kT R = 0.4. Include muons & exclude invisibles.
      FastJets jet(FinalState(), JetAlg::ANTIKT, 0.4, JetMuons::ALL, JetInvisibles::NONE);
      declare(jet, "JETS");

      //Upsilon mesons
      UnstableParticles upsi_fs(Cuts::abspid == 553 or Cuts::abspid == 100553 or Cuts::abspid == 200553);
      declare(upsi_fs, "UPSI_FS");

      // Book histograms
      book(_h["zFrag1S_pt01"], 1, 1, 1);
      book(_h["zFrag1S_pt02"], 3, 1, 1);
      book(_h["zFrag1S_pt03"], 5, 1, 1);

      book(_h["zFrag2S_pt01"], 7, 1, 1);
      book(_h["zFrag2S_pt02"], 9, 1, 1);
      book(_h["zFrag2S_pt03"], 11, 1, 1);

      book(_h["zFrag3S_pt01"], 13, 1, 1);
      book(_h["zFrag3S_pt02"], 15, 1, 1);
      book(_h["zFrag3S_pt03"], 17, 1, 1);

      book(_h["ptRel1S_pt01"], 2, 1, 1);
      book(_h["ptRel1S_pt02"], 4, 1, 1);
      book(_h["ptRel1S_pt03"], 6, 1, 1);

      book(_h["ptRel2S_pt01"], 8, 1, 1);
      book(_h["ptRel2S_pt02"], 10, 1, 1);
      book(_h["ptRel2S_pt03"], 12, 1, 1);

      book(_h["ptRel3S_pt01"], 14, 1, 1);
      book(_h["ptRel3S_pt02"], 16, 1, 1);
      book(_h["ptRel3S_pt03"], 18, 1, 1);
    }

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

      const Jets& jets = apply<FastJets>(event, "JETS").jetsByPt(Cuts::pT > 8*GeV);
      const Particles& upsiFS = apply<UnstableParticles>(event, "UPSI_FS").particlesByPt();

      //Only one Upsilon decaying to muons
      Particles goodUpsi;
      for (const Particle& p : upsiFS) {
        if (p.hasChildWith(Cuts::abspid == PID::MUON)) goodUpsi.push_back(p);
      }

      if (goodUpsi.size() != 1) vetoEvent;
      Particle upsiHadron = goodUpsi[0];

      //Kinematic selection
      Particle muon1, muon2;
      for (const Particle& s : upsiHadron.stableDescendants()) {
        if (s.pid() == PID::MUON) muon1 = s;
        if (s.pid() == PID::ANTIMUON) muon2 = s;
      }

      if (muon1.pt() <= 6*GeV || muon2.pt() <= 6*GeV) vetoEvent;
      if (muon1.abseta() >= 1.4 || muon2.abseta() >= 1.4) vetoEvent;
      if (muon1.abseta() - muon2.abseta() >= 1.6) vetoEvent;
      if (upsiHadron.pt() <= 15*GeV) vetoEvent;
      if (upsiHadron.absrapidity() >= 1.2) vetoEvent;

      //We have a good Upsilon. Find the associated jet
      bool matchJet = 0;
      Jet upsiJet;
      for (size_t iJet = 0; iJet < jets.size(); ++iJet) {
        if (jets[iJet].pt() <= 60*GeV || jets[iJet].abseta() >= 1.5) continue;

        //Check that both muons are among constituents, and Upsilon wihin jet radius
        bool hasMu1 = 0;
        bool hasMu2 = 0;
        for (const Particle& p : jets[iJet].particles()) {
          if (p.genParticle() == muon1.genParticle()) hasMu1 = 1;
          if (p.genParticle() == muon2.genParticle()) hasMu2 = 1;
        }

        if (hasMu1 && hasMu2) {
          double minDR = 0.4;
          if (deltaR(upsiHadron, jets[iJet]) < minDR) {
            matchJet = 1;
            minDR = deltaR(upsiHadron, jets[iJet]);
            upsiJet = jets[iJet];
          }
        }
      }

      if (!matchJet) vetoEvent;

      //We have a good jet containing the good Upsilon. Fill histograms
      Vector3 upsiVector = momentum3(upsiHadron);
      Vector3 jetVector = momentum3(upsiJet);

      double zFrag = upsiVector.dot(jetVector) / jetVector.mod2();
      double ptRel = (upsiVector.cross(jetVector)).mod() / jetVector.mod();

      if (jetVector.perp() > 60*GeV && jetVector.perp() < 75*GeV) {
        if (zFrag < 0.5) zFrag = 0.51;
        if (zFrag >= 1.0) zFrag = 0.99;
        if (ptRel >= 3.5*GeV) ptRel = 3.4*GeV;

        if (upsiHadron.pid() == 553) {
          _h["zFrag1S_pt01"]->fill(zFrag);
          _h["ptRel1S_pt01"]->fill(ptRel / GeV);
        }

        if (upsiHadron.pid() == 100553) {
          _h["zFrag2S_pt01"]->fill(zFrag);
          _h["ptRel2S_pt01"]->fill(ptRel / GeV);
        }

        if (upsiHadron.pid() == 200553) {
          _h["zFrag3S_pt01"]->fill(zFrag);
          _h["ptRel3S_pt01"]->fill(ptRel / GeV);
        }
      }

      if (jetVector.perp() > 75*GeV && jetVector.perp() < 100*GeV) {
        if (zFrag < 0.30) zFrag = 0.31;
        if (zFrag >= 1.0) zFrag = 0.99;
        if (ptRel >= 7.0*GeV) ptRel = 6.9*GeV;

        if (upsiHadron.pid() == 553) {
          _h["zFrag1S_pt02"]->fill(zFrag);
          _h["ptRel1S_pt02"]->fill(ptRel / GeV);
        }

        if (upsiHadron.pid() == 100553) {
          _h["zFrag2S_pt02"]->fill(zFrag);
          _h["ptRel2S_pt02"]->fill(ptRel / GeV);
        }

        if (upsiHadron.pid() == 200553) {
          _h["zFrag3S_pt02"]->fill(zFrag);
          _h["ptRel3S_pt02"]->fill(ptRel / GeV);
        }
      }

      if (jetVector.perp() > 100*GeV) {
        if (zFrag < 0.1) zFrag = 0.11;
        if (zFrag >= 1.0) zFrag = 0.99;
        if (ptRel >= 10.0*GeV) ptRel = 9.9*GeV;

        if (upsiHadron.pid() == 553) {
          _h["zFrag1S_pt03"]->fill(zFrag);
          _h["ptRel1S_pt03"]->fill(ptRel / GeV);
        }

        if (upsiHadron.pid() == 100553) {
          _h["zFrag2S_pt03"]->fill(zFrag);
          _h["ptRel2S_pt03"]->fill(ptRel / GeV);
        }

        if (upsiHadron.pid() == 200553) {
          _h["zFrag3S_pt03"]->fill(zFrag);
          _h["ptRel3S_pt03"]->fill(ptRel / GeV);
        }
      }
    }

    void finalize() {
      normalize(_h);
    }

  private:

    //Histograms
    map<string, Histo1DPtr> _h;
  };

  RIVET_DECLARE_PLUGIN(CMS_2026_I3184148);

}