Victor,
You can find an example in the script in the attachment.
It is a modified version of the standard tutorial in
$ROOTSYS/tutorials/spectrum/peaks.C
To run it do, eg
root > .x peaks2fit.C(4)
Rene Brun
Victor Golovko wrote:
> Dear Rooters,
>
> I have a question about fitting.
>
> I would like to set in a fitting function two (or more parameters) to be
> equal to each other (for example: if I am fitting a spectrum with a few
> Gaussian picks, I would like to have the Gaussian with to be the same for
> all picks). Is there some function where I could specify that one parameter
> should be equal to the other one?
>
>
> Best wishes,
>
> Victor.
>
> February 27, 2007
>
This archive was generated by hypermail 2.2.0 : Tue Feb 27 2007 - 23:50:01 CET