53   RooRealVar mean_ctl(
"mean_ctl", 
"mean_ctl", -3, -8, 8);
 
   57   RooRealVar a0_ctl(
"a0_ctl", 
"a0_ctl", -0.1, -1, 1);
 
   58   RooRealVar a1_ctl(
"a1_ctl", 
"a1_ctl", 0.5, -0.1, 1);
 
   62   RooRealVar f_ctl(
"f_ctl", 
"f_ctl", 0.5, 0., 1.);
 
   77   sample.defineType(
"physics");
 
   78   sample.defineType(
"control");
 
   82                       Import({{
"physics", 
data}, {
"control", data_ctl}}));
 
   89   RooSimultaneous simPdf(
"simPdf", 
"simultaneous pdf", {{
"physics", &model}, {
"control", &model_ctl}}, sample);
 
  105   combData.plotOn(frame1, 
Cut(
"sample==sample::physics"));
 
  114   simPdf.plotOn(frame1, 
Slice(sample, 
"physics"), 
ProjWData(sample, combData));
 
  119   combData.plotOn(frame2, 
Cut(
"sample==sample::control"));
 
  120   simPdf.plotOn(frame2, 
Slice(sample, 
"control"), 
ProjWData(sample, combData));
 
  124   TCanvas *
c = 
new TCanvas(
"rf501_simultaneouspdf", 
"rf403_simultaneouspdf", 800, 400);
 
  127   gPad->SetLeftMargin(0.15);
 
  131   gPad->SetLeftMargin(0.15);
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
 
virtual RooFit::OwningPtr< RooFitResult > fitTo(RooAbsData &data, const RooLinkedList &cmdList={})
Fit PDF to given dataset.
 
RooAddPdf is an 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.
 
RooCategory is an object to represent discrete states.
 
Chebychev polynomial p.d.f.
 
RooDataSet is a container class to hold unbinned data.
 
A RooPlot is a plot frame and a container for graphics objects within that frame.
 
static RooPlot * frame(const RooAbsRealLValue &var, double xmin, double xmax, Int_t nBins)
Create a new frame for a given variable in x.
 
void Draw(Option_t *options=nullptr) override
Draw this plot and all of the elements it contains.
 
RooRealVar represents a variable that can be changed from the outside.
 
RooSimultaneous facilitates simultaneous fitting of multiple PDFs to subsets of a given dataset.
 
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
 
RooCmdArg Bins(Int_t nbin)
 
RooCmdArg Index(RooCategory &icat)
 
RooCmdArg Import(const char *state, TH1 &histo)
 
RooCmdArg Save(bool flag=true)
 
RooCmdArg Components(Args_t &&... argsOrArgSet)
 
RooCmdArg ProjWData(const RooAbsData &projData, bool binData=false)
 
RooCmdArg Slice(const RooArgSet &sliceSet)
 
RooCmdArg Cut(const char *cutSpec)
 
RooCmdArg LineStyle(Style_t style)
 
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...