Skip to content

Commit f3d2998

Browse files
authored
doPlots.py: Fix error if param.scaleSig is not set
1 parent 162acc0 commit f3d2998

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/doPlots.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def mapHistos(var, label, sel, param):
3535
scaleSig=param.scaleSig
3636
except AttributeError:
3737
print ('no scale signal, using 1')
38+
param.scaleSig=scaleSig
3839
print ('scaleSig ',scaleSig)
3940
hh.Scale(param.intLumi*scaleSig)
4041

0 commit comments

Comments
 (0)