Hi Hermine, To retrieve the number of entries, under/overflow from an histogram, do not use the statistics box, but directly the functions from TH1: If you have a TH1* h (1-D, 2-D, 3-D, profiles, etc), do: h->GetEntries(); h->GetBinContent(0); //to get the underflows h->GetBinContent(nbins+1); //to get the overflows Rene Brun Hermine Woehri wrote: > > Hello, > > I would like to retrieve the following information from the statistics > box. I would like to get a pointer to the variables "number of entries", > "overflow" and "underflow", which I would then further process and > display. Is there a simple way to do that? > > +------------------------------------------------------+ > |Hermine Katharina Woehri hermine.woehri@cern.ch | > +------------------------------------------------------| > |EP Division office: +41 22 767 9408| > |CERN mobile: +41 79 201 0715| > |CH-1211 Geneve 23 fax: +41 22 767 9780| > |Switzerland private: +33 450 42 4415| > +------------------------------------------------------+
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:43 MET