29 void rf804_mcstudy_constr()
66 mcs.generateAndFit(500,2000) ;
69 TH1* h_f_gen = mcs.fitParDataSet().createHistogram(
"f_gen",-40) ;
73 frame1->
SetTitle(
"Distribution of fitted f values") ;
77 frame1->
SetTitle(
"Distribution of f pull values") ;
81 TCanvas*
c =
new TCanvas(
"rf804_mcstudy_constr",
"rf804_mcstudy_constr",1200,400) ;
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title Offset is a correction factor with respect to the "s...
RooMCStudy is a help class to facilitate Monte Carlo studies such as 'goodness-of-fit' studies...
RooAddPdf is an efficient implementation of a sum of PDFs of the form.
static long int sum(long int i)
RooCmdArg Binned(Bool_t flag=kTRUE)
RooCmdArg PrintLevel(Int_t code)
RooProdPdf is an efficient implementation of a product of PDFs of the form.
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
void SetTitle(const char *name)
Set the title of the RooPlot to 'title'.
RooCmdArg Silence(Bool_t flag=kTRUE)
RooCmdArg FitOptions(const char *opts)
RooRealVar represents a fundamental (non-derived) real valued object.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
A RooPlot is a plot frame and a container for graphics objects within that frame. ...
RooCmdArg FitGauss(Bool_t flag=kTRUE)
static constexpr double s
RooConstVar & RooConst(Double_t val)
virtual void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
Automatic pad generation by division.
RooCmdArg Bins(Int_t nbin)
RooPolynomial implements a polynomial p.d.f of the form By default coefficient a_0 is chosen to be 1...
RooCmdArg Constrain(const RooArgSet ¶ms)
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.