87      Error(
"TGraph2DAsymmErrors", 
"Invalid number of points (%d)", 
n);
 
 
  112TGraph2DAsymmErrors::TGraph2DAsymmErrors(
Int_t n, 
Double_t *
x, 
Double_t *
y, 
Double_t *z, 
Double_t *
exl, 
Double_t *
exh, 
Double_t *
eyl, 
Double_t *
eyh, 
Double_t *
ezl, 
Double_t *
ezh,  
Option_t *)
 
  116      Error(
"TGraph2DAsymmErrorsErrors", 
"Invalid number of points (%d)", 
n);
 
 
  162: 
TGraph2D(
g), fEXlow(nullptr), fEXhigh(nullptr), fEYlow(nullptr), fEYhigh(nullptr), fEZlow(nullptr), fEZhigh(nullptr)
 
 
  188   if (
this == &
g) 
return *
this;
 
 
  407      printf(
"x[%d]=%g, y[%d]=%g, z[%d]=%g, exl[%d]=%g, exh[%d]=%g, eyl[%d]=%g, eyh[%d]=%g, ezl[%d]=%g, ezh[%d]=%g\n",
 
  408            i, 
fX[i], i, 
fY[i], i, 
fZ[i], i, 
fEXlow[i], i, 
fEXhigh[i], i, 
fEYlow[i], i, 
fEYhigh[i], i, 
fEZlow[i], i, 
fEZhigh[i]);
 
 
  468   if (
ipoint < 0) 
return -1;
 
  484      if (i == 
ipoint) 
continue;
 
 
  551      if (
fX)  
delete [] 
fX;
 
  552      if (
fY)  
delete [] 
fY;
 
  553      if (
fZ)  
delete [] 
fZ;
 
 
  593      out, 
Class(), 
"gr2daerr",
 
  595         "%d, %s.data(), %s.data(), %s.data(), %s.data(), %s.data(), %s.data(), %s.data(), %s.data(), %s.data()",
 
  611      out << 
"   gr2daerr->SetDirectory(nullptr);\n";
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
virtual void SaveFillAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001)
Save fill attributes as C++ statement(s) on output stream out.
 
virtual void SaveLineAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
Save line attributes as C++ statement(s) on output stream out.
 
virtual void SaveMarkerAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t sizdef=1)
Save line attributes as C++ statement(s) on output stream out.
 
const char * GetTitle() const override
Returns title of object.
 
Buffer base class used for serializing objects.
 
Graph 2D class with errors.
 
Double_t GetErrorY(Int_t bin) const override
Returns the combined error along Y at point i by computing the average of the lower and upper varianc...
 
Double_t * GetEYlow() const override
 
void SavePrimitive(std::ostream &out, Option_t *option="") override
Saves primitive as a C++ statement(s) on output stream out.
 
Double_t * fEYlow
[fNpoints] array of Y low errors
 
Double_t GetYminE() const override
Returns the Y minimum with errors.
 
Double_t GetErrorZlow(Int_t i) const
Returns the low error along Z at point i.
 
virtual void SetPointError(Int_t i, Double_t exl, Double_t exh, Double_t eyl, Double_t eyh, Double_t ezl, Double_t ezh)
Set ex, ey and ez values for point number i.
 
Double_t * GetEYhigh() const override
 
Double_t * fEZlow
[fNpoints] array of Z low errors
 
Double_t GetErrorZhigh(Int_t i) const
Returns the high error along Z at point i.
 
Double_t GetYmaxE() const override
Returns the Y maximum with errors.
 
Double_t * fEXlow
[fNpoints] array of X low errors
 
Double_t GetErrorZ(Int_t bin) const override
Returns the combined error along Z at point i by computing the average of the lower and upper varianc...
 
Double_t GetErrorYlow(Int_t i) const
Returns the low error along Y at point i.
 
Double_t GetZmaxE() const override
Returns the Z maximum with errors.
 
Double_t * GetEZhigh() const override
 
Double_t * fEXhigh
[fNpoints] array of X high errors
 
Int_t RemovePoint(Int_t ipoint)
Deletes point number ipoint.
 
Double_t * fEZhigh
[fNpoints] array of Z high errors
 
Double_t * GetEXhigh() const override
 
Double_t * GetEZlow() const override
 
Double_t * fEYhigh
[fNpoints] array of Y high errors
 
Double_t GetErrorX(Int_t bin) const override
Returns the combined error along X at point i by computing the average of the lower and upper varianc...
 
Double_t GetErrorXhigh(Int_t i) const
Returns the high error along X at point i.
 
void Streamer(TBuffer &) override
Stream an object of class TGraph2DAsymmErrors.
 
Double_t GetErrorYhigh(Int_t i) const
Returns the high error along Y at point i.
 
virtual void AddPointError(Double_t x, Double_t y, Double_t z, Double_t exl=0., Double_t exh=0., Double_t eyl=0., Double_t eyh=0., Double_t ezl=0., Double_t ezh=0.)
Add a 3D point with asymmetric errorbars to an existing graph.
 
Double_t GetErrorXlow(Int_t i) const
Returns the low error along X at point i.
 
void Set(Int_t n) override
Set number of points in the 2D graph.
 
void SetPoint(Int_t i, Double_t x, Double_t y, Double_t z) override
Set x, y and z values for point number i.
 
TGraph2DAsymmErrors()
TGraph2DAsymmErrors default constructor.
 
Double_t GetXminE() const override
Returns the X minimum with errors.
 
void Print(Option_t *chopt="") const override
Print 2D graph and errors values.
 
void Scale(Double_t c1=1., Option_t *option="z") override
Multiply the values and errors of a TGraph2DAsymmErrors by a constant c1.
 
Double_t GetXmaxE() const override
Returns the X maximum with errors.
 
TGraph2DAsymmErrors & operator=(const TGraph2DAsymmErrors &)
Assignment operator Copy everything except list of functions.
 
Double_t GetZminE() const override
Returns the Z minimum with errors.
 
Double_t * GetEXlow() const override
 
~TGraph2DAsymmErrors() override
TGraph2DAsymmErrors destructor.
 
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
 
TDirectory * fDirectory
!Pointer to directory holding this 2D graph
 
virtual void Scale(Double_t c1=1., Option_t *option="z")
Multiply the values of a TGraph2D by a constant c1.
 
virtual void AddPoint(Double_t x, Double_t y, Double_t z)
Append a new point to the graph.
 
TList * fFunctions
Pointer to list of functions (fits and user)
 
Int_t fSize
!Real size of fX, fY and fZ
 
static void SavePrimitiveFunctions(std::ostream &out, const char *varname, TList *lst)
Save list of functions Also can be used by TGraph classes.
 
const char * GetName() const override
Returns name of object.
 
const char * GetTitle() const override
Returns title of object.
 
static TString SavePrimitiveVector(std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Bool_t empty_line=kFALSE)
Save array in the output stream "out" as vector.
 
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
 
static void SavePrimitiveDraw(std::ostream &out, const char *variable_name, Option_t *option=nullptr)
Save invocation of primitive Draw() method Skipped if option contains "nodraw" string.
 
static void SavePrimitiveConstructor(std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE)
Save object constructor in the output stream "out".
 
void ToLower()
Change string to lower-case.
 
TString & ReplaceSpecialCppChars()
Find special characters which are typically used in printf() calls and replace them by appropriate es...
 
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
 
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
 
Double_t Sqrt(Double_t x)
Returns the square root of x.