Fitting a stack

From: Mario Kadastik <mario.kadastik_at_cern.ch>
Date: Mon, 04 Jul 2005 12:55:11 +0300


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 - 11:55:14 MEST

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