Dear Experts,
I am trying to some fits to measure signal yields. I am not using RooFit but I am writing the functions myself. Please see the code kk_fit_full_set.C and the rootfile that I am using deltam_dist_all_pid_comb.root attached below.
The problem is that, even after changing fit parameters and trying a lot of times, the total signal yield is not in agreement with the integral of the signal function over the complete range. I think they should be equal. Or, is there an explanation of why they are not equal.
Also, the signal and the background shapes are not drawn separately in the fits(only the total is drawn).
Can you please help?
deltam_dist_all_pid_comb.root (31.4 KB) kk_fit_full_set.C (5.7 KB)
Gratefully,
Sanjeeda
Please help.
Please read tips for efficient and successful posting and posting code
ROOT Version: 5.14
Platform: linux
_Compiler:_g++
