From 4b62f9b4dd2d57b1aacaadbd8c0114fcab3639bb Mon Sep 17 00:00:00 2001 From: Klaus Rabbertz <klaus.rabbertz@cern.ch> Date: Mon, 28 Jun 2021 09:25:27 +0200 Subject: [PATCH] Commented trial with 100% max uncertainty --- v2.5/toolkit/fastnlotoolkit/fastNLOTools.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/v2.5/toolkit/fastnlotoolkit/fastNLOTools.cc b/v2.5/toolkit/fastnlotoolkit/fastNLOTools.cc index 7947823d..43dc8343 100644 --- a/v2.5/toolkit/fastnlotoolkit/fastNLOTools.cc +++ b/v2.5/toolkit/fastnlotoolkit/fastNLOTools.cc @@ -441,7 +441,10 @@ namespace fastNLOTools { iss >> xs; iss >> dxs; if ( fabs(xs) > DBL_MIN ) { + // Is negative, if NLO_only or NNLO_only x section at production was < 0; keep this as additional information. Uncertainty.push_back(dxs/xs); + // Only allow positive numbers with maximum value of 1, i.e. = 100% uncertainty maximum + // Uncertainty.push_back(std::min(fabs(dxs/xs),1.0)); } else { Uncertainty.push_back(0.); } -- GitLab