[root] Repository:
ViewVC logotype

Revision 25487


Jump to revision: Previous Next
Author: moneta
Date: Mon Sep 22 12:44:13 2008 UTC (6 years, 4 months ago)
Log Message:
Import changes from math development branch, in particular a re-implementation of 
fitting methods for the histogram and graph objects. 

NOTE: Since some files are removed, a  make clean-hist is needed in order to be able 
to compile hist after an svn update. 

 
The implementation of TH1::Fit, TGraph::Fit, TGraph2D::Fit and TMultiGraph::Fit is 
done in a common function implemented in HFitImpl.cxx (HFit::Fit). 

In addition the file HFitInterface.h define ROOT::Fit::FitObject functions passing 
option directly via Foption class and not by a string. They are used by the FitPanel.

Remove previously existing files THistFitInterface.cxx (and *.h) and 
TGraphFitInterface.cxx (and *.h). The code is now in the  HFitInterface.cxx (and *.h) 
files. 

Use plugin manager directly to open the Fit Panel. Do not pass anymore via the THistPainter. 
Changes in TH1::FitPanel, TGraph::FitPanel. 
Add FitPanel() method for TGraph2D and TMultiGraph. 

Add new class TBackCompFitter, providing a backward compatible implementation of 
TVirtualFitter using the new fitting class. It is constructed from the fitter class 
and can be used to retrieve the fit information (result and configuration) via the 
TVirtualFitter API from FitConfig and FitResult. A static istance is created after 
calling the Fit method.   
  
Other changes are:  


TGraph: 
  - when creating a graph from an histogram, don't use the same name. 
  Otherwise it will conflict later with histogram created internally by the TGraph. 

TH2: 
     add protected method TH2::DoFitSlices and TH2::DoProfile as common implementations
     for (FitSlicesX,FitSclicesY) and (ProfileX, ProfileY).
     pass the global statistics in DoProjection when range is (1,NBIN)

TBinimialEfficiencyFit: 
     add possibility to set verbose option, and set different precision and 
     max iterations for minimizing.

Changed paths:

Path Details
Directorytrunk/hist/hist/inc/Foption.h modified , text changed
Directorytrunk/hist/hist/inc/HFitInterface.h
(Copied from branches/dev/mathDev/hist/hist/inc/HFitInterface.h, r25468)
added
Directorytrunk/hist/hist/inc/LinkDef.h modified , text changed
Directorytrunk/hist/hist/inc/TBackCompFitter.h
(Copied from branches/dev/mathDev/hist/hist/inc/TBackCompFitter.h, r25468)
added
Directorytrunk/hist/hist/inc/TGraph.h modified , text changed
Directorytrunk/hist/hist/inc/TGraph2D.h modified , text changed
Directorytrunk/hist/hist/inc/TGraphFitInterface.h deleted
Directorytrunk/hist/hist/inc/TH1.h modified , text changed
Directorytrunk/hist/hist/inc/TH2.h modified , text changed
Directorytrunk/hist/hist/inc/THFitInterface.h deleted
Directorytrunk/hist/hist/inc/TMultiGraph.h modified , text changed
Directorytrunk/hist/hist/inc/TVirtualHistPainter.h modified , text changed
Directorytrunk/hist/hist/src/HFitImpl.cxx
(Copied from branches/dev/mathDev/hist/hist/src/HFitImpl.cxx, r25468)
added , text changed
Directorytrunk/hist/hist/src/HFitInterface.cxx
(Copied from branches/dev/mathDev/hist/hist/src/HFitInterface.cxx, r25468)
added
Directorytrunk/hist/hist/src/TBackCompFcnAdapter.h
(Copied from branches/dev/mathDev/hist/hist/src/TBackCompFcnAdapter.h, r25468)
added
Directorytrunk/hist/hist/src/TBackCompFitter.cxx
(Copied from branches/dev/mathDev/hist/hist/src/TBackCompFitter.cxx, r25468)
added
Directorytrunk/hist/hist/src/TBinomialEfficiencyFitter.cxx modified , text changed
Directorytrunk/hist/hist/src/TF1.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/TGraphFitInterface.cxx deleted
Directorytrunk/hist/hist/src/TH1.cxx modified , text changed
Directorytrunk/hist/hist/src/TH2.cxx modified , text changed
Directorytrunk/hist/hist/src/THFitInterface.cxx deleted
Directorytrunk/hist/hist/src/TMultiGraph.cxx modified , text changed

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9