Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
simplify sample names parsing with default lists
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Filatov committed Nov 9, 2021
1 parent bd442b2 commit 57f536c
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions configs/predict/for_datacards.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
defaults:
- ../preprocess@_global_.preprocess_cfg: prediction_data

kind: 'for_datacards'

# model & scaling pipe to make predictions
Expand All @@ -6,26 +9,11 @@ run_id: ???

# input path & info
year: ???
orig_path: /nfs/dust/cms/user/rasp/storage/cardinia/${year}/InputDNNmt_June9-PAS
orig_filename_template: mt-NOMINAL_ntuple_{sample_name}_${year}.root
orig_path: ${preprocess_cfg.input_path}
orig_filename_template: ${preprocess_cfg.input_filename_template}
input_path: 'data/cp_htt/${year}/skims'
input_filename_template: '{sample_name}.hdf5'
sample_names:
- Diboson
- DYJets
- EmbeddedMuTau
- EWKZ
- GluGluHToUncorrTauTau
- HToWW
- SingleMuon
- TTbar
- VBFHToUncorrTauTau
- WHToUncorrTauTau
- WJets
- ZHToUncorrTauTau
misc_features: # will be added to output ROOT file along with prediction branches
- evt
- run
sample_names: ${preprocess_cfg.input_samples}

# output section
misc_features: # will be added to output ROOT file along with prediction branches
Expand Down

0 comments on commit 57f536c

Please sign in to comment.