The STAR collaboration at RHIC presents measurements of \Jpsi$\to{e^+e^-}$ at mid-rapidity and high transverse momentum ($p_T>5$ GeV/$c$) in \pp and central \cucu collisions at \sNN = 200 GeV. The inclusive \Jpsi production cross section for \cucu collisions is found to be consistent at high $p_T$ with the binary collision-scaled cross section for \pp collisions, in contrast to previous measurements at lower $p_T$, where a suppression of \Jpsi production is observed relative to the expectation from binary scaling. Azimuthal correlations of $J/\psi$ with charged hadrons in \pp collisions provide an estimate of the contribution of $B$-meson decays to \Jpsi production of $13% \pm 5%$.
The differential production cross section of electrons from semileptonic heavy-flavour hadron decays has been measured at mid-rapidity ($|y| < 0.5$) in proton-proton collisions at $\sqrt{s} = 7$ TeV with ALICE at the LHC. Electrons were measured in the transverse momentum range 0.5 $<p_{\rm T}<$ 8 GeV/$c$. Predictions from a fixed order perturbative QCD calculation with next-to-leading-log resummation agree with the data within the theoretical and experimental uncertainties.