I am trying to construct cumulative distribution functions from pdfs constructed from histograms via RooHistPdf. The RooHistPdf shapes are well formed and seem fine but when I construct a cdf using createCdf the resultant function is a constant zero. I've tried using the setCdfBoundaries but it doesn't seem to do anything and also doesn't seem to be documented. Is there some additional step that must be taken after creating a RooHistPdf before a cdf can be constructed from it?
Example of how I currently try and construct the cdf
RooDataHist normH(“normH”,“normH”,x,norm); // norm is a TH1F*
RooAbsReal* normCdf = normPdf.createCdf(x);
RooPlot* frame = x.frame();