Left panel: example of raw-yield distribution as a function of the BDT-based selection employed in the data-driven procedure adopted to determine $f_{\text{non-prompt}}^{\mathrm{raw}}$ of $\Dzero$ mesons. Right panel: $f_{\text{non-prompt}}^{\mathrm{raw}}$ fractions as a function of $\pt$ obtained for the set of selection criteria adopted in the analysis for non-prompt $\Dzero$, $\Dplus$, $\Lambda^{+}_{\rm c} \to \mathrm{pK^{-}\pi^{+}}$, and $\Lambda^{+}_{\rm c} \to \mathrm{pK^{0}_{S}}$. The vertical bars and empty boxes represent the statistical and systematic uncertainties, respectively.