[ROOT] fitting problem

From: Matthieu Guillo (guillo@jlab.org)
Date: Wed Oct 10 2001 - 20:40:56 MEST


Hello Rooters,

I have an histogram with a signal on a top of some background. I would
like to fit the signal with a Breit-Wigner and the background with a 2nd
ordere polynomial.
What I would like to do more precisely is to fit the background
SIMULTNEOUSLY to the region below and above the signal. So either I need
to know how to create a discontinuous function (not defined in the signal
region: putting values to 0 will not do it), either I need to know how to
fit 2 regions of the same function at the same time.
I really want to fit the regions below and above at the same time, not
doing a kind of averaging.

Does anybody know how to do that?

Thanks 

Matthieu Guillo
University of South Carolina
Thomas Jefferson National Laboratory
Office 71 trailer 16
Phone: 757-269-5551



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:02 MET