Re: [ROOT] FIt of a TH2

From: Norbert Danneberg (norbert.danneberg@psi.ch)
Date: Wed May 17 2000 - 17:31:33 MEST


Hi Aurelien,

make a profile histogram from your 2D Histo.
TH2F::ProfileY(). This returns a 1Dim histo
which you can fit.

Norbert


Aurelien Cottrant wrote:

> Hello
> I have a TH2F which contains variables which are fonction one of each other (e.g.
> x=f(y) if x is the name of my first data and y the name of the second)
> How can I fit this data with a 1-D function
>
> Aurelien Cottrant

--

Norbert Danneberg

ETH Zurich - Institute for Particle Physics
  Laboratory for Nuclear Physics          Phone.: +41-1-633-2034
  Hoenggerberg                            Fax.:   +41-1-633-1067
  CH-8093 Zurich


ETH Zurich - Institute for Particle Physics
  Paul Scherrer Institute                 Phone.: +41-56-310-3284
  CH-5232 Villigen PSI                    Fax.:   +41-56-310-4362

email: Norbert.Danneberg@psi.ch



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