97 Error(
"TGraph2DErrors",
"Invalid number of points (%d)",
n);
121 Error(
"TGraphErrors",
"Invalid number of points (%d)",
n);
134 if (ez)
fEZ[i] = ez[i];
175 if (
this == &
g)
return *
this;
204 if (i < 0 || i >=
fNpoints)
return -1;
216 if (i < 0 || i >=
fNpoints)
return -1;
228 if (i < 0 || i >=
fNpoints)
return -1;
306 printf(
"x[%d]=%g, y[%d]=%g, z[%d]=%g, ex[%d]=%g, ey[%d]=%g, ez[%d]=%g\n", i,
fX[i], i,
fY[i], i,
fZ[i], i,
fEX[i], i,
fEY[i], i,
fEZ[i]);
328 if (ipoint < 0)
return -1;
341 if (i == ipoint)
continue;
393 if (
fX)
delete []
fX;
394 if (
fY)
delete []
fY;
395 if (
fZ)
delete []
fZ;
432void TGraph2DErrors::Streamer(
TBuffer &
b)
437 b.ReadClassBuffer(TGraph2DErrors::Class(),
this, R__v, R__s, R__c);
439 b.WriteClassBuffer(TGraph2DErrors::Class(),
this);
Buffer base class used for serializing objects.
Graph 2D class with errors.
Double_t GetYmaxE() const
Returns the Y maximum with errors.
Double_t GetXminE() const
Returns the X minimum with errors.
Double_t GetZminE() const
Returns the Z minimum with errors.
Double_t * fEY
[fNpoints] array of Y errors
Double_t GetZmaxE() const
Returns the Z maximum with errors.
virtual void SetPoint(Int_t i, Double_t x, Double_t y, Double_t z)
Set x, y and z values for point number i.
Double_t GetErrorX(Int_t bin) const
This function is called by Graph2DFitChisquare.
virtual void Print(Option_t *chopt="") const
Print 2D graph and errors values.
Double_t * fEZ
[fNpoints] array of Z errors
Double_t GetErrorY(Int_t bin) const
This function is called by Graph2DFitChisquare.
virtual void Set(Int_t n)
Set number of points in the 2D graph.
Double_t GetXmaxE() const
Returns the X maximum with errors.
virtual void SetPointError(Int_t i, Double_t ex, Double_t ey, Double_t ez)
Set ex, ey and ez values for point number i.
TGraph2DErrors & operator=(const TGraph2DErrors &)
Assignment operator Copy everything except list of functions.
Double_t * fEX
[fNpoints] array of X errors
Double_t GetErrorZ(Int_t bin) const
This function is called by Graph2DFitChisquare.
virtual ~TGraph2DErrors()
TGraph2DErrors destructor.
TGraph2DErrors()
TGraph2DErrors default constructor.
Double_t GetYminE() const
Returns the Y minimum with errors.
Int_t RemovePoint(Int_t ipoint)
Deletes point number ipoint.
Graphics object made of three arrays X, Y and Z with the same number of points each.
Int_t fNpoints
Number of points in the data set.
TH2D * fHistogram
!2D histogram of z values linearly interpolated on the triangles
TObject * fDelaunay
! Pointer to Delaunay interpolator object
TGraph2D & operator=(const TGraph2D &)
Graph2D operator "=".
Double_t * fY
[fNpoints] Data set to be plotted
Int_t fSize
!Real size of fX, fY and fZ
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.