[ROOT] fitslices

From: Maurizio Ungaro (ungaro@jlab.org)
Date: Wed Nov 08 2000 - 21:08:26 MET


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 h[2][3];
No problem, I do:

TH2F SUM[10][10];
SUM[2][3]=(*h1) + (*h2);

But when I do 

SUM[2][3]->FitSlicesX(pol0,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:36 MET