166 void SetTitle(
const char *title=
"")
override;
RooPlot * contour(RooRealVar &var1, RooRealVar &var2, double n1=1, double n2=2, double n3=0.0, double n4=0.0, double n5=0.0, double n6=0.0)
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t format
Fill Area Attributes class.
Class to manage histogram axis.
Using a TBrowser one can browse all ROOT objects.
Describe directory structure in memory.
A 2-Dim function with parameters.
Provides an indirection to the TFitResult class and with a semantics identical to a TFitResult pointe...
Graphics object made of three arrays X, Y and Z with the same number of points each.
Int_t fMaxIter
Maximum number of iterations to find Delaunay triangles.
TObject * FindObject(const char *name) const override
search object named name in the list of functions
virtual Double_t * GetEZhigh() const
Double_t GetMaximum() const
void SetNameTitle(const char *name, const char *title) override
Change the name and title of this 2D graph.
virtual Double_t GetYminE() const
TGraph2D()
Graph2D default constructor.
void Build(Int_t n)
Creates the 2D graph basic data structure.
Int_t fNpoints
Number of points in the data set.
virtual Double_t GetZminE() const
virtual Double_t GetErrorZ(Int_t bin) const
This function is called by Graph2DFitChisquare.
Double_t GetMinimum() const
virtual void FitPanel()
Display a GUI panel with all graph fit options.
void SetMarginBinsContent(Double_t z=0.)
Sets the histogram bin height for points lying outside the TGraphDelaunay convex hull ie: the bins in...
Int_t fNpx
Number of bins along X in fHistogram.
void SavePrimitive(std::ostream &out, Option_t *option="") override
Saves primitive as a C++ statement(s) on output stream out.
virtual Double_t GetYmaxE() const
Double_t GetYmin() const
Returns the Y minimum.
Double_t GetZmin() const
Returns the Z minimum.
void Browse(TBrowser *) override
Browse.
virtual Double_t GetZmaxE() const
virtual Double_t GetErrorX(Int_t bin) const
This function is called by Graph2DFitChisquare.
Double_t fMargin
Extra space (in %) around interpolated area for fHistogram.
Double_t fMinimum
Minimum value for plotting along z.
Double_t GetXmin() const
Returns the X minimum.
void Print(Option_t *chopt="") const override
Print 2D graph values.
virtual Double_t * GetEZ() const
TH2D * GetHistogram(Option_t *option="")
By default returns a pointer to the Delaunay histogram.
TVirtualHistPainter * fPainter
!Pointer to histogram painter
virtual TFitResultPtr Fit(const char *formula, Option_t *option="", Option_t *goption="")
Fits this graph with function with name fname Predefined functions such as gaus, expo and poln are au...
Double_t GetMargin() const
Double_t GetZmax() const
Returns the Z maximum.
Int_t RemovePoint(Int_t ipoint)
Deletes point number ipoint.
Double_t fMaximum
Maximum value for plotting along z.
~TGraph2D() override
TGraph2D destructor.
TAxis * GetZaxis() const
Get z axis of the graph.
void SetMargin(Double_t m=0.1)
Sets the extra space (in %) around interpolated area for the 2D histogram.
void SetName(const char *name) override
Changes the name of this 2D graph.
void SetNpy(Int_t npx=40)
Sets the number of bins along Y used to draw the function.
Double_t fZout
fHistogram bin height for points lying outside the interpolated area
void SetTitle(const char *title="") override
Sets the 2D graph title.
TH2D * fHistogram
!2D histogram of z values linearly interpolated on the triangles
virtual Double_t GetXminE() const
TList * GetContourList(Double_t contour)
Returns the X and Y graphs building a contour.
Double_t GetXmax() const
Returns the X maximum.
virtual Int_t GetPoint(Int_t i, Double_t &x, Double_t &y, Double_t &z) const
Get x, y and z values for point number i.
TAxis * GetYaxis() const
Get y axis of the graph.
virtual Double_t * GetEYhigh() const
virtual Double_t GetErrorY(Int_t bin) const
This function is called by Graph2DFitChisquare.
virtual Double_t * GetEY() const
TList * GetListOfFunctions() const
TObject * fDelaunay
! Pointer to Delaunay interpolator object
TH1 * Project(Option_t *option="x") const
Projects a 2-d graph into 1 or 2-d histograms depending on the option parameter.
virtual Double_t GetXmaxE() const
virtual void Set(Int_t n)
Set number of points in the 2D graph.
void SetMinimum(Double_t minimum=-1111)
Set minimum.
TGraph2D & operator=(const TGraph2D &)
Graph2D operator "=".
virtual Double_t * GetEXhigh() const
Double_t * fY
[fNpoints] Data set to be plotted
virtual void SetHistogram(TH2 *h, Option_t *option="")
Sets the histogram to be filled.
void SetMaximum(Double_t maximum=-1111)
Set maximum.
virtual Double_t * GetEXlow() const
Double_t GetYmax() const
Returns the Y maximum.
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Computes distance from point px,py to a graph.
virtual void SetDirectory(TDirectory *dir)
By default when an 2D graph is created, it is added to the list of 2D graph objects in the current di...
TDirectory * fDirectory
!Pointer to directory holding this 2D graph
void Clear(Option_t *option="") override
Free all memory allocated by this object.
virtual void Scale(Double_t c1=1., Option_t *option="z")
Multiply the values of a TGraph2D by a constant c1.
virtual Double_t * GetEX() const
virtual void DirectoryAutoAdd(TDirectory *)
Perform the automatic addition of the graph to the given directory.
void CreateInterpolator(Bool_t oldInterp)
Add a TGraphDelaunay in the list of the fHistogram's functions.
TDirectory * GetDirectory() const
Int_t fNpy
Number of bins along Y in fHistogram.
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)
virtual void SetPoint(Int_t point, Double_t x, Double_t y, Double_t z)
Sets point number n.
void Paint(Option_t *option="") override
Paints this 2D graph with its current attributes.
virtual Double_t * GetEZlow() const
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Executes action corresponding to one event.
Int_t fSize
!Real size of fX, fY and fZ
void SetMaxIter(Int_t n=100000)
TAxis * GetXaxis() const
Get x axis of the graph.
virtual Double_t * GetEYlow() const
void SetNpx(Int_t npx=40)
Sets the number of bins along X used to draw the function.
TH1 is the base class of all histogram classes in ROOT.
2-D histogram with a double per channel (see TH1 documentation)}
Service class for 2-D histogram classes.
The TNamed class is the base class for all named ROOT classes.
Mother of all ROOT objects.
Abstract interface to a histogram painter.
#define Interpolate(a, x, b, y)