Skip to content

Commit

Permalink
Merge pull request #318 from kjvbrt/lumifix
Browse files Browse the repository at this point in the history
Removing energy from the intLumi string
  • Loading branch information
kjvbrt authored Oct 31, 2023
2 parents c1cb906 + a7e3276 commit 9c43d61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/doPlots.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def runPlots(var,sel,param,hsignal,hbackgrounds,extralab,splitLeg,plotStatUnc):
colors.append(param.colors[b])

intLumiab = param.intLumi/1e+06
intLumi = "L = {:.0f} ab^{{-1}}".format(param.energy,intLumiab)
intLumi = f'L = {intLumiab:.0f} ab^{{-1}}'
if hasattr(param, "intLumiLabel"):
intLumi = getattr(param, "intLumiLabel")

Expand Down Expand Up @@ -364,7 +364,7 @@ def runPlotsHistmaker(hName, param, plotCfg):


intLumiab = param.intLumi/1e+06
intLumi = "L = {:.0f} ab^{{-1}}".format(param.energy,intLumiab)
intLumi = f'L = {intLumiab:.0f} ab^{{-1}}'
if hasattr(param, "intLumiLabel"):
intLumi = getattr(param, "intLumiLabel")

Expand Down

0 comments on commit 9c43d61

Please sign in to comment.