how to fit a histogram with fixed parameters

From: Xianguo (Hsien-Kuo) LU <hsienkuo.lu_at_gmail.com>
Date: Mon, 12 Jun 2006 18:16:05 +0800


 Hi, rooters!

I want to fit a histogram with fixed parameters. I did the following:

f=new TF1("f","gaus",0,1);

f->SetParLimits(1,1.1156,1.1156)
or
f->FixParameter(1,1.1156)

but after fitting, the parameter changed. Can somebody tell me why and how to solve it?

Thanks in advance!

Cheers!
Xianguo LU

-- 
Take flight into the sky, beyond the moon, beyond my mind.

Xianguo LU (Hsien-Kuo LU)
Physics Department, Peking University
Beijing, China
Tel: 0086-10-62753888(o)
Received on Mon Jun 12 2006 - 12:16:12 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:59 MET