Skip to content
Snippets Groups Projects
Commit c2fb4dbd authored by Lorenzo Moneta's avatar Lorenzo Moneta
Browse files

- update histogram release notes + small fix in class descriptiosn

git-svn-id: http://root.cern.ch/svn/root/trunk@24492 27541ba8-7e3a-0410-8455-c3a389f83636
parent bea6c981
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@
<ul>
<li>
The code used for implementing numerical methods like <tt>TF1::Integration</tt> or <tt>TF1::Derivation</tt> or <tt>TF1::GetX</tt> has now been now moved in MathCore and used to implement corresponding classes like <tt>GaussIntegrator</tt> or <tt>BrentRootFinder</tt>. The impementation remains however the same.</li>
The code used for implementing numerical methods like <tt>TF1::Integration</tt> or <tt>TF1::Derivation</tt> or <tt>TF1::GetX</tt> has now been now moved in MathCore and used to implement corresponding classes like <tt>GaussIntegrator</tt> or <tt>BrentRootFinder</tt>. The implementation remains however the same.</li>
<li>A new method <tt>TF1::operator()(double x, double y=0, double z)</tt> which is equivalent to <tt>TF1::Eval</tt> has been added for using TF1 as a callable object.</li>
<li>New templated methods <tt>TF1::SetFunction</tt> for generic C++ callable objects or for class member functions.</li>
</ul>
......@@ -20,8 +20,10 @@
<ul>
<li> Fixed a bug in the <tt>TH1::KolmogorovTest</tt> function in the case of scaled or weighted histograms. The routine has been improved and
now could also be used for comparing an histogram with a function if it is represented as an histogram with zero errors (equivalent to the case of options "F1" or "F2" in the original HDIFF routine of HBOOK).</li>
<li>Improved the <tt>TH1::Chi2Test</tt> for the treatment of empty bins in the histograms. If both histograms have one empty bin, the number of degree of freedom is decreased by one but the test is performed without reporting an error. If only one histogram is having an empty bin it is considered in the comparison.
now could also be used for comparing an histogram with a function if it is represented as an histogram with zero errors (equivalent to the case of options "F1" or "F2" in the original HDIFF routine of HBOOK). The bug has been fixed also for the TH2 and TH3 corresponding method. In addition in the case of TH3 use now all 6 axis combinations for estimating the maximum deviation. This is consistent with what is done in the 2D case.</li>
<li>Improved the <tt>TH1::Chi2Test</tt> for the treatment of empty bins in the histograms. If both histograms have one empty bin, the number of degree of freedom is decreased by one but the test is performed without reporting an error. If only one histogram is having an empty bin it is considered in the comparison.
</li>
<li>Fixed a bug in preserving the global statistic information after scaling, adding or rebinning the histogram.</li>
</ul>
......@@ -29,15 +31,16 @@ now could also be used for comparing an histogram with a function if it is repre
<ul>
<li>
Improve <tt>TH2::FitFitSliceX</tt> and <tt>TH2::FitFitSliceY</tt> by adding the possibility to return the generated histograms in a TObjArray when the passed pointer is not null.
Improve <tt>TH2::FitFitSliceX</tt> and <tt>TH2::FitFitSliceY</tt> by adding the possibility to return the generated histograms in a TObjArray when the passed pointer is not null. Support also variable bin size histograms
</li>
<li><li>Improve histogram projections. The implementation of <tt>TH2::ProjectionX</tt> and <tt>TH2::ProjectionY</tt> has been combined in a single private method.
</ul>
<h4>TH3</h4>
<ul>
<li>
Fixed a bug in <tt>TH3::Project3DProfile</tt>.
Fixed a couple of bugs in <tt>TH3::Project3DProfile</tt>.
</li>
</ul>
......@@ -47,6 +50,8 @@ Fixed a bug in <tt>TH3::Project3DProfile</tt>.
<li>
Add a new option "W" in <tt>TProfile::ProjectionX</tt> and <tt>TProfile::ProjectionXY</tt> to be able to return the equivalent weighted filled histogram. Its bin content is equal to the profile bin content multiplied by the bin entries.
</li>
<li>Implement in the TProfile a new option, <tt>"G"</tt> for the bin error. This option can be used, bin by bin, for the combination of measurements y with known gaussian error dy. In this case the profile must be filled
with a weight = 1./dy**2 and the resulting error from the combination (1./sqrt(Sum(1./dy**2) ) ) will be calculated by the profile. </li>
</ul>
......
......@@ -40,7 +40,10 @@
#endif
/**
@defgroup FitMethodFunc Fit Method Function Classes
@defgroup FitMethodFunc Fit Method Classes
Classes describing Fit Method functions
@ingroup Fit
*/
......
......@@ -52,7 +52,9 @@ namespace ROOT {
namespace Fit {
/**
@defgroup FitMain Main fitting classes
@defgroup FitMain User Fitting classes
Main Classes used for fitting a given data set
@ingroup Fit
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment