'ADDITION AND CONVOLUTION' RooFit tutorial macro #203
Fitting and plotting in sub ranges
Processing /mnt/build/workspace/root-makedoc-v608/rootspi/rdoc/src/v6-08-00-patches/tutorials/roofit/rf203_ranges.C...
void rf203_ranges()
{
x.setRange("signal",-3,3) ;
model.plotOn(frame) ;
cout << "result of fit on all data " << endl ;
cout << "result of fit in in signal region (note increased error on signal fraction)" << endl ;
new TCanvas(
"rf203_ranges",
"rf203_ranges",600,600) ;
}
- Author
- 07/2008 - Wouter Verkerke
Definition in file rf203_ranges.C.