Re: Fitting a stack

From: Rene Brun <brun_at_pcroot.cern.ch>
Date: Mon, 4 Jul 2005 12:51:09 +0200 (MEST)


Hi Mario,

I do not understand your question.
For each histogram in the THStack, you can show one or more fits

Rene Brun

On Mon, 4
Jul 2005, Mario Kadastik
wrote:

> Hello,
>
> might be an odd question, but I'll ask it anyway.
>
> What I want to do is to have a histogram of signal vs background and I use
> THStack for that purpose where every background process is added in black
> colour and finally the signal process is added in red colour. That gives a
> nice overview of the signal to background ratio, but I would also like to run
> a fit on the result and display it also on the same place (keeping the colour
> difference).
>
> Any ideas how to perform that? It would also be nice if the fit parameters
> would be available in addition to the TLegend that I use.
>
> Mario Kadastik
>
Received on Mon Jul 04 2005 - 12:51:13 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:10 MET