library: libHist
#include "TGraph2DErrors.h"

TGraph2DErrors


class description - source file - inheritance tree (.pdf)

class TGraph2DErrors : public TGraph2D

Inheritance Chart:
TObject
<-
TNamed
TAttLine
TAttFill
TAttMarker
<-
TGraph2D
<-
TGraph2DErrors

    public:
TGraph2DErrors() TGraph2DErrors(Int_t n) 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) TGraph2DErrors(const TGraph2DErrors&) virtual ~TGraph2DErrors() static TClass* Class() virtual Double_t GetErrorX(Int_t bin) const virtual Double_t GetErrorY(Int_t bin) const virtual Double_t GetErrorZ(Int_t bin) const Double_t* GetEX() const Double_t* GetEY() const Double_t* GetEZ() const virtual TClass* IsA() const TGraph2DErrors& operator=(const TGraph2DErrors&) virtual void SetPoint(Int_t i, Double_t x, Double_t y, Double_t z) virtual void SetPointError(Int_t i, Double_t ex, Double_t ey, Double_t ez) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    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

Class Description

   A TGraph2DErrors is a TGraph2D with errors.


TGraph2DErrors(): TGraph2D()
 TGraph2DErrors default constructor

TGraph2DErrors(Int_t n) : TGraph2D(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 *) :TGraph2D(n, x, y, z)
 TGraph2DErrors constructor with doubles vectors as input.

~TGraph2DErrors()
 TGraph2DErrors destructor.

Double_t GetErrorX(Int_t i) const
 This function is called by Graph2DFitChisquare.
 It returns the error along X at point i.

Double_t GetErrorY(Int_t i) const
 This function is called by Graph2DFitChisquare.
 It returns the error along X at point i.

Double_t GetErrorZ(Int_t i) const
 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.



Inline Functions


              Double_t* GetEX() const
              Double_t* GetEY() const
              Double_t* GetEZ() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void StreamerNVirtual(TBuffer& b)
         TGraph2DErrors TGraph2DErrors(const TGraph2DErrors&)
        TGraph2DErrors& operator=(const TGraph2DErrors&)


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.