Skip to content

Commit

Permalink
propagate naming convention also to dataset definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Daniel Keicher committed Apr 10, 2024
1 parent 97a0fae commit 7bdd593
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
6 changes: 3 additions & 3 deletions hbt/config/analysis_hbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@
)


from cmsdb.campaigns.run2_2017_cms_taupog_nano_v12 import run2_2017_cms_taupog_nano_v12
from cmsdb.campaigns.run2_2017_cms_taupog_nano_v12 import campaign_run2_2017_cms_taupog_nano_v12
from hbt.config.configs_run2ul_cms_taupog import add_config as add_config_run2ul_cms_taupog


add_config_run2ul_cms_taupog(
analysis_hbt,
run2_2017_cms_taupog_nano_v12.copy(),
config_name=f"{run2_2017_cms_taupog_nano_v12.name}_limited",
campaign_run2_2017_cms_taupog_nano_v12.copy(),
config_name=f"{campaign_run2_2017_cms_taupog_nano_v12.name}_limited",
config_id=42,
limit_dataset_files=2,
)
7 changes: 0 additions & 7 deletions hbt/production/empty.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,8 @@
from columnflow.production import Producer, producer
from columnflow.production.normalization import normalization_weights
from columnflow.production.categories import category_ids
from columnflow.production.cms.electron import electron_weights
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
from hbt.production.btag import normalized_btag_weights
from hbt.production.tau import tau_weights, trigger_weights


ak = maybe_import("awkward")

Expand Down
2 changes: 1 addition & 1 deletion modules/cmsdb

0 comments on commit 7bdd593

Please sign in to comment.