12 #ifndef ROOT_TGraphBentErrors 13 #define ROOT_TGraphBentErrors
virtual Bool_t DoMerge(const TGraph *g)
protected function to perform the merge operation of a graph with asymmetric errors ...
virtual void SetPointError(Double_t exl, Double_t exh, Double_t eyl, Double_t eyh, Double_t exld=0, Double_t exhd=0, Double_t eyld=0, Double_t eyhd=0)
Set ex and ey values for point pointed by the mouse.
Double_t * fEXhigh
[fNpoints] array of X high errors
Double_t * fEYhighd
[fNpoints] array of Y high displacements
Double_t GetErrorYhigh(Int_t bin) const
Get high error on Y[i].
TGraphBentErrors()
TGraphBentErrors default constructor.
virtual void SwapPoints(Int_t pos1, Int_t pos2)
Swap points.
Double_t * GetEXlowd() const
#define ClassDef(name, id)
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 * GetEYlow() const
Double_t * GetEXhigh() const
virtual ~TGraphBentErrors()
TGraphBentErrors default destructor.
Bool_t CtorAllocate()
Should be called from ctors after fNpoints has been set.
virtual void ComputeRange(Double_t &xmin, Double_t &ymin, Double_t &xmax, Double_t &ymax) const
Compute range.
Double_t * fEXlow
[fNpoints] array of X low errors
virtual void CopyAndRelease(Double_t **newarrays, Int_t ibegin, Int_t iend, Int_t obegin)
Copy and release.
A TGraphBentErrors is a TGraph with bent, assymetric error bars.
Double_t * GetEXhighd() const
Double_t GetErrorY(Int_t bin) const
This function is called by GraphFitChisquare.
Double_t GetErrorYlow(Int_t bin) const
Get low error on Y[i].
Double_t * fEYlowd
[fNpoints] array of Y low displacements
virtual void Print(Option_t *chopt="") const
Print graph and errors values.
Double_t * fEYhigh
[fNpoints] array of Y high errors
virtual Double_t ** Allocate(Int_t size)
Double_t * fEYlow
[fNpoints] array of Y low errors
Double_t * GetEYhighd() const
Double_t GetErrorXhigh(Int_t bin) const
Get high error on X[i].
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
Double_t GetErrorXlow(Int_t bin) const
Get low error on X[i].
Double_t * fEXhighd
[fNpoints] array of X high displacements
Double_t * GetEXlow() const
A Graph is a graphics object made of two arrays X and Y with npoints each.
virtual Bool_t CopyPoints(Double_t **arrays, Int_t ibegin, Int_t iend, Int_t obegin)
Copy errors from fE*** to arrays[] or to f Copy points.
virtual void Apply(TF1 *f)
apply a function to all data points y = f(x,y)
Double_t ** AllocateArrays(Int_t Narrays, Int_t arraySize)
Allocate arrays.
Double_t * fEXlowd
[fNpoints] array of X low displacements
Double_t * GetEYhigh() const
Double_t GetErrorX(Int_t bin) const
This function is called by GraphFitChisquare.
Double_t * GetEYlowd() const
static constexpr double g