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 std::unique_ptr<RooDataSet> ncdata{
w.pdf(
"nc")->generate(*
w.var(
"x"), 100)};
30 std::unique_ptr<RooDataSet> csdata{
w.pdf(
"cs")->generate(*
w.var(
"x"), 100)};
winID h TVirtualViewer3D TVirtualGLPainter char TVirtualGLPainter plot
The PDF of the Non-Central Chi Square distribution for n degrees of freedom.
Plot frame and a container for graphics objects within that frame.
Persistable container for RooFit projects.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
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...