Skip to content

Latest commit

Β 

History

History
76 lines (60 loc) Β· 2.32 KB

README.md

File metadata and controls

76 lines (60 loc) Β· 2.32 KB

HH β†’ bb𝜏𝜏

Lint and test

Quickstart

A couple test tasks are listed below. They might require a valid voms proxy for accessing input data.

# clone the project
git clone --recursive [email protected]:uhh-cms/hh2bbtautau.git
cd hh2bbtautau

# source the setup and store decisions in .setups/dev.sh (arbitrary name)
source setup.sh dev

# index existing tasks once to enable auto-completion for "law run"
law index --verbose

# run your first task
# (they are all shipped with columnflow and thus have the "cf." prefix)
law run cf.ReduceEvents \
    --version v1 \
    --dataset hh_ggf_bbtautau_madgraph \
    --branch 0

# create a plot
law run cf.PlotVariables1DΒ \
    --version v1 \
    --datasets hh_ggf_bbtautau_madgraph \
    --producers default \
    --variables jet1_pt \
    --categories incl \
    --branch 0

# create a (test) datacard (CMS-style)
law run cf.CreateDatacards \
    --version v1 \
    --producers default \
    --inference-model test \
    --workers 3

Useful commands

Full reduction

law run cf.ReduceEventsWrapper \
    --version prod1 \
    --configs run3_2022_preEE \
    --datasets "*" \
    --shifts "nominal,{tune,hdamp,mtop}_{up,down}" \
    --cf.ReduceEvents-workflow htcondor \
    --cf.ReduceEvents-pilot \
    --cf.ReduceEvents-tasks-per-job 3 \
    --local-scheduler False \
    --workers 6

Useful links

Development