Re: histo stat when saved from a TTree

From: Jean-Eric Campagne <campagne_at_lal.in2p3.fr>
Date: Wed, 25 May 2005 10:59:24 +0200


Hello

--On mercredi 25 mai 2005 10:42 +0200 Rene Brun <brun_at_pcroot.cern.ch> wrote:

> Jean-Eric
>
> The answer to your question depends on the values of "smunu".
> if smunu==0 the entry is not histogrammed.

So you mean it is not counted as an entry? This is not very kind in the case as smunu is a flux value or efficiency or what ever with 0 as a meaning...

>
> For the mean value, the result depend on teh number of under/overflows

If there is no underflow neither overflow what would be the result?

J.E
>
> Rene
>
> On Wed, 25 May 2005, Jean-Eric Campagne wrote:
>
>> Dear developpers,
>>
>> If I am creating a TH1F histo (here h2) from the following TTree
>> Read/Draw sequence:
>>
>>
>> T2.ReadFile("fluxPosCazes_Globes.dat","sene/F:snue:snumu:snutau:sanue:sa
>> numu:sanutau"); T2.Draw("sene>>h2(501,0.0,10.04)","snumu");
>>
>> (nb: T2 has 501 entries as I have checked from T2.Print())
>>
>> What is the content of #entries of h2 and the result of the mean/sigma
>> value?
>>
>> Cheers
>> Jean-Eric
>>
>> ........................................................................
>> ... .LAL - IN2P3 - CNRS
>> .LAL - B.P 34 - 91898 Orsay Cedex - France
>> .Piece 108
>> .Tel +33 (0)1 64 46 84 29
>> .Fax +33 (0)1 64 46 83 97
>> ........................................................................
>> ...
>>
>>

...........................................................................
.LAL - IN2P3 - CNRS
.LAL - B.P 34 - 91898 Orsay Cedex - France
.Piece 108
.Tel +33 (0)1 64 46 84 29

.Fax +33 (0)1 64 46 83 97
...........................................................................
Received on Wed May 25 2005 - 10:59:37 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:08 MET