Re: TProfile::Rebin with variable-sized bins (xbins!=0)

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Tue, 31 Jul 2007 23:10:07 +0200 (MEST)


Hi Constantin,

You are right. I have applied your patch and also protected the case where newname=0 and xbins !=0.
Thanks for this remark and code.

Rene Brun

On
Tue, 31 Jul 2007, Constantin Loizides wrote:

> Hi Rene,
>
> I had trouble using TProfile::Rebin with variable
> sized bins. The only way to get it to work (for head)
> was to actually change the code (similar to what
> we did some time ago in TH1::Rebin).
>
> Please find attached the patch.
>
> Note, it seems to me that using xbins!=0 for newname=0
> does not make sense and probably should be caught and
> a warning (or error) being issued. The patch does
> not include this since I was not sure of all the
> possible use patterns of Rebin.
>
> Regards,
> Constantin
>
>
>
Received on Tue Jul 31 2007 - 23:11:44 CEST

This archive was generated by hypermail 2.2.0 : Wed Aug 01 2007 - 17:50:02 CEST