Re: Suggestion TProfile

From: Thomas Bretz <tbretz_at_astro.uni-wuerzburg.de>
Date: Thu, 18 Aug 2005 15:21:12 +0200


Hi Rene,

what is strange?

In a TProfile you show
y_i=sum(x_j)_i/N_i
being i the bin-number and x your observable. N_i the number of entries in this bin.

What I want is a function returning:
I=sum(y_i)*N_i (=sum(sum(x_j)_i)
instead of
I=sum(y_i)
as integral.

Sometimes it is usefull to have this number also if I display a profile of the observable.

Thomas.

Rene Brun wrote:
> Thomas,
>
> On Tue, 2 Aug 2005, Thomas Bretz wrote:
>

>> Hi,
>>
>> it would be nice to have an Integral function in a TProfile, too, 
>> which doesn't return sum-of-bins but sum of 
>> bins-times-NumberOfBinEntries.

>
>
> This looks like a very strange formula. Could you clarify precisely what
> you want?
>
> Rene brun
>
>>
>> Thanks,
>> Thomas.
>>

>
Received on Thu Aug 18 2005 - 15:27:47 MEST

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