Figure 1

Invariant-mass distributions of the $\Dzero$- and $\Lambda_{\rm c}^+$-hadron candidates and their charge conjugates produced in pp collisions at $\sqrt{s}$ =13 TeV and reconstructed at midrapidity, shown in a selected $\pt$ range. The values for the Gaussian mean $\mu$, width $\sigma$, and raw yield $S$ are reported. Top row: $\Dzero \rightarrow {\rm K^-}\pi^+$ meson candidates measured in the $2 < \pt < 4$ GeV/$c$ interval. Middle row: $\Lambda_{\rm c}^+ \rightarrow {\rm pK^0_S}$ baryon candidates measured in the $2 < \pt < 4$ GeV/$c$ interval. Bottom row: $\Lambda_{\rm c}^+ \rightarrow {\rm pK^-}\pi^+$ baryon candidates measured in the $2 < \pt < 4$ GeV/$c$ interval. The corresponding BDT probability minimum threshold for the candidate selection is reported. The left (right) column corresponds to the prompt (non-prompt) $\Dzero$- and $\Lambda_{\rm c}^+$- hadron candidates enriched sample.