Skip to content

Commit 3854fc3

Browse files
committed
add 2022preEE lumi
1 parent a4e1ea3 commit 3854fc3

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

hbw/config/config_run2.py

+10-4
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,16 @@ def add_config(
113113
})
114114
# https://twiki.cern.ch/twiki/bin/viewauth/CMS/PdmVRun3Analysis
115115
elif year == 2022:
116-
cfg.x.luminosity = Number(26337, {
117-
"lumi_13TeV_2022": 0.01j,
118-
"lumi_13TeV_correlated": 0.006j,
119-
})
116+
if campaign.x.EE == "pre":
117+
cfg.x.luminosity = Number(7971, {
118+
"lumi_13TeV_2022": 0.01j,
119+
"lumi_13TeV_correlated": 0.006j,
120+
})
121+
elif campaign.x.EE == "post":
122+
cfg.x.luminosity = Number(26337, {
123+
"lumi_13TeV_2022": 0.01j,
124+
"lumi_13TeV_correlated": 0.006j,
125+
})
120126
else:
121127
raise NotImplementedError(f"Luminosity for year {year} is not defined.")
122128

0 commit comments

Comments
 (0)