Skip to content

Backend for vectorized, columnar HEP analyses with pure Python, law and order.

License

Notifications You must be signed in to change notification settings

JanekMoels/columnflow

 
 

Repository files navigation

columnflow logo
Build status Package version Documentation status Code coverge License

Backend for vectorized, columnar HEP analyses with pure Python, law and order.

Quickstart

Modules, exported shell functions and environment variables might have a prefix CF or cf to express their connection to this project.

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/columnflow.git
cd columnflow

# 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
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 example \
    --variables jet1_pt \
    --categories 1e \
    --branch 0

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

Projects using columnflow

Development

About

Backend for vectorized, columnar HEP analyses with pure Python, law and order.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.6%
  • Shell 10.4%