'BASIC FUNCTIONALITY' RooFit tutorial macro #106
Adding boxes with parameters, statistics to RooPlots. Decorating RooPlots with arrows, text etc...
Processing /mnt/build/workspace/root-makedoc-v610/rootspi/rdoc/src/v6-10-00-patches/tutorials/roofit/rf106_plotdecoration.C...
void rf106_plotdecoration()
{
gauss.fitTo(*data) ;
gauss.plotOn(frame) ;
gauss.paramOn(frame,
Layout(0.55)) ;
TFile
f(
"rf106_plotdecoration.root",
"RECREATE") ;
new TCanvas(
"rf106_plotdecoration",
"rf106_plotdecoration",600,600) ;
}
- Author
- 07/2008 - Wouter Verkerke
Definition in file rf106_plotdecoration.C.