TH1X::GetBinContent always return a Stat_t independently of X. If you have a TH1I *h, you can do Int_t c = (Int_t)h->GetBinContent(i); or Int_t c = h->fArray[i]; Rene Brun "Dr. John Krane" wrote: > > Hi, > > I suspect this is just a bug that has been overlooked all this time > because I'm the first person in the world to use the class, but > shouldn't TH1I::GetBinContent(Int_t bin) have type Int_t and not > Stat_t? Am I missing something? > > - John > > -- > > Dr. John Krane > jkrane@netzero.com
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET