[#1] INFO:InputArguments -- RooNonCentralChiSquare sum being forced
[#0] WARNING:Eval -- RooNonCentralChiSquare did not converge: for x=36 k=2.01, lambda=5 fractional error = 0.00108172
either adjust tolerance with SetErrorTolerance(tol) or max_iter with SetMaxIter(max_it)
void TestNonCentral()
{
w.factory(
"NonCentralChiSquare::nc(x[0,50],k[1.99,0,5],lambda[5])");
w.factory(
"NonCentralChiSquare::ncc(x,kk[2.01,0,5],lambda)");
w.factory(
"NonCentralChiSquare::nccc(x,kk,lambda)");
w.factory(
"ChiSquarePdf::cs(x,k)");
RooDataSet *ncdata =
w.pdf(
"nc")->generate(*
w.var(
"x"), 100);
RooDataSet *csdata =
w.pdf(
"cs")->generate(*
w.var(
"x"), 100);
}
winID h TVirtualViewer3D TVirtualGLPainter char TVirtualGLPainter plot
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.
The RooWorkspace is a persistable container for RooFit projects.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
- Author
- Lorenzo Moneta
Definition in file TestNonCentral.C.