'SPECIAL PDFS' RooFit tutorial macro #704
Using a p.d.f defined by a sum of real-valued amplitude components
Processing /mnt/build/workspace/root-makedoc-v610/rootspi/rdoc/src/v6-10-00-patches/tutorials/roofit/rf704_amplitudefit.C...
void rf704_amplitudefit()
{
RooRealVar deltaGamma(
"deltaGamma",
"deltaGamma", 0.3);
RooAbsReal* coshGConv = truthModel.convolution(&coshGBasis,&t);
RooAbsReal* sinhGConv = truthModel.convolution(&sinhGBasis,&t);
pdf.fitTo(*data) ;
pdf.plotOn(frame1);
pdf.plotOn(frame2);
TCanvas* c =
new TCanvas(
"rf704_amplitudefit",
"rf704_amplitudefit",800,800) ;
}
- Author
- 07/2008 - Wouter Verkerke
Definition in file rf704_amplitudefit.C.