'SPECIAL PDFS' RooFit tutorial macro #706
Histogram based p.d.f.s and functions
Processing /mnt/build/workspace/root-makedoc-v612/rootspi/rdoc/src/v6-12-00-patches/tutorials/roofit/rf706_histpdf.C...
[1mRooFit v3.60 -- Developed by Wouter Verkerke and David Kirkby[0m
Copyright (C) 2000-2013 NIKHEF, University of California & Stanford University
All rights reserved, please read http://roofit.sourceforge.net/license.txt
void rf706_histpdf()
{
RooHistPdf histpdf1(
"histpdf1",
"histpdf1",x,*hist1,0) ;
histpdf1.plotOn(frame1) ;
RooHistPdf histpdf2(
"histpdf2",
"histpdf2",x,*hist2,2) ;
histpdf2.plotOn(frame2) ;
}
- Author
- 07/2008 - Wouter Verkerke
Definition in file rf706_histpdf.C.