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.
The production of J/psi mesons is studied in pp collisions at sqrt(s)=7 TeV with the CMS experiment at the LHC. The measurement is based on a dimuon sample corresponding to an integrated luminosity of 314 inverse nanobarns. The J/psi differential cross section is determined, as a function of the J/psi transverse momentum, in three rapidity ranges. A fit to the decay length distribution is used to separate the prompt from the non-prompt (b hadron to J/psi) component. Integrated over J/psi transverse momentum from 6.5 to 30 GeV/c and over rapidity in the range |y| < 2.4, the measured cross sections, times the dimuon decay branching fraction, are 70.9 \pm 2.1 (stat.) \pm 3.0 (syst.) \pm 7.8(luminosity) nb for prompt J/psi mesons assuming unpolarized production and 26.0 \pm 1.4 (stat.) \pm 1.6 (syst.) \pm 2.9 (luminosity) nb for J/psi mesons from b-hadron decays.