library: libHist
#include "TGraph2DErrors.h"

TGraph2DErrors


class description - header file - source file
viewCVS header - viewCVS source

class TGraph2DErrors: public TGraph2D

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TGraph2DErrors()
TGraph2DErrors(Int_t n)
TGraph2DErrors(const TGraph2DErrors&)
TGraph2DErrors(Int_t n, Double_t* x, Double_t* y, Double_t* z, Double_t* ex = 0, Double_t* ey = 0, Double_t* ez = 0, Option_t* option = "")
virtual~TGraph2DErrors()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Delete(Option_t* option = "")
Int_tTAttLine::DistancetoLine(Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
virtual Int_tTGraph2D::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTGraph2D::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidTObject::Dump() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTGraph2D::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TGraph2D::FindObject(const char* name) const
virtual TObject*TGraph2D::FindObject(const TObject* obj) const
virtual Int_tTGraph2D::Fit(const char* formula, Option_t* option = "", Option_t* goption = "")
virtual Int_tTGraph2D::Fit(TF2* f2, Option_t* option = "", Option_t* goption = "")
TList*TGraph2D::GetContourList(Double_t contour)
TDirectory*TGraph2D::GetDirectory() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Double_tGetErrorX(Int_t bin) const
virtual Double_tGetErrorY(Int_t bin) const
virtual Double_tGetErrorZ(Int_t bin) const
virtual Double_t*GetEX() const
virtual Double_t*GetEY() const
virtual Double_t*GetEZ() const
virtual Color_tTAttFill::GetFillColor() const
virtual Style_tTAttFill::GetFillStyle() const
TH2D*TGraph2D::GetHistogram(Option_t* option = "")
virtual const char*TObject::GetIconName() const
virtual Color_tTAttLine::GetLineColor() const
virtual Style_tTAttLine::GetLineStyle() const
virtual Width_tTAttLine::GetLineWidth() const
TList*TGraph2D::GetListOfFunctions() const
Double_tTGraph2D::GetMargin() const
virtual Color_tTAttMarker::GetMarkerColor() const
virtual Size_tTAttMarker::GetMarkerSize() const
virtual Style_tTAttMarker::GetMarkerStyle() const
Int_tTGraph2D::GetN() const
virtual const char*TNamed::GetName() const
Int_tTGraph2D::GetNpx() const
Int_tTGraph2D::GetNpy() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Double_t*TGraph2D::GetX() const
TAxis*TGraph2D::GetXaxis() const
Double_tTGraph2D::GetXmax() const
Double_tTGraph2D::GetXmin() const
Double_t*TGraph2D::GetY() const
TAxis*TGraph2D::GetYaxis() const
Double_tTGraph2D::GetYmax() const
Double_tTGraph2D::GetYmin() const
Double_t*TGraph2D::GetZ() const
TAxis*TGraph2D::GetZaxis() const
Double_tTGraph2D::GetZmax() const
Double_tTGraph2D::GetZmin() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() const
Double_tTGraph2D::Interpolate(Double_t x, Double_t y)
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
virtual Bool_tTAttFill::IsTransparent() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual voidTAttLine::Modify()
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TGraph2DErrors&operator=(const TGraph2DErrors&)
virtual voidTGraph2D::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
TH1*TGraph2D::Project(Option_t* option = "x") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
Int_tTGraph2D::RemovePoint(Int_t ipoint)
virtual voidTAttFill::ResetAttFill(Option_t* option = "")
virtual voidTAttLine::ResetAttLine(Option_t* option = "")
virtual voidTAttMarker::ResetAttMarker(Option_t* toption = "")
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTAttFill::SaveFillAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1001)
virtual voidTAttLine::SaveLineAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t widdef = 1)
virtual voidTAttMarker::SaveMarkerAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t sizdef = 1)
virtual voidTGraph2D::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTGraph2D::SetDirectory(TDirectory* dir)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
virtual voidTAttFill::SetFillAttributes()
virtual voidTAttFill::SetFillColor(Color_t fcolor)
virtual voidTAttFill::SetFillStyle(Style_t fstyle)
virtual voidTGraph2D::SetHistogram(TH2* h)
virtual voidTAttLine::SetLineAttributes()
virtual voidTAttLine::SetLineColor(Color_t lcolor)
virtual voidTAttLine::SetLineStyle(Style_t lstyle)
virtual voidTAttLine::SetLineWidth(Width_t lwidth)
voidTGraph2D::SetMargin(Double_t m = 0.1)
voidTGraph2D::SetMarginBinsContent(Double_t z = 0.)
virtual voidTAttMarker::SetMarkerAttributes()
virtual voidTAttMarker::SetMarkerColor(Color_t tcolor = 1)
virtual voidTAttMarker::SetMarkerSize(Size_t msize = 1)
virtual voidTAttMarker::SetMarkerStyle(Style_t mstyle = 1)
voidTGraph2D::SetMaximum(Double_t maximum = -1111)
voidTGraph2D::SetMaxIter(Int_t n = 100000)
voidTGraph2D::SetMinimum(Double_t minimum = -1111)
virtual voidTGraph2D::SetName(const char* name)
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
voidTGraph2D::SetNpx(Int_t npx = 40)
voidTGraph2D::SetNpy(Int_t npx = 40)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetPoint(Int_t i, Double_t x, Double_t y, Double_t z)
virtual voidSetPointError(Int_t i, Double_t ex, Double_t ey, Double_t ez)
virtual voidTGraph2D::SetTitle(const char* title = "")
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const
protected:
voidTGraph2D::Build(Int_t n)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Double_t*fEX[fNpoints] array of X errors
Double_t*fEY[fNpoints] array of Y errors
Double_t*fEZ[fNpoints] array of Z errors
Int_tTGraph2D::fNpointsNumber of points in the data set
Int_tTGraph2D::fNpxNumber of bins along X in fHistogram
Int_tTGraph2D::fNpyNumber of bins along Y in fHistogram
Int_tTGraph2D::fMaxIterMaximum number of iterations to find Delaunay t>
Int_tTGraph2D::fSize!Real size of fX, fY and fZ
Double_t*TGraph2D::fX[fNpoints]
Double_t*TGraph2D::fY[fNpoints] Data set to be plotted
Double_t*TGraph2D::fZ[fNpoints]
Double_tTGraph2D::fMinimumMinimum value for plotting along z
Double_tTGraph2D::fMaximumMaximum value for plotting along z
Double_tTGraph2D::fMarginExtra space (in %) around interpolated area for fHistogram
Double_tTGraph2D::fZoutfHistogram bin height for points lying outside the interpolated area
TList*TGraph2D::fFunctionsPointer to list of functions (fits and user)
TH2D*TGraph2D::fHistogram!2D histogram of z values linearly interpolated
TDirectory*TGraph2D::fDirectory!Pointer to directory holding this 2D graph
TVirtualHistPainter*TGraph2D::fPainter!pointer to histogram painter
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
Color_tTAttLine::fLineColorline color
Style_tTAttLine::fLineStyleline style
Width_tTAttLine::fLineWidthline width
Color_tTAttFill::fFillColorfill area color
Style_tTAttFill::fFillStylefill area style
Color_tTAttMarker::fMarkerColorMarker color index
Style_tTAttMarker::fMarkerStyleMarker style
Size_tTAttMarker::fMarkerSizeMarker size

