[root] / trunk / hist / hist / inc / TFractionFitter.h Repository:
ViewVC logotype

Log of /trunk/hist/hist/inc/TFractionFitter.h

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 48324 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 18 10:05:35 2013 UTC (2 years ago) by moneta
File length: 4491 byte(s)
Diff to previous 46606
from Gabriel: 

   - added protection to FindPrediction in case Newton's method fails for whatever reason: maximum number of iterations set at 100000 (and warning message in case this limit is surpassed)
   - added protection against negative values in MC observed events input: if no. events is negative an error message is printed
   - FindPrediction now caches values from the input histograms instead of repeating the same operations many times


This fixes a problem reported in 

 http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=15854

Revision 46606 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 17 12:30:31 2012 UTC (2 years, 3 months ago) by moneta
File length: 4507 byte(s)
Diff to previous 38775
Change TFractionFItter and TBinomialEfficiencyFitter class to use the ROOT::Fit::Fitter class (as TH1::Fit) instead of TVirtualFitter
This fixes also the bug https://savannah.cern.ch/bugs/?97097

Revision 38775 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 8 08:27:27 2011 UTC (3 years, 9 months ago) by moneta
File length: 4132 byte(s)
Diff to previous 22694
from Frank Filthaut: new version of TFractionFitter providing the possibility top exclude bins from the fit 

- Add also an option in the constructor to switch off (option Q) or to turn all (option V) the printout from the fitter

Revision 22694 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 17 20:23:21 2008 UTC (6 years, 10 months ago) by rdm
File length: 3922 byte(s)
Diff to previous 20882
move hist, histpainter, spectrum and spectrumpainter in the hist package.

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/hist/inc/TFractionFitter.h
File length: 3922 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/hist/inc/TFractionFitter.h
File length: 3922 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/hist/inc/TFractionFitter.h
File length: 3977 byte(s)
Diff to previous 15065
remove :$ from tag line

Revision 15065 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 16:50:02 2006 UTC (8 years, 8 months ago) by couet
Original Path: trunk/hist/inc/TFractionFitter.h
File length: 3987 byte(s)
Diff to previous 12647
- Coding conventions (indentation)

Revision 12647 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 5 10:02:38 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/hist/inc/TFractionFitter.h
File length: 3932 byte(s)
Diff to previous 8048
Fix remaining coding conventions in hist.
This has required many changes in TSpectrum and helper classes.

Revision 8048 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 27 13:28:23 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/hist/inc/TFractionFitter.h
File length: 3918 byte(s)
Diff to previous 7519
Cleanup of many files havind trailing CR/LF

Restrustruring of TGraph2D::GetContourList with the algorithm in histpainter (by Olivier)

Revision 7519 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 4 22:03:25 2003 UTC (11 years, 2 months ago) by brun
Original Path: trunk/hist/inc/TFractionFitter.h
File length: 4023 byte(s)
Diff to previous 4571
New features added to TFractionFitter by Bram Wijngaarden <dwijngaa@hef.kun.nl>

"I've added some features to the TFractionFitter class:
- the adjusted templates generated by the fit method are now stored and
accessible;
- a Chisquare and NDF have been added.

You can access the adjusted templates using
TH1* GetMCPrediction(Int_t parm) const;

Chi squared and NDF are accessible using
Double_t GetChisquare()
Int_t GetNDF()
Double_t GetProb(),
only if the fit is successful of course (GetChisquare will return 0 if no
successful fit has been performed).

Revision 4571 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon May 20 15:10:08 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/hist/inc/TFractionFitter.h
File length: 3390 byte(s)
Add new class TFractionFitter from Frank Filthaut

Fits MC fractions to data histogram (a la HMCMLL, see R. Barlow and C. Beeston,
Comp. Phys. Comm. 77 (1993) 219-228, and http://www.hep.man.ac.uk/~roger/hfrac.f).

The virtue of this fit is that it takes into account both data and Monte Carlo
statistical uncertainties. The way in which this is done is through a standard
likelihood fit using Poisson statistics; however, the template (MC) predictions
are also varied within statistics, leading to additional contributions to the
overall likelihood. This leads to many more fit parameters (one per bin per
template), but the minimisation with respect to these additional parameters is
done analytically rather than introducing them as formal fit parameters.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9