I have a 2D weighted histogram (Md0 and Md0pi variables) in my ntuple and I tried to do the binned fit of the Md0pi variable in the 200 bins of Md0 with the following script:
fit_d0pi_binsNew_twopdf_check.C (10.0 KB)
it is working fine.
But now I want to do the same with an unbinned fit (i.e. unbinned fit of Md0pi in the 200 bins of Md0).
Can you please suggest this?