Hi, The TProfile histo is derivated from TH1D and so TH1. But when I try to rebin it, I get : root [19] test_prof (const class TProfile*)0x88ae0e0 root [20] test_prof->Rebin() Error in <TProfile::Rebin>: Operation valid on 1-D histograms only (class TH1*)0x0 Is is a normal behavior ? Should it works ? I use root 2.25/00 on linux i686. Well, got that line in the code : if (fDimension > 1 || InheritsFrom("TProfile")) { Error("Rebin", "Operation valid on 1-D histograms only"); (in the TH1::Rebin method) But I dont see what prevent a TProfile to be rebined the same way as any 1D histo... Did I miss something ? Yannick -- _/ Yannick Patois _________________ Address (home) __________________ | irc(undernet): Garp on #france25+ | La Villa des Sciences | | email : patois@ganil.fr | 12, avenue de Cambridge | | http://garp.feelingsurfer.net/ | 14200 Herouville-Saint-Clair | | Tel/Fax-home:+33 (0)2 31 94 50 32 | FRANCE |
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:29 MET