'BASIC FUNCTIONALITY' RooFit tutorial macro #109
Calculating chi^2 from histograms and curves in RooPlots, making histogram of residual and pull distributions
Processing /mnt/build/workspace/root-makedoc-v612/rootspi/rdoc/src/v6-12-00-patches/tutorials/roofit/rf109_chi2residpull.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
chi^2 = 2.63198
void rf109_chi2residpull()
{
sigma=3.15 ;
cout <<
"chi^2 = " << frame1->
chiSquare() << endl ;
TCanvas* c =
new TCanvas(
"rf109_chi2residpull",
"rf109_chi2residpull",900,300) ;
}
- Author
- 07/2008 - Wouter Verkerke
Definition in file rf109_chi2residpull.C.