54 xRegion.addThreshold(4.23,
"Background");
55 xRegion.addThreshold(5.23,
"SideBand");
56 xRegion.addThreshold(8.23,
"Signal");
57 xRegion.addThreshold(9.23,
"SideBand");
66 RooPlot *xframe =
x.frame(
Title(
"Demo of threshold and binning mapping functions"));
80 x.setBins(10,
"coarse");
95 xb->
setRange(
"alt",
"x_coarse_bin1,x_coarse_bin3,x_coarse_bin5,x_coarse_bin7,x_coarse_bin9");
101 new TCanvas(
"rf405_realtocatfuncs",
"rf405_realtocatfuncs", 600, 600);
103 gPad->SetLeftMargin(0.15);
Roo1DTable implements a one-dimensional table.
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
virtual Roo1DTable * table(const RooArgSet &catSet, const char *cuts="", const char *opts="") const
Construct table for product of categories in catSet.
RooAbsData * reduce(const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg(), const RooCmdArg &arg3=RooCmdArg(), const RooCmdArg &arg4=RooCmdArg(), const RooCmdArg &arg5=RooCmdArg(), const RooCmdArg &arg6=RooCmdArg(), const RooCmdArg &arg7=RooCmdArg(), const RooCmdArg &arg8=RooCmdArg())
Create a reduced copy of this dataset.
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
Calls RooPlot* plotOn(RooPlot* frame, const RooLinkedList& cmdList) const ;.
RooArgusBG is a RooAbsPdf implementation describing the ARGUS background shape.
Class RooBinningCategory provides a real-to-category mapping defined by a series of thresholds.
RooCategory represents a fundamental (non-derived) discrete value object.
void setRange(const char *rangeName, const char *stateNameList)
RooDataSet is a container class to hold unbinned data.
virtual RooAbsArg * addColumn(RooAbsArg &var, Bool_t adjustRange=kTRUE)
Add a column with the values of the given (function) argument to this dataset.
A RooPlot is a plot frame and a container for graphics objects within that frame.
virtual void SetMinimum(Double_t minimum=-1111)
Set minimum value of Y axis.
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.
RooRealVar represents a variable that can be changed from the outside.
Class RooThresholdCategory provides a real-to-category mapping defined by a series of thresholds.
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
RooCmdArg MarkerColor(Color_t color)
RooConstVar & RooConst(Double_t val)
RooCmdArg CutRange(const char *rangeName)
RooCmdArg EventRange(Int_t nStart, Int_t nStop)
RooCmdArg Cut(const char *cutSpec)
RooCmdArg LineColor(Color_t color)