49 RooRealVar fsig(
"fsig",
"signal fraction", 0.1, 0., 1.);
66 y.setRange(
"sigRegion", -1, 1);
67 z.setRange(
"sigRegion", -1, 1);
70 RooPlot *frame2 =
x.frame(
Title(
"Same projection on X in signal range of (Y,Z)"),
Bins(40));
80 TCanvas *
c =
new TCanvas(
"rf311_rangeplot",
"rf310_rangeplot", 800, 400);
83 gPad->SetLeftMargin(0.15);
87 gPad->SetLeftMargin(0.15);
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.
Plot frame and a container for graphics objects within that frame.
void Draw(Option_t *options=nullptr) override
Draw this plot and all of the elements it contains.
RooPolynomial implements a polynomial p.d.f of the form.
Efficient implementation of a product of PDFs of the form.
Variable that can be changed from the outside.
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
RooCmdArg Title(const char *name)
RooCmdArg Bins(Int_t nbin)
RooCmdArg ProjectionRange(const char *rangeName)
RooCmdArg CutRange(const char *rangeName)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...