The $p_\mathrm{T}$-differential production cross sections of prompt and non-prompt (produced in beauty-hadron decays) D mesons were measured by the ALICE experiment at midrapidity ($|y|<0.5$) in proton--proton collisions at $\sqrt{s}=5.02~\mathrm{TeV}$. The data sample used in the analysis corresponds to an integrated luminosity of $(19.3\pm0.4)~\mathrm{nb^{-1}}$. D mesons were reconstructed from their decays $\mathrm{D^0 \to K^-\pi^+}$, $\mathrm{D^+\to K^-\pi^+\pi^+}$, and $\mathrm{D_s^+\to \phi\pi^+\to K^-K^+\pi^+}$ and their charge conjugates. Compared to previous measurements in the same rapidity region, the cross sections of prompt $\mathrm{D^+}$ and $\mathrm{D_s^+}$ mesons have an extended $p_\mathrm{T}$ coverage and total uncertainties reduced by a factor ranging from 1.05 to 1.6, depending on $p_\mathrm{T}$, allowing for a more precise determination of their $p_\mathrm{T}$-integrated cross sections. The results are well described by perturbative QCD calculations. The fragmentation fraction of heavy quarks to strange mesons divided by the one to non-strange mesons, $f_\mathrm{s}/(f_\mathrm{u}+f_\mathrm{d})$, is compatible for charm and beauty quarks and with previous measurements at different centre-of-mass energies and collision systems. The $\mathrm{b\overline{b}}$ production cross section per rapidity unit at midrapidity, estimated from non-prompt D-meson measurements, is $\mathrm{d}\sigma_\mathrm{b\overline{b}}/\mathrm{d} y|_\mathrm{|y|<0.5} = 34.5 \pm 2.4 (\mathrm{stat.}) ^{+4.7}_{-2.9} (\mathrm{tot. syst.})~\mu\mathrm{b}$. It is compatible with previous measurements at the same centre-of-mass energy and with the cross section predicted by perturbative QCD calculations.
$p_\mathrm{T}$-differential production cross section of non-prompt $\mathrm{D^0}$ mesons in pp collision at $\sqrt{s}=5.02~\mathrm{TeV}$ in the rapidity interval $|y|<0.5$. Branching ratio of $\mathrm{D^0 \to K^-\pi^+}$: 0.0395
$p_\mathrm{T}$-differential production cross section of non-prompt $\mathrm{D^+}$ mesons in pp collision at $\sqrt{s}=5.02~\mathrm{TeV}$ in the rapidity interval $|y|<0.5$. Branching ratio of $\mathrm{D^+\to K^-\pi^+\pi^+}$: 0.0938
$p_\mathrm{T}$-differential production cross section of non-prompt $\mathrm{D_{s}^{+}}$ mesons in pp collision at $\sqrt{s}=5.02~\mathrm{TeV}$ in the rapidity interval $|y|<0.5$. Branching ratio of $\mathrm{D_s^+\to \phi\pi^+\to K^-K^+\pi^+}$: 0.0224
The prompt production of the charm baryon $\rm \Lambda_{c}^{+}$ and the $\rm \Lambda_{c}^{+}/\mathrm {D^0}$ production ratios were measured at midrapidity with the ALICE detector in pp and p-Pb collisions at $\sqrt{s_\mathrm{NN}} = 5.02$TeV. These new measurements show a clear decrease of the $\rm \Lambda_{c}^{+}/\mathrm {D^0}$ ratio with increasing transverse momentum ($p_{\rm T}$) in both collision systems in the range $2
Prompt $\Lambda_{\rm {c}}^{+}$ baryon $p_{\rm {T}}$-differential cross section in pp collisions at $\sqrt{s} = 5.02$ TeV in the rapidity interval $|y|<0.5$.
Prompt $\Lambda_{\rm {c}}^{+}$ baryon $p_{\rm {T}}$-differential cross section in p-Pb collisions at $\sqrt{s_{\rm {NN}}} = 5.02$ TeV in the rapidity interval $-0.96 \lt y \lt 0.04$.
The nuclear modification factor $R_\mathrm{pPb}$ of prompt $\Lambda_{\rm {c}}^{+}$ baryons in p-Pb collisions at $\sqrt{s_{\rm {NN}}} = 5.02$ TeV in the rapidity interval $ -0.96\lt y \lt 0.04$.
The measurements of the production of prompt ${\rm D^0}$, ${\rm D^+}$, ${\rm D^{*+}}$, and ${{\rm D^+_s}}$ mesons in proton--proton (pp) collisions at $\sqrt{s}=5.02$ TeV with the ALICE detector at the Large Hadron Collider (LHC) are reported. D mesons were reconstructed at mid-rapidity ($|y|<0.5$) via their hadronic decay channels ${\rm D}^0 \to {\rm K}^-\pi^+$, ${\rm D}^+\to {\rm K}^-\pi^+\pi^+$, ${\rm D}^{*+} \to {\rm D}^0 \pi^+ \to {\rm K}^- \pi^+ \pi^+$, ${\rm D^{+}_{s}\to \phi\pi^+\to K^{+} K^{-} \pi^{+}}$, and their charge conjugates. The production cross sections were measured in the transverse momentum interval $0
$p_{\rm T}$-differential cross section of prompt $\rm{D}^{0}$ mesons in pp collisions at $\sqrt{\rm{s_{NN}}}$=5.02 TeV in the rapidity interval $|y|$<0.5. Branching ratio of $\rm{D}^{0}\rightarrow K\pi$ : 0.0389.
$p_{\rm T}$-differential cross section of prompt $\rm{D^{+}}$ mesons in pp collisions at $\sqrt{\rm{s_{NN}}}$=5.02 TeV in the rapidity interval $|y|$<0.5. Branching ratio of $\rm D^{+-}\rightarrow K{\rm{\pi}}{\rm{\pi}}$ : 0.0898.
$p_{\rm T}$-differential cross section of prompt $\rm D^{*}$ mesons in pp collisions at $\sqrt{\rm{s_{NN}}}$=5.02 TeV in the rapidity interval $|y|$<0.5. Branching ratio of $\rm{D}^{*+}\rightarrow \rm{D}^{0}\pi\rightarrow K\pi\pi$ : 0.02633.
The $p_{\rm T}$-differential production cross section of prompt $\Lambda_{\rm c}^+$ charmed baryons was measured with the ALICE detector at the Large Hadron Collider (LHC) in pp collisions at $\sqrt{s} = 7$ TeV and in p-Pb collisions at $\sqrt{s_{\rm NN}} = 5.02$ TeV at midrapidity. The $\Lambda_{\rm c}^+$ and ${\overline{\Lambda}}_{\rm c}^-$ were reconstructed in the hadronic decay modes $\Lambda_{\rm c}^+\rightarrow {\rm p}{\rm K^-}\pi^+$, $\Lambda_{\rm c}^+\rightarrow {\rm p}{\rm K_{\rm S}^0}$ and in the semileptonic channel $\Lambda_{\rm c}^+\rightarrow {\rm e^+}\nu_{\rm e}\Lambda$ (and charge conjugates). The measured values of the $\Lambda_{\rm c}^+/{\rm D_0}$ ratio, which is sensitive to the c-quark hadronisation mechanism, and in particular to the production of baryons, are presented and are larger than those measured previously in different colliding systems, centre-of-mass energies, rapidity and $p_{\rm T}$ intervals, where the $\Lambda_{\rm c}^+$ production process may differ. The results are compared with the expectations obtained from perturbative Quantum Chromodynamics calculations and Monte Carlo event generators. Neither perturbative QCD calculations nor Monte Carlo models reproduce the data, indicating that the fragmentation of heavy-flavour baryons is not well understood. The first measurement at the LHC of the $\Lambda_{\rm c}^+$ nuclear modification factor, $R_{\rm pPb}$, is also presented. The $R_{\rm pPb}$ is found to be consistent with unity and with that of D mesons within the uncertainties, and consistent with a theoretical calculation that includes cold nuclear matter effects and a calculation that includes charm quark interactions with a deconfined medium.
Prompt $\Lambda_{\rm {c}}^{+}$ baryon $p_{\rm {T}}$-differential cross section (average among different decay modes and analyses) in pp collisions at $\sqrt{s} = 7$ TeV in the rapidity interval $|y|<0.5$.
Prompt $\Lambda_{\rm {c}}^{+}$ baryon $p_{\rm {T}}$-differential cross section (average among different decay modes and analyses) in p-Pb collisions at $\sqrt{s_{\rm {NN}}} = 5.02$ TeV in the rapidity interval $-0.96 \lt y \lt 0.04$.
The $\Lambda_{\rm {c}}^{+}$/${\rm D}^{0}$ ratio measured in pp collisions at $\sqrt{s} = 7$ TeV in the rapidity interval $|y|<0.5$ as a function of $p_{\rm {T}}$.
The production of the charm-strange baryon $\Xi_{\rm c}^0$ is measured for the first time at the LHC via its semileptonic decay into e$^+\Xi^-\nu_{\rm e}$ in pp collisions at $\sqrt{s}=7$ TeV with the ALICE detector. The transverse momentum ($p_{\rm T}$) differential cross section multiplied by the branching ratio is presented in the interval 1 $<$ $p_{\rm T}$ $<$ 8 GeV/$c$ at mid-rapidity, $|y|$ $<$ 0.5. The transverse momentum dependence of the $\Xi_{\rm c}^0$ baryon production relative to the D$^0$ meson production is compared to predictions of event generators with various tunes of the hadronisation mechanism, which are found to underestimate the measured cross-section ratio.
Inclusive $\Xi_{\rm c}^{0}$ $p_{\rm T}$ differential cross section multiplied by the branching ratio into the semileptonic decay for $|y|<0.5$.
Ratio of the $p_{\rm T}$ differential cross sections of $\Xi_{\rm c}^{0}$ baryons (multiplied by the branching ratio into the semileptonic decay) and D$^{0}$ mesons for $|y|<0.5$.
The production cross sections of the prompt charmed mesons ${\rm D^0}$, ${\rm D^+}$, ${\rm D^{*+}}$ and ${\rm D_s^+}$ were measured at mid-rapidity in proton-proton collisions at a centre-of-mass energy $\sqrt{s}=7$ TeV with the ALICE detector at the Large Hadron Collider (LHC). D mesons were reconstructed from their decays ${\rm D}^0 \to {\rm K}^-\pi^+$, ${\rm D}^+\to {\rm K}^-\pi^+\pi^+$, ${\rm D}^{*+} \to {\rm D}^0 \pi^+$, ${\rm D_s^{+}\to \phi\pi^+\to K^-K^+\pi^+}$, and their charge conjugates. With respect to previous measurements in the same rapidity region, the coverage in transverse momentum ($p_{\rm T}$) is extended and the uncertainties are reduced by a factor of about two. The accuracy on the estimated total $\rm c\overline c$ production cross section is likewise improved. The measured $p_{\rm T}$-differential cross sections are compared with the results of three perturbative QCD calculations.
$p_{\rm T}$-differential cross section of prompt $\rm{D}^{0}$ mesons in pp collisions at $\sqrt{s_{\rm{NN}}}$=7 TeV in the rapidity interval $|y|$<0.5. Branching ratio of $\rm{D}^{0}\rightarrow K\pi$ : 0.0393.
$p_{\rm T}$-differential cross section of prompt $\rm{D^{+}}$ mesons in pp collisions at $\sqrt{s_{\rm{NN}}}$=7 TeV in the rapidity interval $|y|$<0.5. Branching ratio of $\rm D^{+-}\rightarrow K{\rm{\pi}}{\rm{\pi}}$ : 0.0946.
$p_{\rm T}$-differential cross section of prompt $\rm D^{*}$ mesons in pp collisions at $\sqrt{s_{\rm{NN}}}$=7 TeV in the rapidity interval $|y|$<0.5. Branching ratio of $\rm{D}^{*+}\rightarrow \rm{D}^{0}\pi\rightarrow K\pi\pi$ : 0.0266.