Skip to content

Commit

Permalink
updating cmsdb
Browse files Browse the repository at this point in the history
  • Loading branch information
aalvesan committed Jan 11, 2024
1 parent e9cfd76 commit f7fcb77
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
9 changes: 6 additions & 3 deletions hbt/production/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@
)
def default(self: Producer, events: ak.Array, **kwargs) -> ak.Array:
# category ids
events = self[category_ids](events, **kwargs)

# features
events = self[features](events, **kwargs)
try:
# features
events = self[category_ids](events, **kwargs)
except:
import traceback; traceback.print_exc()
from IPython import embed; embed()

# mc-only weights
if self.dataset_inst.is_mc:
Expand Down
3 changes: 2 additions & 1 deletion law.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ default_analysis: hbt.config.analysis_hbt.analysis_hbt
default_config: run2_2017_nano_uhh_v11_limited
default_dataset: graviton_hh_ggf_bbtautau_m400_madgraph


production_modules: columnflow.production.{categories,normalization,processes}, columnflow.production.cms.{btag,electron,mc_weight,muon,pdf,pileup,scale,seeds,gen_top_decay}, hbt.production.{default,weights,features,btag,tau}
calibration_modules: columnflow.calibration.cms.{jets,met}, hbt.calibration.{default,jet,tau}
selection_modules: columnflow.selection.cms.{json_filter, met_filters}, hbt.selection.{default,lepton,trigger,jetmet,categories}
selection_modules: columnflow.selection.cms.{json_filter, met_filters}, hbt.selection.{default,lepton,trigger,jetmet,categories,onlyMET}
ml_modules: hbt.ml.test
inference_modules: hbt.inference.test

Expand Down
2 changes: 1 addition & 1 deletion modules/cmsdb
Submodule cmsdb updated 28 files
+0 βˆ’2 .github/workflows/lint_and_test.yaml
+119 βˆ’0 cmsdb/campaigns/run2_2016_HIPM_uhh_v12/DY.py
+42 βˆ’0 cmsdb/campaigns/run2_2016_HIPM_uhh_v12/EWK.py
+108 βˆ’0 cmsdb/campaigns/run2_2016_HIPM_uhh_v12/MultiBoson.py
+78 βˆ’0 cmsdb/campaigns/run2_2016_HIPM_uhh_v12/Signals.py
+106 βˆ’0 cmsdb/campaigns/run2_2016_HIPM_uhh_v12/SingleHiggs.py
+154 βˆ’0 cmsdb/campaigns/run2_2016_HIPM_uhh_v12/SingleTop.py
+297 βˆ’0 cmsdb/campaigns/run2_2016_HIPM_uhh_v12/TT.py
+108 βˆ’0 cmsdb/campaigns/run2_2016_HIPM_uhh_v12/W.py
+130 βˆ’0 cmsdb/campaigns/run2_2016_HIPM_uhh_v12/Z.py
+48 βˆ’0 cmsdb/campaigns/run2_2016_HIPM_uhh_v12/__init__.py
+321 βˆ’0 cmsdb/campaigns/run2_2016_HIPM_uhh_v12/data.py
+1,274 βˆ’0 cmsdb/campaigns/run2_2016_HIPM_uhh_v12/hh2bbtautau.py
+0 βˆ’41 cmsdb/campaigns/run3_2022_postEE_nano_v11/__init__.py
+0 βˆ’107 cmsdb/campaigns/run3_2022_postEE_nano_v11/data.py
+0 βˆ’130 cmsdb/campaigns/run3_2022_postEE_nano_v11/ewk.py
+0 βˆ’397 cmsdb/campaigns/run3_2022_postEE_nano_v11/qcd.py
+0 βˆ’563 cmsdb/campaigns/run3_2022_postEE_nano_v11/top.py
+0 βˆ’41 cmsdb/campaigns/run3_2022_preEE_nano_v11/__init__.py
+0 βˆ’77 cmsdb/campaigns/run3_2022_preEE_nano_v11/data.py
+0 βˆ’129 cmsdb/campaigns/run3_2022_preEE_nano_v11/ewk.py
+0 βˆ’394 cmsdb/campaigns/run3_2022_preEE_nano_v11/qcd.py
+0 βˆ’553 cmsdb/campaigns/run3_2022_preEE_nano_v11/top.py
+1 βˆ’8 cmsdb/processes/data.py
+13 βˆ’198 cmsdb/processes/qcd.py
+0 βˆ’39 cmsdb/processes/top.py
+1 βˆ’1 requirements.txt
+2 βˆ’1 requirements_dev.txt

0 comments on commit f7fcb77

Please sign in to comment.