Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
haddadanas committed Oct 25, 2024
1 parent 11ad5b4 commit 90f8e7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions hbt/config/hist_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ def control_qcd_estimation(task, hists):

def avoid_plotting(task, hists):
cats = [
task.config_inst.get_category(c)
task.config_inst.get_category(c)
for c in [f"incl__{a}__{b}" for a in ["os", "ss"] for b in ["iso", "noniso"]]
]

Expand All @@ -639,7 +639,7 @@ def avoid_plotting(task, hists):
h_new.variances()[ind][0][0] = h_sum.variance
results[process] = h_new
return results

def equal_area(task, hists):

results = {}
Expand Down
5 changes: 1 addition & 4 deletions hbt/selection/lepton.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,7 @@ def muon_selection(
default_mask = None
default_indices = None
if is_single or is_cross:
if is_2016:
min_pt = 23.0 if is_single else 20.0
else:
min_pt = 33.0 if is_single else 25.0

default_mask = (
(events.Muon.tightId == 1) &
(abs(events.Muon.eta) < 2.4) &
Expand Down

0 comments on commit 90f8e7d

Please sign in to comment.