From 3473985d2389ccaf57efaa5eb19f132033d3df91 Mon Sep 17 00:00:00 2001 From: Tom Davids Date: Wed, 30 Oct 2024 13:27:15 +0100 Subject: [PATCH] Added example commands to README --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 32e22b3..61b10a0 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,24 @@ - [law](https://github.com/riga/law) - [order](https://github.com/riga/order) - [luigi](https://github.com/spotify/luigi) + +## Example commands for cf.PlotVariables1D workflow: + +### Local (not recommended for full datasets): +``` +law run cf.PlotVariables1D --version [version name] --datasets 'data*',tt_fh_powheg,'qcd*' --variables jet6_pt +``` + +### HTCondor: +``` +law run cf.PlotVariables1D --version [version name] --datasets 'data*',tt_fh_powheg,'qcd*' --variables jet6_pt +--cf.MergeHistograms-{workflow=htcondor,htcondor-memory=3000} --cf.ReduceEvents-{workflow=htcondor,htcondor-memory=3000} +``` + +### Trigger efficiency plots (bin_sel variable dictates the trigger choice): +``` +law run cf.PlotVariables1D --version [version name] --datasets data_jetht_d,data_jetht_e,data_jetht_f,tt_fh_powheg --variables jet6_pt-ht1-trig_bits +--selector trigger_eff --producers example,trigger_prod --plot-function alljets.plotting.trigger_eff_plot_procs_binned.plot_efficiencies +--cf.MergeHistograms-{workflow=htcondor,htcondor-memory=3000} --cf.ReduceEvents-{workflow=htcondor,htcondor-memory=3000} +--general-settings "bin_sel=1" +```