Dear Rene, thanks a lot.It clarified my doubts as i was confused while using GetBinContent and GetBinEntries. regards debasish. > Hi, > > What you request is just a special case of a profile histogram > Create a TProfile h("h","profile",100,xmin,xmax,"s"); > h.Fill(x,x) > h.GetBinEntries(i); //return number of entries in bin i > h.GetBinContent(i); returns the mean value of bin i > h.GetBinError(i); returns the standard deeviation in bin i > > same for TProfile2D > > Rene Brun > > On Sat, 13 > Sep 2003 ddas@veccal.ernet.in wrote: > > > Dear all > > to get the content of bin we use bin content.Will > > it help us to get the mean of the bin content. > > regards > > debasish. > > > > > ************************************************************************> Mr. Debasish Das. > > Exptl. Physics Division. > > Variable Energy Cyclotron Centre. > > 1/AF , BIDHAN NAGAR, > > KOLKATA-700064. > > INDIA. > > Phone: +91-33-23371230(2315/2314) > > Fax: +91-33-23346871 > > Email: ddas@veccal.ernet.in > > d10_debasish@hotmail.com > > URL:http://www.veccal.ernet.in/~pmd > > http://www.geocities.com/d10_deba > > > ************************************************************************> "The only man I know who behaves sensibly is my tailor. He > > takes my measurements anew each time he sees me. The rest > > go on with their old measurements and expect me to fit them. " > > -- George Bernard Shaw > > > > > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET