Logo ROOT  
Reference Guide
gr011_graph2d_errorsfit Namespace Reference

Variables

 c1 = ROOT.TCanvas("c1")
 dte = ROOT.TGraph2DErrors(nd)
float e = 0.3
float ex = 0.05 * r.Rndm()
float ey = 0.05 * r.Rndm()
 ez = abs(z * rnd)
 f2 = ROOT.TF2("f2", "1000*(([0]*sin(x)/x)*([1]*sin(y)/y))+200", -6, 6, -6, 6)
 fit2 = dte.FindObject("f2")
int nd = 500
 r = ROOT.TRandom()
 rnd = r.Uniform(-e, e)
 x = c_double()
 y = c_double()
 z = f2.Eval(x, y) * (1 + rnd)
int zmax = 0

Variable Documentation

◆ c1

gr011_graph2d_errorsfit.c1 = ROOT.TCanvas("c1")

Definition at line 14 of file gr011_graph2d_errorsfit.py.

◆ dte

gr011_graph2d_errorsfit.dte = ROOT.TGraph2DErrors(nd)

Definition at line 24 of file gr011_graph2d_errorsfit.py.

◆ e

float gr011_graph2d_errorsfit.e = 0.3

Definition at line 16 of file gr011_graph2d_errorsfit.py.

◆ ex

float gr011_graph2d_errorsfit.ex = 0.05 * r.Rndm()

Definition at line 39 of file gr011_graph2d_errorsfit.py.

◆ ey

float gr011_graph2d_errorsfit.ey = 0.05 * r.Rndm()

Definition at line 40 of file gr011_graph2d_errorsfit.py.

◆ ez

gr011_graph2d_errorsfit.ez = abs(z * rnd)

Definition at line 41 of file gr011_graph2d_errorsfit.py.

◆ f2

gr011_graph2d_errorsfit.f2 = ROOT.TF2("f2", "1000*(([0]*sin(x)/x)*([1]*sin(y)/y))+200", -6, 6, -6, 6)

Definition at line 21 of file gr011_graph2d_errorsfit.py.

◆ fit2

gr011_graph2d_errorsfit.fit2 = dte.FindObject("f2")

Definition at line 50 of file gr011_graph2d_errorsfit.py.

◆ nd

int gr011_graph2d_errorsfit.nd = 500

Definition at line 17 of file gr011_graph2d_errorsfit.py.

◆ r

gr011_graph2d_errorsfit.r = ROOT.TRandom()

Definition at line 20 of file gr011_graph2d_errorsfit.py.

◆ rnd

gr011_graph2d_errorsfit.rnd = r.Uniform(-e, e)

Definition at line 34 of file gr011_graph2d_errorsfit.py.

◆ x

gr011_graph2d_errorsfit.x = c_double()

Definition at line 29 of file gr011_graph2d_errorsfit.py.

◆ y

gr011_graph2d_errorsfit.y = c_double()

Definition at line 30 of file gr011_graph2d_errorsfit.py.

◆ z

gr011_graph2d_errorsfit.z = f2.Eval(x, y) * (1 + rnd)

Definition at line 35 of file gr011_graph2d_errorsfit.py.

◆ zmax

gr011_graph2d_errorsfit.zmax = 0

Definition at line 31 of file gr011_graph2d_errorsfit.py.