12 #ifndef ROOT_TGraphAsymmErrors 13 #define ROOT_TGraphAsymmErrors Double_t * GetEXlow() const
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 ComputeRange(Double_t &xmin, Double_t &ymin, Double_t &xmax, Double_t &ymax) const
Compute Range.
Double_t GetErrorY(Int_t bin) const
This function is called by GraphFitChisquare.
Double_t GetErrorX(Int_t bin) const
This function is called by GraphFitChisquare.
Double_t GetErrorYlow(Int_t i) const
Get low error on Y.
Double_t * fEXhigh
[fNpoints] array of X high errors
virtual void CopyAndRelease(Double_t **newarrays, Int_t ibegin, Int_t iend, Int_t obegin)
Copy and release.
Double_t GetErrorYhigh(Int_t i) const
Get high error on Y.
virtual Int_t Merge(TCollection *list)
Adds all graphs with asymmetric errors from the collection to this graph.
Bool_t CtorAllocate()
Should be called from ctors after fNpoints has been set Note: This function should be called only fro...
Double_t GetErrorXhigh(Int_t i) const
Get high error on X.
virtual Double_t ** Allocate(Int_t size)
TGraph with asymmetric error bars.
#define ClassDef(name, id)
virtual void SetPointEXhigh(Int_t i, Double_t exh)
Set EXhigh for point i.
virtual void SetPointEYlow(Int_t i, Double_t eyl)
Set EYlow for point i.
virtual Bool_t DoMerge(const TGraph *g)
protected function to perform the merge operation of a graph with asymmetric errors ...
virtual void Apply(TF1 *f)
Apply a function to all data points y = f(x,y)
virtual ~TGraphAsymmErrors()
TGraphAsymmErrors default destructor.
virtual void BayesDivide(const TH1 *pass, const TH1 *total, Option_t *opt="")
This function is only kept for backward compatibility.
virtual void SwapPoints(Int_t pos1, Int_t pos2)
Swap points.
Collection abstract base class.
virtual void Divide(const TH1 *pass, const TH1 *total, Option_t *opt="cp")
Fill this TGraphAsymmErrors by dividing two 1-dimensional histograms pass/total.
Double_t * fEYlow
[fNpoints] array of Y low errors
Double_t GetErrorXlow(Int_t i) const
Get low error on X.
static unsigned int total
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)
TGraphAsymmErrors & operator=(const TGraphAsymmErrors &gr)
TGraphAsymmErrors assignment operator.
TGraphAsymmErrors()
TGraphAsymmErrors default constructor.
virtual void SetPointEXlow(Int_t i, Double_t exl)
Set EXlow for point i.
Double_t * GetEYlow() const
Double_t * GetEYhigh() const
A Graph is a graphics object made of two arrays X and Y with npoints each.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
Double_t * GetEXhigh() const
virtual void Print(Option_t *chopt="") const
Print graph and errors values.
Double_t ** AllocateArrays(Int_t Narrays, Int_t arraySize)
Allocate arrays.
Double_t * fEXlow
[fNpoints] array of X low errors
virtual void SetPointEYhigh(Int_t i, Double_t eyh)
Set EYhigh for point i.
Double_t * fEYhigh
[fNpoints] array of Y high errors
virtual void SetPointError(Double_t exl, Double_t exh, Double_t eyl, Double_t eyh)
Set ex and ey values for point pointed by the mouse.
static constexpr double g