RooHistPdf and Variable Binning

Hi experts!
For the first time I am trying to use RooHistPdf with variable binning. Is this supported?
When I plot the RooHistPdf I created from my variable binning histogram, the plot is wrong.
Is there some documentation that could help me on this?
Cheers,
Júlia

Did you try to search the forum? Search results for 'RooHistPdf variable binning' - ROOT Forum.
(for example RooPlot normalization with variable binning)

Hi @juliasilva!

I understand that the RooHistPdf might be confusing with variable binning. There was recently a discussion about this on GitHub:

Maybe you were confused by the same thing, i.e. that the RooHistPdf divides the histogram counts by bin widths to get a probability density? And this is what makes you think the plot is wrong?

Cheers,
Jonas

1 Like

Hi!
Thanks for pointing these out to me.
So does this mean that it should be merely a plotting issue? In principle performing a fit to a variable binning RooDataHist with a variable binning RooHistPdf should work within RooFit’s technical capabilities?
Cheers,
Júlia

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