#include <TGraphErrors.h>
Inheritance diagram for TGraphErrors:
Public Member Functions | |
TGraphErrors () | |
TGraphErrors (Int_t n) | |
TGraphErrors (Int_t n, const Float_t *x, const Float_t *y, const Float_t *ex=0, const Float_t *ey=0) | |
TGraphErrors (Int_t n, const Double_t *x, const Double_t *y, const Double_t *ex=0, const Double_t *ey=0) | |
TGraphErrors (const TVectorF &vx, const TVectorF &vy, const TVectorF &vex, const TVectorF &vey) | |
TGraphErrors (const TVectorD &vx, const TVectorD &vy, const TVectorD &vex, const TVectorD &vey) | |
TGraphErrors (const TGraphErrors &gr) | |
TGraphErrors & | operator= (const TGraphErrors &gr) |
TGraphErrors (const TH1 *h) | |
TGraphErrors (const char *filename, const char *format="%lg %lg %lg %lg", Option_t *option="") | |
virtual | ~TGraphErrors () |
virtual void | Apply (TF1 *f) |
virtual void | ComputeRange (Double_t &xmin, Double_t &ymin, Double_t &xmax, Double_t &ymax) const |
Double_t | GetErrorX (Int_t bin) const |
Double_t | GetErrorY (Int_t bin) const |
Double_t | GetErrorXhigh (Int_t bin) const |
Double_t | GetErrorXlow (Int_t bin) const |
Double_t | GetErrorYhigh (Int_t bin) const |
Double_t | GetErrorYlow (Int_t bin) const |
Double_t * | GetEX () const |
Double_t * | GetEY () const |
virtual void | Print (Option_t *chopt="") const |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
virtual void | SetPointError (Double_t ex, Double_t ey) |
virtual void | SetPointError (Int_t i, Double_t ex, Double_t ey) |
TGraphErrors () | |
TGraphErrors (Int_t n) | |
TGraphErrors (Int_t n, const Float_t *x, const Float_t *y, const Float_t *ex=0, const Float_t *ey=0) | |
TGraphErrors (Int_t n, const Double_t *x, const Double_t *y, const Double_t *ex=0, const Double_t *ey=0) | |
TGraphErrors (const TVectorF &vx, const TVectorF &vy, const TVectorF &vex, const TVectorF &vey) | |
TGraphErrors (const TVectorD &vx, const TVectorD &vy, const TVectorD &vex, const TVectorD &vey) | |
TGraphErrors (const TGraphErrors &gr) | |
TGraphErrors & | operator= (const TGraphErrors &gr) |
TGraphErrors (const TH1 *h) | |
TGraphErrors (const char *filename, const char *format="%lg %lg %lg %lg", Option_t *option="") | |
virtual | ~TGraphErrors () |
virtual void | Apply (TF1 *f) |
virtual void | ComputeRange (Double_t &xmin, Double_t &ymin, Double_t &xmax, Double_t &ymax) const |
Double_t | GetErrorX (Int_t bin) const |
Double_t | GetErrorY (Int_t bin) const |
Double_t | GetErrorXhigh (Int_t bin) const |
Double_t | GetErrorXlow (Int_t bin) const |
Double_t | GetErrorYhigh (Int_t bin) const |
Double_t | GetErrorYlow (Int_t bin) const |
Double_t * | GetEX () const |
Double_t * | GetEY () const |
virtual void | Print (Option_t *chopt="") const |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
virtual void | SetPointError (Double_t ex, Double_t ey) |
virtual void | SetPointError (Int_t i, Double_t ex, Double_t ey) |
Static Public Member Functions | |
static Int_t | CalculateScanfFields (const char *fmt) |
static Int_t | CalculateScanfFields (const char *fmt) |
Protected Member Functions | |
virtual void | SwapPoints (Int_t pos1, Int_t pos2) |
virtual Double_t ** | Allocate (Int_t size) |
virtual void | CopyAndRelease (Double_t **newarrays, Int_t ibegin, Int_t iend, Int_t obegin) |
virtual Bool_t | CopyPoints (Double_t **arrays, Int_t ibegin, Int_t iend, Int_t obegin) |
Bool_t | CtorAllocate () |
virtual void | FillZero (Int_t begin, Int_t end, Bool_t from_ctor=kTRUE) |
virtual void | SwapPoints (Int_t pos1, Int_t pos2) |
virtual Double_t ** | Allocate (Int_t size) |
virtual void | CopyAndRelease (Double_t **newarrays, Int_t ibegin, Int_t iend, Int_t obegin) |
virtual Bool_t | CopyPoints (Double_t **arrays, Int_t ibegin, Int_t iend, Int_t obegin) |
Bool_t | CtorAllocate () |
virtual void | FillZero (Int_t begin, Int_t end, Bool_t from_ctor=kTRUE) |
Protected Attributes | |
Double_t * | fEX |
Double_t * | fEY |
Double_t * | fEX |
Double_t * | fEY |
Definition at line 28 of file TGraphErrors.h.
TGraphErrors::TGraphErrors | ( | ) |
TGraphErrors::TGraphErrors | ( | Int_t | n | ) |
Definition at line 77 of file TGraphErrors.cxx.
References CtorAllocate(), FillZero(), and TGraph::fNpoints.
TGraphErrors::TGraphErrors | ( | Int_t | n, | |
const Double_t * | x, | |||
const Double_t * | y, | |||
const Double_t * | ex = 0 , |
|||
const Double_t * | ey = 0 | |||
) |
Definition at line 109 of file TGraphErrors.cxx.
References CtorAllocate(), fEX, fEY, and TGraph::fNpoints.
TGraphErrors::TGraphErrors | ( | const TVectorF & | vx, | |
const TVectorF & | vy, | |||
const TVectorF & | vex, | |||
const TVectorF & | vey | |||
) |
Definition at line 127 of file TGraphErrors.cxx.
References TGraph::CtorAllocate(), CtorAllocate(), fEX, fEY, TGraph::fNpoints, TGraph::fX, TGraph::fY, TVectorT< Element >::GetLwb(), TVectorT< Element >::GetNrows(), i, and TMath::Min().
TGraphErrors::TGraphErrors | ( | const TVectorD & | vx, | |
const TVectorD & | vy, | |||
const TVectorD & | vex, | |||
const TVectorD & | vey | |||
) |
Definition at line 153 of file TGraphErrors.cxx.
References TGraph::CtorAllocate(), CtorAllocate(), fEX, fEY, TGraph::fNpoints, TGraph::fX, TGraph::fY, TVectorT< Element >::GetLwb(), TVectorT< Element >::GetNrows(), i, and TMath::Min().
TGraphErrors::TGraphErrors | ( | const TGraphErrors & | gr | ) |
Definition at line 179 of file TGraphErrors.cxx.
References CtorAllocate(), fEX, fEY, TGraph::fNpoints, gr, and n.
TGraphErrors::TGraphErrors | ( | const TH1 * | h | ) |
Definition at line 210 of file TGraphErrors.cxx.
References CtorAllocate(), fEX, fEY, TGraph::fNpoints, TStyle::GetErrorX(), gStyle, h, and i.
TGraphErrors::TGraphErrors | ( | const char * | filename, | |
const char * | format = "%lg %lg %lg %lg" , |
|||
Option_t * | option = "" | |||
) |
Definition at line 225 of file TGraphErrors.cxx.
References CalculateScanfFields(), CtorAllocate(), TObject::Error(), TGraph::fNpoints, getline(), infile, line, TObject::MakeZombie(), TGraph::Set(), TGraph::SetPoint(), SetPointError(), x, and y.
TGraphErrors::~TGraphErrors | ( | ) | [virtual] |
TGraphErrors::TGraphErrors | ( | ) |
TGraphErrors::TGraphErrors | ( | Int_t | n | ) |
TGraphErrors::TGraphErrors | ( | Int_t | n, | |
const Float_t * | x, | |||
const Float_t * | y, | |||
const Float_t * | ex = 0 , |
|||
const Float_t * | ey = 0 | |||
) |
TGraphErrors::TGraphErrors | ( | Int_t | n, | |
const Double_t * | x, | |||
const Double_t * | y, | |||
const Double_t * | ex = 0 , |
|||
const Double_t * | ey = 0 | |||
) |
TGraphErrors::TGraphErrors | ( | const TVectorF & | vx, | |
const TVectorF & | vy, | |||
const TVectorF & | vex, | |||
const TVectorF & | vey | |||
) |
TGraphErrors::TGraphErrors | ( | const TVectorD & | vx, | |
const TVectorD & | vy, | |||
const TVectorD & | vex, | |||
const TVectorD & | vey | |||
) |
TGraphErrors::TGraphErrors | ( | const TGraphErrors & | gr | ) |
TGraphErrors::TGraphErrors | ( | const TH1 * | h | ) |
TGraphErrors::TGraphErrors | ( | const char * | filename, | |
const char * | format = "%lg %lg %lg %lg" , |
|||
Option_t * | option = "" | |||
) |
virtual TGraphErrors::~TGraphErrors | ( | ) | [virtual] |
Reimplemented from TGraph.
Definition at line 666 of file TGraphErrors.cxx.
References fEX, fEY, TGraph::SwapPoints(), and TGraph::SwapValues().
Reimplemented from TGraph.
Definition at line 76 of file TGraphErrors.h.
References TGraph::AllocateArrays().
void TGraphErrors::CopyAndRelease | ( | Double_t ** | newarrays, | |
Int_t | ibegin, | |||
Int_t | iend, | |||
Int_t | obegin | |||
) | [protected, virtual] |
Reimplemented from TGraph.
Definition at line 371 of file TGraphErrors.cxx.
References CopyPoints(), fEX, fEY, TGraph::fX, and TGraph::fY.
Bool_t TGraphErrors::CopyPoints | ( | Double_t ** | arrays, | |
Int_t | ibegin, | |||
Int_t | iend, | |||
Int_t | obegin | |||
) | [protected, virtual] |
Reimplemented from TGraph.
Definition at line 392 of file TGraphErrors.cxx.
References TGraph::CopyPoints(), fEX, fEY, kFALSE, kTRUE, memmove, and n.
Referenced by CopyAndRelease().
Bool_t TGraphErrors::CtorAllocate | ( | ) | [protected] |
Reimplemented from TGraph.
Definition at line 415 of file TGraphErrors.cxx.
References fEX, fEY, TGraph::fMaxSize, TGraph::fNpoints, kFALSE, and kTRUE.
Referenced by operator=(), and TGraphErrors().
void TGraphErrors::FillZero | ( | Int_t | begin, | |
Int_t | end, | |||
Bool_t | from_ctor = kTRUE | |||
) | [protected, virtual] |
Reimplemented from TGraph.
Definition at line 431 of file TGraphErrors.cxx.
References fEX, fEY, TGraph::FillZero(), and n.
Referenced by TGraphErrors().
TGraphErrors & TGraphErrors::operator= | ( | const TGraphErrors & | gr | ) |
Definition at line 193 of file TGraphErrors.cxx.
References CtorAllocate(), fEX, fEY, TGraph::fNpoints, gr, n, and TGraph::operator=().
void TGraphErrors::Apply | ( | TF1 * | f | ) | [virtual] |
Reimplemented from TGraph.
Definition at line 282 of file TGraphErrors.cxx.
References TMath::Abs(), GetErrorX(), GetErrorY(), TGraph::GetN(), TGraph::GetPoint(), i, TGraph::SetPoint(), SetPointError(), x, and y.
Int_t TGraphErrors::CalculateScanfFields | ( | const char * | fmt | ) | [static] |
Definition at line 310 of file TGraphErrors.cxx.
Referenced by G__G__Hist_105_0_18(), G__setup_memfuncTGraphErrors(), and TGraphErrors().
void TGraphErrors::ComputeRange | ( | Double_t & | xmin, | |
Double_t & | ymin, | |||
Double_t & | xmax, | |||
Double_t & | ymax | |||
) | const [virtual] |
Reimplemented from TGraph.
Definition at line 341 of file TGraphErrors.cxx.
References TGraph::ComputeRange(), fEX, fEY, TGraph::fNpoints, TGraph::fX, TGraph::fY, gPad, i, and TMath::Min().
Reimplemented from TGraph.
Definition at line 445 of file TGraphErrors.cxx.
References fEX, and TGraph::fNpoints.
Referenced by Apply().
Reimplemented from TGraph.
Definition at line 457 of file TGraphErrors.cxx.
References fEY, and TGraph::fNpoints.
Referenced by Apply().
Reimplemented from TGraph.
Definition at line 469 of file TGraphErrors.cxx.
References fEX, and TGraph::fNpoints.
Reimplemented from TGraph.
Definition at line 481 of file TGraphErrors.cxx.
References fEX, and TGraph::fNpoints.
Reimplemented from TGraph.
Definition at line 493 of file TGraphErrors.cxx.
References fEY, and TGraph::fNpoints.
Reimplemented from TGraph.
Definition at line 505 of file TGraphErrors.cxx.
References fEY, and TGraph::fNpoints.
Double_t* TGraphErrors::GetEX | ( | ) | const [inline, virtual] |
Reimplemented from TGraph.
Definition at line 66 of file TGraphErrors.h.
References fEX.
Referenced by TGraphPainter::PaintGraphPolar().
Double_t* TGraphErrors::GetEY | ( | ) | const [inline, virtual] |
Reimplemented from TGraph.
Definition at line 67 of file TGraphErrors.h.
References fEY.
Referenced by TTreePerfStats::Finish(), TGraphPainter::PaintGraphPolar(), and TTreePerfStats::SavePrimitive().
void TGraphErrors::Print | ( | Option_t * | chopt = "" |
) | const [virtual] |
Reimplemented from TGraph.
Definition at line 517 of file TGraphErrors.cxx.
References fEX, fEY, TGraph::fNpoints, TGraph::fX, TGraph::fY, and i.
void TGraphErrors::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGraph.
Definition at line 528 of file TGraphErrors.cxx.
References xmlio::Class, TROOT::ClassSaved(), TString::Data(), fEX, fEY, TGraph::fFunctions, TGraph::fHistogram, TGraph::fNpoints, TGraph::fX, TGraph::fY, TNamed::GetName(), TNamed::GetTitle(), gROOT, i, l, TAttFill::SaveFillAttributes(), TAttLine::SaveLineAttributes(), TAttMarker::SaveMarkerAttributes(), TH1::SavePrimitive(), and TH1::SetName().
Definition at line 586 of file TGraphErrors.cxx.
References fEX, fEY, TGraph::fNpoints, TGraph::fX, TGraph::fY, gPad, and i.
Referenced by Apply(), TTreePerfStats::FileReadEvent(), and TGraphErrors().
Definition at line 611 of file TGraphErrors.cxx.
References fEX, fEY, TGraph::fNpoints, and TGraph::SetPoint().
Reimplemented from TGraph.
Reimplemented from TGraph.
virtual void TGraphErrors::CopyAndRelease | ( | Double_t ** | newarrays, | |
Int_t | ibegin, | |||
Int_t | iend, | |||
Int_t | obegin | |||
) | [protected, virtual] |
Reimplemented from TGraph.
virtual Bool_t TGraphErrors::CopyPoints | ( | Double_t ** | arrays, | |
Int_t | ibegin, | |||
Int_t | iend, | |||
Int_t | obegin | |||
) | [protected, virtual] |
Reimplemented from TGraph.
virtual void TGraphErrors::FillZero | ( | Int_t | begin, | |
Int_t | end, | |||
Bool_t | from_ctor = kTRUE | |||
) | [protected, virtual] |
Reimplemented from TGraph.
TGraphErrors& TGraphErrors::operator= | ( | const TGraphErrors & | gr | ) |
static Int_t TGraphErrors::CalculateScanfFields | ( | const char * | fmt | ) | [static] |
virtual void TGraphErrors::ComputeRange | ( | Double_t & | xmin, | |
Double_t & | ymin, | |||
Double_t & | xmax, | |||
Double_t & | ymax | |||
) | const [virtual] |
Reimplemented from TGraph.
Double_t* TGraphErrors::GetEX | ( | ) | const [inline, virtual] |
Double_t* TGraphErrors::GetEY | ( | ) | const [inline, virtual] |
virtual void TGraphErrors::Print | ( | Option_t * | chopt = "" |
) | const [virtual] |
Reimplemented from TGraph.
virtual void TGraphErrors::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGraph.
Double_t* TGraphErrors::fEX [protected] |
Definition at line 31 of file TGraphErrors.h.
Referenced by ComputeRange(), CopyAndRelease(), CopyPoints(), CtorAllocate(), FillZero(), GetErrorX(), GetErrorXhigh(), GetErrorXlow(), GetEX(), operator=(), Print(), SavePrimitive(), SetPointError(), SwapPoints(), TGraphErrors(), and ~TGraphErrors().
Double_t* TGraphErrors::fEY [protected] |
Definition at line 32 of file TGraphErrors.h.
Referenced by ComputeRange(), CopyAndRelease(), CopyPoints(), CtorAllocate(), FillZero(), GetErrorY(), GetErrorYhigh(), GetErrorYlow(), GetEY(), operator=(), Print(), SavePrimitive(), SetPointError(), SwapPoints(), TGraphErrors(), and ~TGraphErrors().
Double_t* TGraphErrors::fEX [protected] |
Definition at line 31 of file TGraphErrors.h.
Double_t* TGraphErrors::fEY [protected] |
Definition at line 32 of file TGraphErrors.h.