Hi Maurizio, Yes TH2::FitSlicesX,Y produce several histograms. See URL: http://root.cern.ch/root/html225/TH2.html#TH2:FitSlicesX Rene Brun Maurizio Ungaro wrote: > > Let me rewrite this, I did a couple type errors. > > Hi all, > > I have two histos in a file (let's say h1 and h2) and > I want to add into an element of an array of histos, let's > say SUM[2][3]; > No problem, I do: > > TH2F SUM[10][10]; > SUM[2][3]=(*h1) + (*h2); > > But when I do > > SUM[2][3]->FitSlicesX(0,0,0,1,"") > > this will create h2_0 (h2 is the last histo to be summed). > Is this ok? > > Maurizio > >
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:37 MET