uhh-cms / hh2bbww

HH -> bbWW Analysis based on columnflow, law and order.
GNU General Public License v3.0
6 stars 9 forks source link

config refactoring, inference plot task, law.shared.cfg #51

Closed mafrahm closed 1 year ago

mafrahm commented 1 year ago

To use the law.shared.cfg, it is a good idea to write your own law config, which inherits from the law.shared.cfg. For a sl analysis, it could look like this:

[core]

# inherit from the analysis configuration file, allowing to use datasets
# stored at DESY without a Grid certificate
inherit: $HBW_BASE/law.shared.cfg

[analysis]

# set your default analysis inst to "hbw_sl"
default_analysis: hbw.analysis.hbw_sl.hbw_sl
default_config: c17
default_dataset: ggHH_kl_1_kt_1_sl_hbbhww_powheg

[outputs]
# decide, for which tasks you want to produce your own outputs, e.g. rerun the MLTraining and everything that follows

cf.BundleRepo: local
cf.BundleSoftware: local
cf.BundleBashSandbox: local
cf.BundleCMSSWSandbox: local
cf.BundleExternalFiles: local

cf.ProduceColumns: local
cf.MLTraining: local
cf.MLEvaluation: local
cf.CreateHistograms: local
cf.MergeHistograms: local
cf.MergeShiftedHistograms: local
cf.PlotCutflow: local
cf.PlotCutflowVariables: local
cf.PlotVariables: local
cf.PlotShiftedVariables: local
cf.CreateDatacards: local