Testing area for full-Python HEP analyses based on columnflow, law and order.
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/analysis_playground.git
cd analysis_playground
# 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 st_tchannel_t \
--branch 0
# create a plot
law run cf.PlotVariables \
--version v1 \
--datasets st_tchannel_t \
--producers features \
--variables jet1_pt \
--categories 1e \
--branch 0
# create a (test) datacard (CMS-style)
law run cf.CreateDatacards \
--version v1 \
--producers features \
--inference-model test \
--workers 3
- Source hosted at GitHub
- Report issues, questions, feature requests on GitHub Issues