The total charm-quark production cross section per unit of rapidity $\mathrm{d}\sigma({\rm c\overline{c}})/\mathrm{d}y$, and the fragmentation fractions of charm quarks to different charm-hadron species $f(\mathrm{c}\rightarrow {\rm h_{c}})$, are measured for the first time in p$-$Pb collisions at $\sqrt{s_\mathrm{NN}} = 5.02$ TeV at midrapidity ($-0.96
The $p_\mathrm{T}$-integrated rapidity-differential cross sections for all measured charm-hadron species at midrapidity in p-Pb collisions at $\sqrt{s_\mathrm{NN}} = 5.02$ TeV.
The fragmentation fractions $f(\mathrm{c}\rightarrow\mathrm{h}_{\mathrm{c}})$ of charm hadrons in p-Pb collisions at $\sqrt{s_\mathrm{NN}} = 5.02$ TeV.
The total $\mathrm{c\overline{c}}$ production cross section at midrapidity in p-Pb collisions at $\sqrt{s_\mathrm{NN}} = 5.02$ TeV.