Giter Site home page Giter Site logo

wvzlooper's Introduction

WVZLooper

Quick start

# Installing the code
git clone --recurse-submodule [email protected]:sgnoohc/WVZLooper.git
cd WVZLooper
source setup.sh
make clean
make -j

Quick run

sh runall.sh -b baseline_0709            -t WVZ -v v0.1.11
sh runall.sh -b baseline_0709_with_systs -t WVZ -v v0.1.11 -s

Plotting

For example,

sh runall.sh -b baseline_0709 -t WVZ -v 0.1.11 -d myplots -p ChannelEMuHighMT__MllNom -n 5

To plot 5 bin dilepton mass spectrum in emu channel

Extrapolation Uncertainties

The extrapolation uncertainties for control regions were obatined from the following script.
Make sure the directory paths in the python script is pointing to the right places.

python scripts/extrapolation_uncertainty.py

Statistical interpretation

# In another terminal
source setup.sh
python scripts/write_datacards.py -t WVZ -v v0.1.11 -b baseline_0709_with_systs

# In another new terminal
cd stats/
source setup_higgs_combine.sh
cd ../
sh stats/combine.sh -t WVZ -v v0.1.11 -b baseline_0709_with_systs
sh stats/doSensitivity.sh stats/stat.txt
sh stats/doSensitivity.sh stats/WVZ2016_v0.1.11/y2016_baseline_0709_with_systs/stat.txt
sh stats/doSensitivity.sh stats/WVZ2017_v0.1.11/y2017_baseline_0709_with_systs/stat.txt
sh stats/doSensitivity.sh stats/WVZ2018_v0.1.11/y2018_baseline_0709_with_systs/stat.txt

Fake validations

For fake validations one uses the trilepton filtered baby

sh runall.sh -b baseline_0709            -t Trilep -v v0.1.11

For plotting fake validation stuff

It follows similar structure

sh runall.sh -b baseline_0709            -t Trilep -v v0.1.11 -d fakevr -p DYPlusXFakeMuMR__lepFakeCand2relIso03EA -u

For comparing WZ v. DY or ttbar

To draw the WZ v. DY ttbar comparison plots use the following script.
Make sure the directory pahts in the python script is pointing to the right places.

python scripts/compare_fakes.py

wvzlooper's People

Contributors

sgnoohc avatar zhangzc11 avatar saptaparna avatar guitargeek avatar

Watchers

James Cloos avatar  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.