[root] Repository:
ViewVC logotype

Revision 30558


Jump to revision: Previous Next
Author: moneta
Date: Mon Oct 5 09:10:00 2009 UTC (5 years, 3 months ago)
Log Message:
implement ResetStats() to reset the statistics and re-set  the values to those computed using the bin center
 The method set also the number of entries to the effective entries (total bin content if histogram is not weighted)

Fix as well method Add() to reset the statistics when one of the coefficient is negative (in case of histogram subtraction)
This fixes the bug https://savannah.cern.ch/bugs/?55911

Changed paths:

Path Details
Directorytrunk/hist/hist/inc/TH1.h modified , text changed
Directorytrunk/hist/hist/src/TH1.cxx modified , text changed

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9