'SPECIAL PDFS' RooFit tutorial macro #705
Linear interpolation between p.d.f shapes using the 'Alex Read' algorithm
#ifndef __CINT__
#endif
using namespace RooFit ;
void rf705_linearmorph()
{
alpha.setBins(50,"cache") ;
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) ;
c->Divide(2,2) ;
}
- Author
- 07/2008 - Wouter Verkerke
Definition in file rf705_linearmorph.C.