'SPECIAL PDFS' RooFit tutorial macro #705
Linear interpolation between p.d.f shapes using the 'Alex Read' algorithm
Processing /mnt/build/workspace/root-makedoc-v608/rootspi/rdoc/src/v6-08-00-patches/tutorials/roofit/rf705_linearmorph.C...
void rf705_linearmorph()
{
alpha.setBins(50,"cache") ;
g1.plotOn(frame1) ;
g2.plotOn(frame1) ;
alpha.setVal(0.125) ;
alpha.setVal(0.25) ;
alpha.setVal(0.375) ;
alpha.setVal(0.50) ;
alpha.setVal(0.625) ;
alpha.setVal(0.75) ;
alpha.setVal(0.875) ;
alpha.setVal(0.95) ;
alpha=0.8 ;
lmorph.setCacheAlpha(
kTRUE) ;
lmorph.plotOn(frame2) ;
lmorph.setCacheAlpha(
kFALSE) ;
TCanvas* c =
new TCanvas(
"rf705_linearmorph",
"rf705_linearmorph",800,800) ;
}
- Author
- 07/2008 - Wouter Verkerke
Definition in file rf705_linearmorph.C.