From f3d299892a953a10e312e2b6bfdbf1fee45acd67 Mon Sep 17 00:00:00 2001 From: Valentin Volkl Date: Mon, 18 Oct 2021 13:45:27 +0200 Subject: [PATCH] doPlots.py: Fix error if param.scaleSig is not set --- config/doPlots.py | 1 + 1 file changed, 1 insertion(+) diff --git a/config/doPlots.py b/config/doPlots.py index 81ec70dafc..de28e032c0 100644 --- a/config/doPlots.py +++ b/config/doPlots.py @@ -35,6 +35,7 @@ def mapHistos(var, label, sel, param): scaleSig=param.scaleSig except AttributeError: print ('no scale signal, using 1') + param.scaleSig=scaleSig print ('scaleSig ',scaleSig) hh.Scale(param.intLumi*scaleSig)