Hi Ilia,
I have added a new static function to TH1
void TH1::StatOverflows(Bool_t flag);
When flag is set to kTRUE BEFORE FILLING stats will include
underflows and overflows.
Now in CVS.
Rene Brun
Ilia Ravinovich wrote:
>
> On Fri, 8 Aug 2003, Rene Brun wrote:
>
> Hi Rene,
>
> I understand it as a convenient tradition, but sometimes it would be
> useful having both. Is it possible to have an option in
>
> gStyle->SetOptStat(.....)
>
> Thanks,
>
> Ilia
>
> > Not a bug or a feature. Just a convenient tradition.
> >
> > Rene Brun
> >
> > On Fri, 8 Aug 2003,
> > Aleksandr Tkachev wrote:
> >
> > > Hi,
> > >
> > > It looks like overflow bins in TH1 class have no effect on a calculation of
> > > the mean value :
> > >
> > > root [0] TH1F hist("test","test",10,0,10);
> > > root [1] hist->Fill(5.4);
> > > root [2] hist->Fill(15.5);
> > > root [3] hist->GetMean()
> > > (const Stat_t)5.40000000000000036e+00
> > >
> > > Is it a bug or feature ?
> > > Thanks,
> > > Sasha.
> > >
> > > _________________________________________________________________
> > > The new MSN 8: smart spam protection and 2 months FREE*
> > > http://join.msn.com/?page=features/junkmail
> > >
> >
> >
> >
>
> --
> ************************************************************************
> * *
> * Ilia Ravinovich *
> * Department of Particle Physics PHENIX Experiment *
> * Weizmann Institute of Science Bld. 510C *
> * Rehovot 76100 BNL *
> * ISRAEL Upton, NY 11973, USA *
> * *
> * PHONE : 972 8 9343187 1 631 344 7017 *
> * FAX : 972 8 9344166 1 631 344 3253 *
> * E-mail: Ilia.Ravinovich@weizmann.ac.il *
> * *
> ************************************************************************
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET