# Numbers with errors (uncertainties)

**URL:** <https://root-forum.cern.ch/t/numbers-with-errors-uncertainties/16705>\
**Category:** Evolution Proposals, Apps & Ideas\
**Created:** [September 30, 2013, 12:07pm UTC](https://root-forum.cern.ch/t/numbers-with-errors-uncertainties/16705 "2013-09-30T12:07:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![soti](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/a4c791/32.png) [@soti](https://root-forum.cern.ch/u/soti)\
**Post date:** [September 30, 2013, 12:07pm UTC](https://root-forum.cern.ch/t/numbers-with-errors-uncertainties/16705/1 "2013-09-30T12:07:32Z")

</div>

Dear ROOTers,

In my work I often integrate spectra and then normalize them, all of the time keeping track of the statistical error. TH1::IntegralAndError() is fine, however, if I want to divide then two integrals with their associated errors, I have to hard-code the error propagation formula (messy and error-prone).  
For this purposes I already made a calculator (software) which handles error propagation. You can check it out on sourceforge:  
[sourceforge.net/projects/errorcalculator/](http://sourceforge.net/projects/errorcalculator/)

I like it a lot so I was wondering if it would be useful to implement it in ROOT. Not the whole calculator, but the base class (let’s call it TErrNum) and overloading all the operators +,-,\*,/ etc to properly propagate the errors.  
I can also imagine that e.g. TErrorGraphs can be constructed by providing two arrays of TErrNum.

best regards,  
Gergely
