Likelihood and minimization: setting up a chi^2 fit to a binned dataset 
 
 
{
 
   
   
 
   
 
   
 
 
   
 
   
 
   
 
   
   
 
   std::unique_ptr<RooDataSet> 
d{model.generate(
x, 10000)};
 
   std::unique_ptr<RooDataHist> 
dh{
d->binnedClone()};
 
 
   
   
   
   
   
 
   
   
 
   
   
   
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Efficient implementation of a sum of PDFs of the form.
 
RooArgList is a container object that can hold multiple RooAbsArg objects.
 
RooArgSet is a container object that can hold multiple RooAbsArg objects.
 
Chebychev polynomial p.d.f.
 
Container class to hold unbinned data.
 
RooFit::OwningPtr< RooDataHist > binnedClone(const char *newName=nullptr, const char *newTitle=nullptr) const
Return binned clone of this dataset.
 
Variable that can be changed from the outside.
 
RooCmdArg EventRange(Int_t nStart, Int_t nStop)
 
RooCmdArg PrintLevel(Int_t code)
 
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
 
   
[#0] WARNING:InputArguments -- The parameter 'sigma1' with range [-inf, inf] of the RooGaussian 'sig1' exceeds the safe range of (0, inf). Advise to limit its range.
[#0] WARNING:InputArguments -- The parameter 'sigma2' with range [-inf, inf] of the RooGaussian 'sig2' exceeds the safe range of (0, inf). Advise to limit its range.
[#1] INFO:Minimization -- RooAbsMinimizerFcn::setOptimizeConst: activating const optimization
[#1] INFO:Minimization --  The following expressions have been identified as constant and will be precalculated and cached: (sig1,sig2)
[#1] INFO:Minimization --  The following expressions will be evaluated in cache-and-track mode: (bkg)
[#1] INFO:Minimization -- RooAbsMinimizerFcn::setOptimizeConst: deactivating const optimization
90.865
- Date
 - July 2008 
 
- Author
 - Wouter Verkerke 
 
Definition in file rf602_chi2fit.C.