The polarisation of prompt $\psi(2S)$ mesons is measured by performing an angular analysis of $\psi(2S)\rightarrow \mu^{+} \mu^{-}$ decays using proton-proton collision data, corresponding to an integrated luminosity of 1.0 fb$^{-1}$, collected by the LHCb detector at a centre-of-mass energy of 7 TeV. The polarisation is measured in bins of transverse momentum $p_\mathrm{T}$ and rapidity $y$ in the kinematic region $3.5<p_\mathrm{T}<15$ GeV$/c$ and $2.0<y<4.5$, and is compared to theoretical models. No significant polarisation is observed.
Measurements of the differential production cross-sections of prompt and non-prompt $J/\psi$ and $\psi(2$S$)$ mesons with transverse momenta between 8 and 360 GeV and rapidity in the range $|y|<2$ are reported. Furthermore, measurements of the non-prompt fractions of $J/\psi$ and $\psi(2$S$)$, and the prompt and non-prompt $\psi(2$S$)$-to-$J/\psi$ production ratios, are presented. The analysis is performed using 140 fb$^{-1}$ of $\sqrt{s}=13$ TeV $pp$ collision data recorded by the ATLAS detector at the LHC during the years 2015-2018.