Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
TomPD committed Dec 11, 2024
1 parent 331e641 commit e0efebe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion alljets/config/analysis_aj.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@
"electron_sf": (f"{json_mirror}/POG/EGM/{year}{corr_postfix}_UL/electron.json.gz", "v1"),

# prototype trigger weight corrections
"trig_sf": (f"/afs/desy.de/user/d/davidsto/public/mirrors/trigger_correction_HT350_CSV.json.gz", "v1")
"trig_sf": ("/afs/desy.de/user/d/davidsto/public/mirrors/trigger_correction_HT350_CSV.json.gz", "v1"),
})

cfg.x.trigger = {
Expand Down
6 changes: 2 additions & 4 deletions alljets/selection/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def example(
# combined event selection after all steps
results.event = (results.steps.muon & results.steps.jet &
results.steps.Trigger & results.steps.BTag &
results.steps.HT & results.steps.Chi2 & results.steps.n25Chi2 &
results.steps.HT & results.steps.Chi2 & results.steps.n25Chi2 &
results.steps.n10Chi2 & results.steps.n5Chi2 & results.steps.SixJets)
# results.steps.BaseTrigger

Expand Down Expand Up @@ -197,6 +197,7 @@ def example(

return events, results


@selector(
uses={
# selectors / producers called within _this_ selector
Expand Down Expand Up @@ -556,7 +557,6 @@ def trigger_eff(
# results.steps.SixJets &
# results.steps.jet &
# results.steps.HT


# create process ids
events = self[process_ids](events, **kwargs)
Expand Down Expand Up @@ -866,7 +866,6 @@ def trigger_eff_pt(
results.steps.HT
)
# results.steps.SixJets &


# create process ids
events = self[process_ids](events, **kwargs)
Expand Down Expand Up @@ -1019,7 +1018,6 @@ def trigger_eff2(
results.steps.jet &
results.steps.HT)
# results.steps.BTag)
#

# create process ids
events = self[process_ids](events, **kwargs)
Expand Down
4 changes: 2 additions & 2 deletions alljets/selection/jet.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def jet_selection(
jet_trigger_sel = True
jet_base_trigger_sel = True
mwref = 80.4
mwsig = 11.01 # 12
mtsig = 27.07 # 15
mwsig = 11.01 # 12
mtsig = 27.07 # 15
mu_tt = 2.07
mu_w = 0.88
m = lambda j1, j2: (j1.add(j2)).mass
Expand Down

0 comments on commit e0efebe

Please sign in to comment.