Figure 3

Invariant-mass distributions of $\Dzero$ candidates (left column) and $\Dplus$ candidates (right column) in two $\pt$ intervals for the two $\Delta\varphi$ regions used in the EP method for the 30--50\% $\PbPb$ collisions at $\sqrtsNN=5.02 \TeV$. The top row shows the distributions for the small-$\qTPC$ sample, while the bottom row for the large-$\qTPC$ sample (see text for details). The solid curves represent the total fit functions and the dotted curves the background functions, as described in the text.