Re: [ROOT] Associate TF1* to TH1

From: Otto Schaile (Otto.Schaile@Physik.uni-muenchen.de)
Date: Thu Jun 05 2003 - 16:52:00 MEST


Hi Robert;

TF1 * fff;
TH1 * hhh;
...
hhh->GetListOfFunctions()->Add(fff);
...

Cheers
Otto


On Thu, 5 Jun 2003, Robert Wagner wrote:

> Hi,
> 
> I'd like to associate a given function to a TH1 histogram, just like
> TH1::Fit() does, but I don't want to perform the fit, I already have a
> fully determined function which I want to "associate". Is there any way
> to do that?
> 
> Best regards,
> Robert
> 

-- 
Otto Schaile            Sektion Physik, LMU Muenchen
Phone: +49 89 289 14070     Am Coulombwall 1, D-85748 Garching, Germany
GSM:   +49 160 1553598
FAX:   +49 89 289 14072     EMail: Otto.Schaile@Physik.Uni-Muenchen.DE



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET