Hi,
I am using root 4.03/02
In my old manual under creating variable bin Size histo
it is said to use constructor
TH1(...)
But I get:
root [5] TH1* sss=new TH1("a","a",26,ebin)
Error: can not call private or protected function FILE:(tmpfile) LINE:1
(compiled) 0 TH1 TH1::TH1(const char*,const char*,Int_t,const
Float_t*);
Calling : TH1::TH1(char*,char*,int,float*);
Match rank: file line signature
ffffffff (compiled) 0 TH1 TH1::TH1(const TH1&);
ffffffff (compiled) 0 TH1 TH1::TH1(const char*,const
char*,Int_t,const Double_t*);
* 1 (compiled) 0 TH1 TH1::TH1(const char*,const
char*,Int_t,const Float_t*);
ffffffff (compiled) 0 TH1 TH1::TH1(const char*,const char*,Int_t,Axis_t,Axis_t);
ffffffff (compiled) 0 TH1 TH1::TH1(); *** Interpreter error recovered ***
-- Nicolas Produit INTEGRAL Science Data Center Phone: +41 22 379 2140 16, Chemin d'Ecogia Fax: +41 22 379 2133 CH-1290 Versoix www: http://isdc.unige.ch/~produitReceived on Wed Oct 05 2005 - 16:36:08 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:12 MET