GithubHelp home page GithubHelp logo

extraction's Introduction

extraction

A framework to generate histograms, produce plots and datacards from NanoAOD files. Also storage of fitting scripts and other stuff.

This repository uses pre-commit hooks! Look into .pre-commit-config.yaml for the configuration.

Indices and tables

.. toctree::
   :maxdepth: 2

   source/config
   source/workflow
   source/python_scripts


Setup

  1. Clone repository: git clone [email protected]:WbWbX/extraction.git
  2. Source setup.sh to setup the required environments (found in env) and source the python environment.
  3. Profit!

You can run buildDoc to update the documentation.

Workflow

The workflow is managed by luigi. Just check the configs and run lazy.sh.

  1. Merge
  2. Fill Histograms
  3. Generate plots and datacards
  4. Perform fit & plot results

Logs, plots and datacards can be found in the corresponding folder. Configuration is done in the config folder.

Folder structure

for data (WIP!):

<data folder (as definded in config/general)>
│
|-- 2016
│   |-- 2016_data_NanoAOD.root
│   |-- ...
│
|-- 2017
│   |-- 2017_data_NanoAOD.root
│   |-- ...
│
`-- 2018
    |-- 2018_data_NanoAOD.root
    |-- ...

and for MC:

<mc folder (as definded in config/general)>
│
|-- 2016
|   |-- signal_NanoAOD.root
|   |-- background_1_NanoAOD.root
|   |-- background_2_NanoAOD.root
|   |-- ...
|   |
|   |-- some region
|   |   |-- nom
|   |   |   |-- signal_hist.root
|   |   |   |--  background_1_hist.root
|   |   |   |--  background_2_hist.root
|   |   |   |--  ...
|   |   |
|   |   |-- some_systematicUP
|   |   |   |-- signal_hist.root
|   |   |   |--  background_1_hist.root
|   |   |   |--  background_2_hist.root
|   |   |   |--  ...
|   |   |
|   |   |-- some_systematicDOWN
|   |   |   |-- signal_hist.root
|   |   |   |--  background_1_hist.root
|   |   |   |--  background_2_hist.root
|   |   |   |--  ...
|   |   |
|   |   |-- <one folder per systematic variation (UP and DOWN)>
|   |   |   |--  ...
|   |   |
|   |   |--  ...
|   |
|   |-- <one folder per region>
|   |
|   |--  ...
|
|-- 2017
|   |-- ...
|
`-- 2018
    |-- ...

extraction's People

Contributors

defranchis avatar jkiesele avatar

Watchers

 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.