29 void rf405_realtocatfuncs()
61 xRegion.addThreshold(4.23,
"Background") ;
62 xRegion.addThreshold(5.23,
"SideBand") ;
63 xRegion.addThreshold(8.23,
"Signal") ;
64 xRegion.addThreshold(9.23,
"SideBand") ;
75 RooPlot* xframe =
x.frame(
Title(
"Demo of threshold and binning mapping functions")) ;
91 x.setBins(10,
"coarse") ;
102 xbtable->
Print(
"v") ;
108 xb->
setRange(
"alt",
"x_coarse_bin1,x_coarse_bin3,x_coarse_bin5,x_coarse_bin7,x_coarse_bin9") ;
116 new TCanvas(
"rf405_realtocatfuncs",
"rf405_realtocatfuncs",600,600) ;
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...
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.
RooCmdArg Cut(const char *cutSpec)
RooCmdArg LineColor(Color_t color)
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.
RooCmdArg Title(const char *name)
virtual void SetMinimum(Double_t minimum=-1111)
Set minimum value of Y axis.
RooArgusBG is a RooAbsPdf implementation describing the ARGUS background shape.
virtual RooAbsArg * addColumn(RooAbsArg &var, Bool_t adjustRange=kTRUE)
Add a column with the values of the given (function) argument to this dataset.
Class RooThresholdCategory provides a real-to-category mapping defined by a series of thresholds...
RooRealVar represents a fundamental (non-derived) real valued object.
Class RooBinningCategory provides a real-to-category mapping defined by a series of thresholds...
RooCmdArg CutRange(const char *rangeName)
RooDataSet is a container class to hold unbinned data.
RooCategory represents a fundamental (non-derived) discrete value object.
A RooPlot is a plot frame and a container for graphics objects within that frame. ...
RooCmdArg EventRange(Int_t nStart, Int_t nStop)
RooConstVar & RooConst(Double_t val)
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
RooCmdArg MarkerColor(Color_t color)
void setRange(const char *rangeName, const char *stateNameList)
Roo1DTable implements a one-dimensional table.
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.
virtual Roo1DTable * table(const RooArgSet &catSet, const char *cuts="", const char *opts="") const
Construct table for product of categories in catSet.