Skip to content

Commit

Permalink
Remove test versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Aug 14, 2024
1 parent c5c6982 commit 2de282f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
10 changes: 2 additions & 8 deletions hbt/production/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,19 @@
from hbt.production.tau import tau_weights, trigger_weights
from hbt.util import IF_DATASET_HAS_LHE_WEIGHTS

from hbt.production.hh_mass import hh_mass


ak = maybe_import("awkward")


@producer(
uses={
category_ids, features, stitched_normalization_weights, normalized_pu_weight,
normalized_btag_weights, tau_weights, electron_weights, muon_weights, trigger_weights,
IF_DATASET_HAS_LHE_WEIGHTS(normalized_pdf_weight, normalized_murmuf_weight), hh_mass,
IF_DATASET_HAS_LHE_WEIGHTS(normalized_pdf_weight, normalized_murmuf_weight),
},
produces={
category_ids, features, stitched_normalization_weights, normalized_pu_weight,
normalized_btag_weights, tau_weights, electron_weights, muon_weights, trigger_weights,
IF_DATASET_HAS_LHE_WEIGHTS(normalized_pdf_weight, normalized_murmuf_weight), hh_mass,
IF_DATASET_HAS_LHE_WEIGHTS(normalized_pdf_weight, normalized_murmuf_weight),
},
)
def default(self: Producer, events: ak.Array, **kwargs) -> ak.Array:
Expand Down Expand Up @@ -75,7 +72,4 @@ def default(self: Producer, events: ak.Array, **kwargs) -> ak.Array:
# trigger weights
events = self[trigger_weights](events, **kwargs)

# hh producer
events = self[hh_mass](events, **kwargs)

return events
3 changes: 0 additions & 3 deletions law.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ run3_2022_preEE*__cf.CalibrateEvents: prod1
run3_2022_preEE*__cf.MergeSelectionStats: prod1
run3_2022_preEE*__cf.MergeReductionStats: prod1
run3_2022_preEE*__cf.ProvideReducedEvents: prod1
run3_2022_preEE*__cf.ProduceColumns: testing_blinding
run3_2022_preEE*__cf.CreateHistograms: testing_blinding
run3_2022_preEE*__cf.MergeHistograms: testing_blinding


#
Expand Down

0 comments on commit 2de282f

Please sign in to comment.