Closed cschwan closed 8 months ago
I wonder whether this is a pineko problem - instead I think this might be a vp/CommonData problem ... (meaning @scarlehoff 's responsibility )
do you agree? (if you wish we can still host the issue here until CommonData is more mature ...)
Yes, this might be the wrong place indeed. In any case at some point 1) we should make sure the units agree, which 2) might require encoding the units of the measurements. I don't know whether 2) latter is already forseen within common data.
Looking at the current draft of CommonData https://github.com/NNPDF/nnpdf/blob/eea53bc9b191d20a48bac3d5af969e8ac4a4aae9/buildmaster/NMCPD/metadata.yaml there is no such field - so we should ask to @enocera: should we add a metadata field with the units of the measurement? (see e.g. https://github.com/NNPDF/runcards/blob/e3601ef290d9eef2e21af9454f8e5a88f900e2e8/nnpdf31_proc/ATLAS_WM_7TEV/metadata.txt)
maybe we should transfer the issue to the nnpdf repo ...
I agree, let's move this Issue to the NNPDF repository. The fitting code should probably make sure that the units of the prediction and the measurement agree with each other.
@felixhekhorn @cschwan Since we proposed to transfer this, can I do it?
(maybe after moving this repo to the NNPDF organization, something that we decided to do last week)
agreed
Each PineAPPL grid can store its numbers in arbitrary units, and pineko should recognize these units and convert them to the correct ones matching the ones the measurements are given in. By default Madgraph5_aMC@NLO stores cross sections in units of picobarns and energies in giga electronvolt, but nothing prevents the user to choose units different from those (what's the situation for yadism?). Ideally, we'd support any units. PineAPPL's metadata allows to specify these units in the keys with names
y_unit
,x1_unit
,x2_unit
, etc. That being said I think we should:Alternatively to 3. we might require the units already to be the right ones, or error out if they're not. I'm not sure whether we can support this option for all datasets. Some of the fixed-target DY datasets might have non-standard units, so their measurements would have to be rescaled.
For instance, a differential cross section from a different Monte Carlo might come out as
y_unit=nb/MeV
, which would be10^6 pb/GeV
.