25 void rf206_treevistools()
34 RooRealVar mean(
"mean",
"mean of gaussians",5) ;
35 RooRealVar sigma1(
"sigma1",
"width of gaussians",0.5) ;
36 RooRealVar sigma2(
"sigma2",
"width of gaussians",1) ;
37 RooGaussian sig1(
"sig1",
"Signal component 1",
x,mean,sigma1) ;
38 RooGaussian sig2(
"sig2",
"Signal component 2",
x,mean,sigma2) ;
41 RooRealVar sig1frac(
"sig1frac",
"fraction of component 1 in signal",0.8,0.,1.) ;
54 RooRealVar bkg1frac(
"bkg1frac",
"fraction of component 1 in background",0.2,0.,1.) ;
58 RooRealVar bkgfrac(
"bkgfrac",
"fraction of background",0.5,0.,1.) ;
69 model.printCompactTree(
"",
"rf206_asciitree.txt") ;
76 model.graphVizTree(
"rf206_model.dot") ;
RooAddPdf is an efficient implementation of a sum of PDFs of the form.
RooRealVar represents a fundamental (non-derived) real valued object.
Chebychev polynomial p.d.f.