Skip to content

Commit d7d5bf3

Browse files
Merge pull request #111 from HEP-FCC/vvolkl-patch-1
doPlots.py: Fix error if param.scaleSig is not set
2 parents 162acc0 + f3d2998 commit d7d5bf3

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)