[Rivet] numerical difference between data and mc aida

Hendrik Hoeth hendrik.hoeth at cern.ch
Wed Apr 3 11:11:37 BST 2013


Hi Albert,

Thus spake Albert Knutsson (albert.knutsson at cern.ch):

> we have a numerical problem with an aida file.
> 
> The data aida file have points looking like this:
> [...]
> 
> Do you have a solution to this?

We've had that kind of problem before, with a binning in fractions of
pi. The easiest and most robust way of fixing such problems is to reduce
the number of digits in the binning and thus use "round" numbers for the
bin edges. In your case that could for example be

3.33333e-02   6.66667e-02   1.186100e+00  1.535834e-01
6.66667e-02   1.00000e-01   1.763658e+00  2.291718e-01

for the two data bins you quoted. This is well within any uncertainty
but saves you from rounding issues.

Cheers,

    Hendrik

-- 
If your dreams don't scare you, then you are not dreaming big enough.


More information about the Rivet mailing list