Re: Problem with ntuple/variable bin widths..

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Jun 14 1999 - 10:10:46 MEST


Hi John,
Looking through the history of changes, I see that On April 9
I implemented support for variable bin size histograms in TH1::FillN,
the function called by TTree::Draw.
Move to the dev version 2.22 to get the correct behaviour in this case.

Rene Brun


John Richardson wrote:
> 
> Hi Rene,
> this is really strange! Of course what you describe is what I
> would hope to see but have a look at the attached .ps file (twalk1.ps)
> to see what I actually get running precisely this macro, then typing
> twalk1->Draw().
> The first bin gets 9 entries, then 2, then 0, then 1....
> Maybe this is just a feature of version 2.21/08 and therefore
> purely of historical interest.
> 
> thanks again!
> John.
> 
> On Mon, 14 Jun 1999, Rene Brun wrote:
> 
> > Hi John,
> > I do not see any problem with your macro.
> > You construct a variable bin size histogram and you fill it
> > with one entry per bin. You see a flat distribution with all values=1.
> >
> 
>   ------------------------------------------------------------------------
> 
>                    Name: twalk1.ps
>    twalk1.ps       Type: Postscript Document (APPLICATION/PostScript)
>                Encoding: BASE64



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:34 MET