I have a histogram, which includes signal and background events. I used a sum pdf function, which also includes signal pdf and background pdf. Then I used sum pdf to fit the histogram from data. After the fit, how could I convert the fitted sum pdf to a histogram ? I would like to see the difference between the data and fitted sum pdf function?