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
-- Tel: +41-22-76 74875 (CERN) Skype: loizides AOL: ConLoiReceived on Tue Jul 31 2007 - 17:17:12 CEST
- text/x-patch attachment: TProfile.patch
This archive was generated by hypermail 2.2.0 : Tue Jul 31 2007 - 23:50:02 CEST