subtraction of fit from histogram

From: Volker Hejny (V.Hejny@fz-juelich.de)
Date: Thu Mar 16 2000 - 11:14:35 MET


Hallo,

I want to do the following job and wondered if there is
already something foreseen with ROOT.

I have a histogram i1 and another histogram i2 with a
fit. Now I'd like to subtract the function of histogram
i2 from the contents of histogram i1, i.e. I want to
subtract a fitted background from data. Does anyone
know a simple solution (despite from copying the function
manually bin by bin in a new histogram i3).

Thanks in advance and best regards,
Volker Hejny 

-- 
Volker Hejny                    Tel: 02461/616853                      ** 
Institut f. Kernphysik          Fax: 02461/613930                     **
---------------------------------------------------------------- **  ** ---  
Forschungszentrum Juelich GmbH, D-52425 Juelich                    **



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:21 MET