12 #ifndef ROOT_TGraphErrors 13 #define ROOT_TGraphErrors
Double_t GetErrorYlow(Int_t bin) const
This function is called by GraphFitChisquare.
virtual Bool_t DoMerge(const TGraph *g)
protected function to perform the merge operation of a graph with errors
virtual ~TGraphErrors()
TGraphErrors default destructor.
Double_t GetErrorYhigh(Int_t bin) const
This function is called by GraphFitChisquare.
TGraphErrors()
TGraphErrors default constructor.
virtual Bool_t CopyPoints(Double_t **arrays, Int_t ibegin, Int_t iend, Int_t obegin)
Copy errors from fEX and fEY to arrays[0] and arrays[1] or to fX and fY.
virtual Int_t Merge(TCollection *list)
Adds all graphs with errors from the collection to this graph.
Double_t GetErrorXlow(Int_t bin) const
This function is called by GraphFitChisquare.
#define ClassDef(name, id)
virtual void SwapPoints(Int_t pos1, Int_t pos2)
Swap points.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
Double_t GetErrorX(Int_t bin) const
This function is called by GraphFitChisquare.
virtual Double_t ** Allocate(Int_t size)
TGraphErrors & operator=(const TGraphErrors &gr)
TGraphErrors assignment operator.
virtual void ComputeRange(Double_t &xmin, Double_t &ymin, Double_t &xmax, Double_t &ymax) const
Compute range.
Collection abstract base class.
virtual void Apply(TF1 *f)
apply function to all the data points y = f(x,y)
virtual void CopyAndRelease(Double_t **newarrays, Int_t ibegin, Int_t iend, Int_t obegin)
Copy and release.
virtual void FillZero(Int_t begin, Int_t end, Bool_t from_ctor=kTRUE)
Set zero values for point arrays in the range [begin, end].
Double_t * fEX
[fNpoints] array of X errors
Double_t GetErrorY(Int_t bin) const
This function is called by GraphFitChisquare.
Bool_t CtorAllocate()
Constructor allocate.
A Graph is a graphics object made of two arrays X and Y with npoints each.
A TGraphErrors is a TGraph with error bars.
static Int_t CalculateScanfFields(const char *fmt)
Calculate scan fields.
Double_t * fEY
[fNpoints] array of Y errors
virtual void Print(Option_t *chopt="") const
Print graph and errors values.
virtual void SetPointError(Double_t ex, Double_t ey)
Set ex and ey values for point pointed by the mouse.
Double_t GetErrorXhigh(Int_t bin) const
This function is called by GraphFitChisquare.
Double_t ** AllocateArrays(Int_t Narrays, Int_t arraySize)
Allocate arrays.