17 w.factory(
"NonCentralChiSquare::nc(x[0,50],k[1.99,0,5],lambda[5])");
19 w.factory(
"NonCentralChiSquare::ncc(x,kk[2.01,0,5],lambda)");
21 w.factory(
"NonCentralChiSquare::nccc(x,kk,lambda)");
25 w.factory(
"ChiSquarePdf::cs(x,k)");
29 RooDataSet *ncdata = w.pdf(
"nc")->generate(*w.var(
"x"), 100);
30 RooDataSet *csdata = w.pdf(
"cs")->generate(*w.var(
"x"), 100);
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
RooDataSet is a container class to hold unbinned data.
The PDF of the Non-Central Chi Square distribution for n degrees of freedom.
A RooPlot is a plot frame and a container for graphics objects within that frame.
static RooPlot * frame(const RooAbsRealLValue &var, Double_t xmin, Double_t xmax, Int_t nBins)
Create a new frame for a given variable in x.
virtual void Draw(Option_t *options=0)
Draw this plot and all of the elements it contains.
The RooWorkspace is a persistable container for RooFit projects.
RooCmdArg MarkerColor(Color_t color)
RooCmdArg LineColor(Color_t color)
RooCmdArg LineStyle(Style_t style)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...