Skip to content

Commit

Permalink
Added example commands to README
Browse files Browse the repository at this point in the history
  • Loading branch information
TomPD committed Oct 30, 2024
1 parent fa88873 commit 3473985
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```

0 comments on commit 3473985

Please sign in to comment.