Skip to content

Commit 9606573

Browse files
committed
v14
1 parent 190318e commit 9606573

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

src/boostedhh/processors/objects.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,34 @@ def jetid_v12(jets: ak.Array) -> ak.Array:
2828
) | ((np.abs(jets.eta) > 2.7) & jetidtight)
2929

3030
return jetidtight, jetidtightlepveto
31+
32+
33+
def jetid_v14(jets: ak.Array) -> tuple[ak.Array, ak.Array]:
34+
"""
35+
Jet ID fix for NanoAOD v14 copying
36+
# https://gitlab.cern.ch/cms-jetmet/coordination/coordination/-/issues/117#note_8880788
37+
"""
38+
39+
jetidtight = (
40+
(
41+
(np.abs(jets.eta) <= 2.6)
42+
& (jets.neHEF < 0.99)
43+
& (jets.neEmEF < 0.9)
44+
& ((jets.chMultiplicity + jets.neMultiplicity) > 1)
45+
& (jets.chHEF > 0.01)
46+
& (jets.chMultiplicity > 0)
47+
)
48+
| (
49+
((np.abs(jets.eta) > 2.6) & (np.abs(jets.eta) <= 2.7))
50+
& (jets.neHEF < 0.90)
51+
& (jets.neEmEF < 0.99)
52+
)
53+
| (((np.abs(jets.eta) > 2.7) & (np.abs(jets.eta) <= 3.0)) & (jets.neHEF < 0.99))
54+
| ((np.abs(jets.eta) > 3.0) & (jets.neMultiplicity >= 2) & (jets.neEmEF < 0.4))
55+
)
56+
57+
jetidtightlepveto = (
58+
(np.abs(jets.eta) <= 2.7) & jetidtight & (jets.muEF < 0.8) & (jets.chEmEF < 0.8)
59+
) | ((np.abs(jets.eta) > 2.7) & jetidtight)
60+
61+
return jetidtight, jetidtightlepveto

src/boostedhh/xsecs.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,14 @@
292292
xsecs["DYto2L-2Jets_MLL-50_1J"] = 1017.0
293293
xsecs["DYto2L-2Jets_MLL-50_2J"] = 385.5
294294

295+
xsecs["DYto2L-4Jets_MLL-50to120_HT-40to70"] = 316.7
296+
xsecs["DYto2L-4Jets_MLL-50to120_HT-70to100"] = 140.1
297+
xsecs["DYto2L-4Jets_MLL-50to120_HT-100to400"] = 179.6
298+
xsecs["DYto2L-4Jets_MLL-50to120_HT-400to800"] = 6.742
299+
xsecs["DYto2L-4Jets_MLL-50to120_HT-800to1500"] = 0.693
300+
xsecs["DYto2L-4Jets_MLL-50to120_HT-1500to2500"] = 0.05047
301+
xsecs["DYto2L-4Jets_MLL-50to120_HT-2500"] = 0.00346
302+
295303
########################################################
296304
# Cross Sections for 13 TeV.
297305
########################################################

0 commit comments

Comments
 (0)