The ratios of the production cross sections between the excited $\Upsilon$(2S) and $\Upsilon$(3S) mesons and the $\Upsilon$(1S) ground state, detected via their decay into two muons, are studied as a function of the number of charged particles in the event. The data are from proton-proton collisions at $\sqrt{s} =$ 7 TeV, corresponding to an integrated luminosity of 4.8 fb$^{-1}$, collected with the CMS detector at the LHC. Evidence of a decrease in these ratios as a function of the particle multiplicity is observed, more pronounced at low transverse momentum $p_\mathrm{T}^{\mu\mu}$. For $\Upsilon$(nS) mesons with $p_\mathrm{T}^{\mu\mu}$ $\gt$ 7 GeV, where most of the data were collected, the correlation with multiplicity is studied as a function of the underlying event transverse sphericity and the number of particles in a cone around the $\Upsilon$(nS) direction. The ratios are found to be multiplicity independent for jet-like events. The mean $p_\mathrm{T}^{\mu\mu}$ values for the $\Upsilon$(nS) states as a function of particle multiplicity are also measured and found to grow more steeply as their mass increases.
Bound states of charm and anticharm quarks, known as charmonia, have a rich spectroscopic structure that can be used to probe the dynamics of hadron production in high-energy hadron collisions. Here, the cross section ratio of excited ($ψ$(2S)) and ground state (J/$ψ$) vector mesons is measured as a function of the charged-particle multiplicity in proton-lead (pPb) collisions at a center-of-mass (CM) energy per nucleon pair of 8.16 TeV. The data corresponding to an integrated luminosity of 175 nb$^{-1}$ were collected using the CMS detector. The ratio is measured separately for prompt and nonprompt charmonia in the transverse momentum range 6.5 $\lt$$p_\text{T}$$\lt$ 30 GeV and in four rapidity ranges spanning $-$2.865 $\lt$$y_\text{CM}$$\lt$ 1.935. For the first time, a statistically significant multiplicity dependence of the prompt cross section ratio is observed in proton-nucleus collisions. There is no clear rapidity dependence in the ratio. The prompt measurements are compared with a theoretical model which includes interactions with nearby particles during the evolution of the system. These results provide additional constraints on hadronization models of heavy quarks in nuclear collisions.