The double-differential cross sections of promptly produced J/psi and psi(2S) mesons are measured in pp collisions at sqrt(s) = 7 TeV, as a function of transverse momentum pt and absolute rapidity abs(y). The analysis uses J/psi and psi(2S) dimuon samples collected by CMS, corresponding to integrated luminosities of 4.55 and 4.90 inverse femtobarns, respectively. The results are based on a two-dimensional analysis of the dimuon invariant mass and decay length, and extend to pt = 120 and 100 GeV for the J/psi and psi(2S), respectively, when integrated over the interval abs(y) < 1.2. The ratio of the psi(2S) to J/psi cross sections is also reported for abs(y) < 1.2, over the range 10 < pt < 100 GeV. These are the highest pt values for which the cross sections and ratio have been measured.
J/psi double-differential cross section times branching fraction assuming unpolarized production as a function of pT and y for 0.0 < |y| < 0.3, 0.3 < |y| < 0.6, 0.6 < |y| < 0.9 and 0.9 < |y| < 1.2.
psi(2S) double-differential cross section times branching fraction assuming unpolarized production as a function of pT and y for 0.0 < |y| < 0.3, 0.3 < |y| < 0.6, 0.6 < |y| < 0.9 and 0.9 < |y| < 1.2.
J/psi double-differential cross section times branching fraction and the corresponding scaling factors to obtain the cross sections for different polarization scenarios (azimuthal polarization parameter in the center of mass helicity frame lambda_theta^HX = +1, -1, +0.1) as a function of pT for |y| < 1.2.