[root] Repository:
ViewVC logotype

Revision 31207


Jump to revision: Previous Next
Author: moneta
Date: Mon Nov 16 16:52:00 2009 UTC (5 years, 2 months ago)
Log Message:
merge from  https://root.cern.ch/svn/root/branches/dev/mathDev/hist/hist  up to revision 31170 
from David and myself 


Summary of major changes: 

- TFitResult, TFitResultPtr

  - add new class TFitResult which extend FitResult with TNamed for the I/O. The result of the fit , including covariance and correlation matrix, minos errors, etc... can then be stored  in a file
  - add a class TFitResultPtr which behaves like a pointer to TFitResult and can be converted to an integer. This class is now returned by TH1::Fit and TGraph::Fit. By default the class contains only the returned integer status of the fit. If option "S" is used the class contains a pointer to TFitResult which can be retrieved using the -> or * operators (like a smart pointer)
The conversion to int provides backward compatibility with the old signature ( int TH1::Fit )

- TH1, TGraph, TGraph2D, TMultiGraph
  change from int Fit(....)  to TFitResultPtr Fit(.....)
  remove internal function DoFit  
  
- THnSparse

  add functionality for fitting a sparse histogram. Default method is the likelihood one. Chi2 can be used with the new option "X"

- FOption

 - add some new options for fitting: 
 
     "S" for storing the fit resul
     "X" for forcing chi2 fit in case of THnSParse
     "EX0" for neglecting errors in X when fitting TGraphErrors

- WrappedMultiTF1

 - make the wrapper for TF1 multi-dim function implementing the gradient interface 

Minos changes: 

 TH1: 
  - add check of compatibility for each bins when using Add on variable bin histograms

 TH3: 
 - fix a bug in setting the entries for a projected 2d profile when using weights
 THNSParse: 
 - set also the entries (and reset statistics) in the projected sparse histogram

 TFormula: 
 - define the number for the 2d function like xygaus or xylandau

 HFItInterface: 
  improve filling data for histograms (add support for bin volume normalization)
  add initialization for exponential and 2d gaus functions

Changed paths:

Path Details
Directorytrunk/hist/hist/inc/Foption.h modified , text changed
Directorytrunk/hist/hist/inc/HFitInterface.h modified , text changed
Directorytrunk/hist/hist/inc/LinkDef.h modified , text changed
Directorytrunk/hist/hist/inc/Math/WrappedMultiTF1.h modified , text changed
Directorytrunk/hist/hist/inc/Math/WrappedTF1.h modified , text changed
Directorytrunk/hist/hist/inc/TFitResult.h
(Copied from branches/dev/mathDev/hist/hist/inc/TFitResult.h, r31170)
added , text changed , props changed
Directorytrunk/hist/hist/inc/TFitResultPtr.h
(Copied from branches/dev/mathDev/hist/hist/inc/TFitResultPtr.h, r31170)
added , text changed , props changed
Directorytrunk/hist/hist/inc/TGraph.h modified , text changed
Directorytrunk/hist/hist/inc/TGraph2D.h modified , text changed
Directorytrunk/hist/hist/inc/TH1.h modified , text changed
Directorytrunk/hist/hist/inc/THnSparse.h modified , text changed
Directorytrunk/hist/hist/inc/TMultiGraph.h modified , text changed
Directorytrunk/hist/hist/src/HFitImpl.cxx modified , text changed
Directorytrunk/hist/hist/src/HFitInterface.cxx modified , text changed
Directorytrunk/hist/hist/src/TFitResultPtr.cxx
(Copied from branches/dev/mathDev/hist/hist/src/TFitResultPtr.cxx, r31170)
added , text changed , props changed
Directorytrunk/hist/hist/src/TFormula.cxx modified , text changed
Directorytrunk/hist/hist/src/TGraph.cxx modified , text changed
Directorytrunk/hist/hist/src/TGraph2D.cxx modified , text changed
Directorytrunk/hist/hist/src/TH1.cxx modified , text changed
Directorytrunk/hist/hist/src/TH3.cxx modified , text changed
Directorytrunk/hist/hist/src/THnSparse.cxx modified , text changed
Directorytrunk/hist/hist/src/TMultiGraph.cxx modified , text changed
Directorytrunk/hist/hist/src/WrappedTF1.cxx modified , text changed

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9