NNPDF / pineappl

PineAPPL is not an extension of APPLgrid
https://nnpdf.github.io/pineappl/
GNU General Public License v3.0
12 stars 3 forks source link

Improve APPLgrid/fastNLO converters #113

Closed cschwan closed 2 years ago

cschwan commented 2 years ago

In some datasets several bins are combined together, something that isn't detected in ./appl2pine, see here: https://github.com/NNPDF/fktables/issues/17. This should be either detected automatically or the grid should be written out despite the failing tests.

Furthermore, we need an option to manually specify the alpha order of the process, which isn't stored in the grids.

cschwan commented 2 years ago

Commit 4379f96edb16fbcce86ca48f2f222578d9f757d5 adds support for setting the power of alpha, which can be given as an optional third argument. If it's not given it's set to zero (old behaviour).

cschwan commented 2 years ago

The combination of bins cannot reliably detected automatically, so we should do it manually in the one case where it is needed; with commit 424ff5e5aa3955598311646a46a72df3462d01db pineappl sum --bins=from-to <INPUT> <OUTPUT> can be used to do this.