Class Description


   A TGraph2DErrors is a TGraph2D with errors.

TGraph2DErrors()
 TGraph2DErrors default constructor
TGraph2DErrors(Int_t n)
 TGraph2DErrors normal constructor
 the arrays are preset to zero
TGraph2DErrors(Int_t n, Double_t *x, Double_t *y, Double_t *z, Double_t *ex, Double_t *ey, Double_t *ez, Option_t *)
 TGraph2DErrors constructor with doubles vectors as input.
~TGraph2DErrors()
 TGraph2DErrors destructor.
Double_t GetErrorX(Int_t i)
 This function is called by Graph2DFitChisquare.
 It returns the error along X at point i.
Double_t GetErrorY(Int_t i)
 This function is called by Graph2DFitChisquare.
 It returns the error along X at point i.
Double_t GetErrorZ(Int_t i)
 This function is called by Graph2DFitChisquare.
 It returns the error along X at point i.
void SetPoint(Int_t i, Double_t x, Double_t y, Double_t z)
 Set x, y and z values for point number i
void SetPointError(Int_t i, Double_t ex, Double_t ey, Double_t ez)
 Set ex, ey and ez values for point number i
void Streamer(TBuffer &b)
 Stream an object of class TGraphErrors.
TGraph2DErrors()
Double_t * GetEX()
{return fEX;}
Double_t * GetEY()
{return fEY;}
Double_t * GetEZ()
{return fEZ;}

Author: Olivier Couet
Last update: root/hist:$Name: $:$Id: TGraph2DErrors.cxx,v 1.00
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.