27 void rf311_rangeplot()
51 RooRealVar fsig(
"fsig",
"signal fraction",0.1,0.,1.) ;
72 y.setRange(
"sigRegion",-1,1) ;
73 z.setRange(
"sigRegion",-1,1) ;
76 RooPlot* frame2 =
x.frame(
Title(
"Same projection on X in signal range of (Y,Z)"),
Bins(40)) ;
88 TCanvas* c =
new TCanvas(
"rf311_rangeplot",
"rf310_rangeplot",800,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...
RooAddPdf is an efficient implementation of a sum of PDFs of the form.
virtual RooPlot * plotOn(RooPlot *frame, const RooCmdArg &arg1=RooCmdArg::none(), const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none()) const
Plot dataset on specified frame.
RooProdPdf is an efficient implementation of a product of PDFs of the form.
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
RooCmdArg Title(const char *name)
RooRealVar represents a fundamental (non-derived) real valued object.
RooCmdArg CutRange(const char *rangeName)
RooDataSet is a container class to hold unbinned data.
A RooPlot is a plot frame and a container for graphics objects within that frame. ...
RooCmdArg ProjectionRange(const char *rangeName)
you should not use this method at all Int_t Int_t z
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...
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.