void rf501_simultaneouspdf()
{
   
   
 
   
 
   
 
   
 
   
 
   
   
 
   
   
 
   
 
   
 
   
   
 
   
   std::unique_ptr<RooDataSet> 
data{model.generate({
x}, 1000)};
 
 
   
   
 
   
 
   
 
   
   
 
   
   
 
   
   
 
   
   fitResult->Print();
 
   
   
 
   
 
   
 
   
   
   
   
   
   
   
 
   
   
   
   
   
   
 
   
   
 
   TCanvas *
c = 
new TCanvas(
"rf501_simultaneouspdf", 
"rf403_simultaneouspdf", 1200, 400);
 
      gPad->SetLeftMargin(0.15);
 
      frame.GetYaxis()->SetTitleOffset(1.4);
      frame.Draw();
   };
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
 
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.
 
Object to represent discrete states.
 
Chebychev polynomial p.d.f.
 
Container class to hold unbinned data.
 
Plot frame and a container for graphics objects within that frame.
 
Variable that can be changed from the outside.
 
Facilitates simultaneous fitting of multiple PDFs to subsets of a given dataset.
 
RooCmdArg Bins(Int_t nbin)
 
RooCmdArg Import(const char *state, TH1 &histo)
 
RooCmdArg Save(bool flag=true)
 
RooCmdArg PrintLevel(Int_t code)
 
RooCmdArg Components(Args_t &&... argsOrArgSet)
 
RooCmdArg ProjWData(const RooAbsData &projData, bool binData=false)
 
RooCmdArg Cut(const char *cutSpec)
 
RooCmdArg LineStyle(Style_t style)
 
T Slice(const T &histo, std::vector< Int_t > &args)
Creates a sliced copy of the given histogram.
 
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
 
   
[#1] INFO:Fitting -- RooAbsPdf::fitTo(simPdf) fixing normalization set for coefficient determination to observables in data
[#1] INFO:Fitting -- using generic CPU library compiled with no vectorizations
[#1] INFO:Fitting -- Creation of NLL object took 1.05123 ms
[#1] INFO:Fitting -- RooAddition::defaultErrorLevel(nll_simPdf_combData) Summation contains a RooNLLVar, using its error level
[#1] INFO:Minimization -- RooAbsMinimizerFcn::setOptimizeConst: activating const optimization
[#1] INFO:Minimization -- RooAbsMinimizerFcn::setOptimizeConst: deactivating const optimization
 
  RooFitResult: minimized FCN value: 8630.62, estimated distance to minimum: 0.000174671
                covariance matrix quality: Full, accurate covariance matrix
                Status : MINIMIZE=0 HESSE=0 
 
    Floating Parameter    FinalValue +/-  Error   
  --------------------  --------------------------
                    a0    6.7634e-02 +/-  6.04e-02
                a0_ctl   -1.5627e-01 +/-  5.53e-02
                    a1   -3.8353e-03 +/-  6.32e-02
                a1_ctl    3.8442e-01 +/-  4.35e-02
                     f    1.7952e-01 +/-  1.55e-02
                 f_ctl    5.2710e-01 +/-  1.25e-02
                  mean    1.4991e-02 +/-  3.34e-02
              mean_ctl   -3.0079e+00 +/-  1.04e-02
                 sigma    3.0450e-01 +/-  8.33e-03
 
[#1] INFO:Plotting -- RooTreeData::plotOn: plotting 1000 events out of 3000 total events
[#1] INFO:Plotting -- RooSimultaneous::plotOn(simPdf) plot on x represents a slice in the index category (sample)
[#1] INFO:Plotting -- RooAbsReal::plotOn(model) slice variable sample was not projected anyway
[#1] INFO:Plotting -- RooSimultaneous::plotOn(simPdf) plot on x represents a slice in the index category (sample)
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) directly selected PDF components: (px)
[#1] INFO:Plotting -- RooAbsPdf::plotOn(model) indirectly selected PDF components: ()
[#1] INFO:Plotting -- RooAbsReal::plotOn(model) slice variable sample was not projected anyway
[#1] INFO:Plotting -- RooSimultaneous::plotOn(simPdf) plot on x averages with data index category (sample)
[#1] INFO:Plotting -- RooSimultaneous::plotOn(simPdf) plot on x averages with data index category (sample)
[#1] INFO:Plotting -- RooAbsPdf::plotOn(simPdf) directly selected PDF components: (px_ctl)
[#1] INFO:Plotting -- RooAbsPdf::plotOn(simPdf) indirectly selected PDF components: (model_ctl)
[#1] INFO:Plotting -- RooSimultaneous::plotOn(simPdf) plot on x averages with data index category (sample)
[#1] INFO:Plotting -- RooSimultaneous::plotOn(simPdf) plot on x averages with data index category (sample)
[#1] INFO:Plotting -- RooAbsPdf::plotOn(simPdf) directly selected PDF components: (px,px_ctl)
[#1] INFO:Plotting -- RooAbsPdf::plotOn(simPdf) indirectly selected PDF components: (model_ctl,model)