Skip to content

Commit

Permalink
Remove default features.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Dec 12, 2024
1 parent 13d191d commit c7156d0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions hbt/production/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from columnflow.production.cms.muon import muon_weights
from columnflow.util import maybe_import

from hbt.production.features import features
from hbt.production.weights import (
normalized_pu_weight, normalized_pdf_weight, normalized_murmuf_weight,
)
Expand All @@ -24,12 +23,12 @@

@producer(
uses={
category_ids, features, stitched_normalization_weights, normalized_pu_weight,
category_ids, 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),
},
produces={
category_ids, features, stitched_normalization_weights, normalized_pu_weight,
category_ids, 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),
},
Expand All @@ -38,9 +37,6 @@ def default(self: Producer, events: ak.Array, **kwargs) -> ak.Array:
# category ids
events = self[category_ids](events, **kwargs)

# features
events = self[features](events, **kwargs)

# mc-only weights
if self.dataset_inst.is_mc:
# normalization weights
Expand Down

0 comments on commit c7156d0

Please sign in to comment.