35 RooRealVar mean(
"mean",
"mean of gaussians",5) ;
36 RooRealVar sigma1(
"sigma1",
"width of gaussians",0.5) ;
37 RooRealVar sigma2(
"sigma2",
"width of gaussians",1) ;
39 RooGaussian sig1(
"sig1",
"Signal component 1",
x,mean,sigma1) ;
40 RooGaussian sig2(
"sig2",
"Signal component 2",
x,mean,sigma2) ;
48 RooRealVar sig1frac(
"sig1frac",
"fraction of component 1 in signal",0.8,0.,1.) ;
60 RooRealVar nsig(
"nsig",
"number of signal events",500,0.,10000) ;
61 RooRealVar nbkg(
"nbkg",
"number of background events",500,0,10000) ;
79 data->plotOn(xframe) ;
100 RooExtendPdf esig(
"esig",
"extended signal p.d.f",sig,nsig) ;
101 RooExtendPdf ebkg(
"ebkg",
"extended background p.d.f",bkg,nbkg) ;
113 new TCanvas(
"rf202_composite",
"rf202_composite",600,600) ;
RooAddPdf is an efficient implementation of a sum of PDFs of the form.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Chebychev polynomial p.d.f.
RooDataSet is a container class to hold unbinned data.
RooExtendPdf is a wrapper around an existing PDF that adds a parameteric extended likelihood term to ...
A RooPlot is a plot frame and a container for graphics objects within that frame.
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.
RooRealVar represents a fundamental (non-derived) real valued object.
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title Offset is a correction factor with respect to the "s...
RooCmdArg Components(const RooArgSet &compSet)
RooCmdArg Normalization(Double_t scaleFactor)
RooCmdArg LineStyle(Style_t style)