52 cut.defineType(
"accept",1) ;
53 cut.defineType(
"reject",0) ;
56 RooEfficiency effPdf(
"effPdf",
"effPdf",effFunc,cut,
"accept") ;
86 data->plotOn(frame1) ;
97 TCanvas* ca =
new TCanvas(
"rf701_efficiency",
"rf701_efficiency",800,400) ;
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooCategory represents a fundamental (non-derived) discrete value object.
RooDataSet is a container class to hold unbinned data.
RooEfficiency is a PDF helper class to fit efficiencies parameterized by a supplied function F.
A RooPlot is a plot frame and a container for graphics objects within that frame.
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.
RooPolynomial implements a polynomial p.d.f of the form.
RooProdPdf is an efficient implementation of a product of PDFs of the form.
RooRealVar represents a fundamental (non-derived) real valued object.
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...
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
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 MarkerColor(Color_t color)
RooConstVar & RooConst(Double_t val)
RooCmdArg Cut(const char *cutSpec)
RooCmdArg ConditionalObservables(const RooArgSet &set)
RooCmdArg LineColor(Color_t color)
RooCmdArg Efficiency(const RooCategory &cat)
RooCmdArg Conditional(const RooArgSet &pdfSet, const RooArgSet &depSet, Bool_t depsAreCond=kFALSE)
RooCmdArg Bins(Int_t nbin)