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
|