28 void rf207_comptools()
38 RooRealVar mean(
"mean",
"mean of gaussians",5) ;
52 RooRealVar bkg1frac(
"bkg1frac",
"fraction of component 1 in background",0.2,0.,1.) ;
56 RooRealVar bkgfrac(
"bkgfrac",
"fraction of background",0.5,0.,1.) ;
83 model_obs->
Print(
"v") ;
91 model_params->
Print(
"v") ;
96 model_params2->
Print() ;
104 model_comps->
Print(
"v") ;
113 RooRealVar sigma2(
"sigma2",
"width of gaussians",1) ;
114 RooGaussian sig2(
"sig2",
"Signal component 1",
x,mean,sigma2) ;
117 RooRealVar sig1frac(
"sig1frac",
"fraction of component 1 in signal",0.8,0.,1.) ;
124 cust.replaceArg(sig,sigsum) ;
137 cust_clone->
Print(
"t") ;
RooAddPdf is an efficient implementation of a sum of PDFs of the form.
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
virtual void Print(Option_t *options=0) const
This method must be overridden when a class wants to print itself.
RooRealVar represents a fundamental (non-derived) real valued object.
RooDataSet is a container class to hold unbinned data.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Chebychev polynomial p.d.f.