Giter VIP home page Giter VIP logo

columnflow's Introduction

Build status Package version Documentation status Code coverge License

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

Note on current development

This project is currently in a beta phase. The project setup, suggested workflows, definitions of particular tasks, and the signatures of various helper classes and functions are mostly frozen but could still be subject to changes in the near future. At this point (December 2022), four large-scale analyses based upon columnflow are being developed, and in the process, help test and verify various aspects of its core. The first released version is expected in early 2023. However, if you would like to join early on, contribute or just give it a spin, feel free to get in touch!

Quickstart

To create an analysis using columnflow, it is recommended to start from a predefined template (located in analysis_templates. The following command (no previous git clone required) interactively asks for a handful of names and settings, and creates a minimal, yet fully functioning project structure for you!

bash -c "$(curl -Ls https://raw.githubusercontent.com/uhh-cms/columnflow/master/create_analysis.sh)"

At the end of the setup, you will see further instructions and suggestions to run your first analysis tasks (example below).

Setup successfull! The next steps are:

  1. Setup the repository and install the environment.
    > source setup.sh [optional_setup_name]

  2. Run local tests & linting checks to verify that the analysis is setup correctly.
    > ./tests/run_all

  3. Create a GRID proxy if you intend to run tasks that need one
    > voms-proxy-init -voms cms -rfc -valid 196:00

  4. Checkout the 'Getting started' guide to run your first tasks.
    https://columnflow.readthedocs.io/en/master/start.html

    Suggestions for tasks to run:

    a) Run the 'calibration -> selection -> reduction' pipeline for the first file of the
       default dataset using the default calibrator and default selector
       (enter the command below and 'tab-tab' to see all arguments or add --help for help)
      > law run cf.ReduceEvents --version dev1 --branch 0

    b) Create the jet1_pt distribution for the single top dataset:
      > law run cf.PlotVariables1D --version dev1 --datasets 'st*' --variables jet1_pt

    c) Include the ttbar dataset and also plot jet1_eta:
      > law run cf.PlotVariables1D --version dev1 --datasets 'tt*,st*' --variables jet1_pt,jet1_eta

    d) Create cms-style datacards for the example model in hgg/inference/example.py:
      > law run cf.CreateDatacards --version dev1 --inference-model example

For a better overview of the tasks that are triggered by the commands below, checkout the current (yet stylized) task graph.

Projects using columnflow

  • hh2bbtautau: HH โ†’ bb๐œ๐œ analysis with CMS.
  • hh2bbww: HH โ†’ bbWW analysis with CMS.
  • topmass: Top quark mass measurement with CMS.
  • mttbar: Search for heavy resonances in ttbar events with CMS.
  • analysis playground: A testing playground for HEP analyses.

Contributors

Marcel R.
Marcel R.

๐Ÿ’ป ๐Ÿ‘€ ๐Ÿ“– โš ๏ธ
Mathis Frahm
Mathis Frahm

๐Ÿ’ป ๐Ÿ‘€
Daniel Savoiu
Daniel Savoiu

๐Ÿ’ป ๐Ÿ‘€
pkausw
pkausw

๐Ÿ’ป ๐Ÿ‘€
nprouvost
nprouvost

๐Ÿ’ป โš ๏ธ
Bogdan-Wiederspan
Bogdan-Wiederspan

๐Ÿ’ป โš ๏ธ
Tobias Kramer
Tobias Kramer

๐Ÿ’ป
Matthias Schroeder
Matthias Schroeder

๐Ÿ’ป
BalduinLetzer
BalduinLetzer

๐Ÿ’ป

This project follows the all-contributors specification.

Development

columnflow's People

Contributors

riga avatar mafrahm avatar dsavoiu avatar allcontributors[bot] avatar pkausw avatar nprouvost avatar balduinletzer avatar bogdan-wiederspan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.