25 using namespace RooFit ;
28 class TestBasic602 :
public RooFitTestUnit
31 TestBasic602(TFile* refFile,
Bool_t writeRef,
Int_t verbose) : RooFitTestUnit(
"Chi2 minimization",refFile,writeRef,verbose) {} ;
41 RooRealVar mean(
"mean",
"mean of gaussians",5) ;
42 RooRealVar sigma1(
"sigma1",
"width of gaussians",0.5) ;
43 RooRealVar sigma2(
"sigma2",
"width of gaussians",1) ;
45 RooGaussian sig1(
"sig1",
"Signal component 1",
x,mean,sigma1) ;
46 RooGaussian sig2(
"sig2",
"Signal component 2",
x,mean,sigma2) ;
54 RooRealVar sig1frac(
"sig1frac",
"fraction of component 1 in signal",0.8,0.,1.) ;
58 RooRealVar bkgfrac(
"bkgfrac",
"fraction of background",0.5,0.,1.) ;
81 regResult(r,
"rf602_r") ;
RooDataSet is a container class to hold N-dimensional binned data.
RooRealVar represents a fundamental (non-derived) real valued object.
RooDataSet is a container class to hold unbinned data.
RooDataHist * binnedClone(const char *newName=0, const char *newTitle=0) const
Return binned clone of this dataset.
Chebychev polynomial p.d.f.
RooMinuit is a wrapper class around TFitter/TMinuit that provides a seamless interface between the MI...