Figure 7

Left panel: prompt (red)  and non-prompt (blue) $\Dplus/\Dzero$ yield ratio as a function of $\pt$. Right panel: non-prompt $\Dplus/\Dzero$ yield ratios as a function of $\pt$ measured by ALICE Collaboration in pp (red)  and p-Pb (blue) collisions at the same collision energy. The vertical bars and empty boxes represent the statistical and systematic uncertainties (without the branching ratio contribution), respectively.