Add TH1 to TF1

Hello,

Does there exist a way where a TH1 could be added to a TF1 fit on another histogram?
Example: TF1 pol2 is fit on a small range of bins of TH1 abc. I want to add another TH1 xyz to that TF1 pol2 and NOT TH1 abc, and then see what the resultant histogram looks like.

If anyone thinks this is possible and has any ideas/examples/tutorials to share, those are most welcome. Thank you very much!

You can add a TF1 to a TH1: TH1::Add

Thank you @Wile_E_Coyote for your quick response, I will give this a try!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.