Hi Tomasz, This is a CINT problem in a cascade of calls. Replace htemp->GetBinLowEdge(htemp->GetNbinsX()) by int nbins = htemp->GetNbinsX() htemp->GetBinLowEdge(nbins) Rene Brun Tomasz Bold wrote: > > Hi, > htemp is an histogram made by drawing a tree. Why this works fine > if I call the methods one by one but more complex expresion fails? > > Regards, > Tomasz Bold > > root [4] htemp->GetNbinsX() > (const Int_t)100 > root [5] htemp->GetBinLowEdge(htemp->GetNbinsX()) > Error: Symbol htemp is not defined in current scope FILE:(tmpfile) LINE:1 > Error: Failed to evaluate htemp->GetNbinsX()Possible candidates are... > filename line:size busy function type and name > *** Interpreter error recovered *** > root [6] htemp->GetBinLowEdge(100) > (const Axis_t)4.40550000000000000e+03 > > -------------------------------------- > Tomasz Bold > mail me: > bold@ftj.agh.edu.pl, > Tomasz.Bold@cern.ch > Tomasz.Bold@desy.de > or call: > +48 12 617 4729 (AGH) > +48 12 662 8023 (IFJ) > -------------------------------------
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET