Includng TGraphAssymErrors

Hello ,

I want to use asymmetric errors ( x, y, dx1 , dx2, dy1, dy2) for the plotting so i need to use TGraphAssymErrors .

my question is which root version will solve my problem. currently i am using 5.34.36 but it gives error

Error: Can’t call TGraphAsymmErrors::TGraphAsymmErrors(“A.dat”) in current scope A.cxx:22:
Possible candidates are…
(in TGraphAsymmErrors)
/home/sandeep/root/lib/libHist.so -1:-1 0 public: TGraphAsymmErrors TGraphAsymmErrors::TGraphAsymmErrors(void);
/home/sandeep/root/lib/libHist.so -1:-1 0 public: TGraphAsymmErrors TGraphAsymmErrors::TGraphAsymmErrors(Int_t n);
/home/sandeep/root/lib/libHist.so -1:-1 0 public: TGraphAsymmErrors TGraphAsymmErrors::TGraphAsymmErrors(Int_t n,const Float_t* x,const Float_t* y,const Float_t* exl=0,const Float_t* exh=0,const Float_t* eyl=0,const Float_t* eyh=0);
/home/sandeep/root/lib/libHist.so -1:-1 0 public: TGraphAsymmErrors TGraphAsymmErrors::TGraphAsymmErrors(Int_t n,const Double_t* x,const Double_t* y,const Double_t* exl=0,const Double_t* exh=0,const Double_t* eyl=0,const Double_t* eyh=0);
/home/sandeep/root/lib/libHist.so -1:-1 0 public: TGraphAsymmErrors TGraphAsymmErrors::TGraphAsymmErrors(const TVectorF& vx,const TVectorF& vy,const TVectorF& vexl,const TVectorF& vexh,const TVectorF& veyl,const TVectorF& veyh);
/home/sandeep/root/lib/libHist.so -1:-1 0 public: TGraphAsymmErrors TGraphAsymmErrors::TGraphAsymmErrors(const TVectorD& vx,const TVectorD& vy,const TVectorD& vexl,const TVectorD& vexh,const TVectorD& veyl,const TVectorD& veyh);
/home/sandeep/root/lib/libHist.so -1:-1 0 public: TGraphAsymmErrors TGraphAsymmErrors::TGraphAsymmErrors(const TGraphAsymmErrors& gr);
/home/sandeep/root/lib/libHist.so -1:-1 0 public: TGraphAsymmErrors TGraphAsymmErrors::TGraphAsymmErrors(const TH1* h);
/home/sandeep/root/lib/libHist.so -1:-1 0 public: TGraphAsymmErrors TGraphAsymmErrors::TGraphAsymmErrors(const TH1* pass,const TH1* total,Option_t* option="");
(in TGraph)

I tried to install various versions of root 6 in Ubuntu 16.04 using cmake method but none is working.

now i want to install it on ubuntu 14.04.5 and 16.04

it appears in https://root.cern.ch/doc/v608/release-notes.html

Thanks ,

So any of 6.08/00 version (00, 02, 04, 06) will work.

lets say i want to use 6.08.00 on ubuntu 14 . will it be ok?

Yes in principle, as it appears in the 6.08 release notes it should be good since
6.08/00

yes, thank you . It is working nicely :slight_smile:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.