Hello everyone,
I have search for this but what I found is not helpful so I would like to ask here.
I am doing a signal/background fit with RooFit and I find problem when I try to draw it in a plot. I am using logscale in the TCanvas and it seems to be some negatives values. I have checked the data histogram and it is not the problem. I think the problem is that the fit graph y some regions became negative and this is why I cannot draw it.
Is there any way to set the minimum in the plot on something near to 0 to avoid this error? For histograms or graph there is the order SetMinimum but it seems not work with RooFit objetc, or I am not using it well.
I am learning how to use it so maybe it is a simple question but I could not find anything.
Thank you so much!