It works well but I got such a big error, for instance this is what I print like:
Int_A = 2867.37 ± 1439.48
Could anyone tell me if this is nornal to have such a huge error please ?
I also attached the root file where you can find Impact_mu_Ahistos.root (14.6 KB)
Thanks for replying!! actually I was filling my histograms with a weight (since it’s a MC bkg samples), but if I removed the weight and put 1 for instance I got something more reasonable like this for instance:
Int_A = 4 +- 2
for the integral of Impact_mu_A histogram, but it’s still a huge error I guess. It doesn’t change the result if I include or not underflow and overflow bins. I attached the root file again.
Diallohistos.root (12.3 KB)