Fraction of \jpsi originating from $b$-hadron decays as a function of \jpsi \pt in comparison with analogous measurements, also at midrapidity, in pp and \pPb collisions by the ALICE and ATLAS collaborations . The statistical and systematic uncertainties of the measurements were added in quadrature.