GithubHelp home page GithubHelp logo

orsobruno96 / analysis-tools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from desy-cms/analysis-tools

0.0 0.0 0.0 784 KB

Former analysis-core

C++ 73.18% Python 23.88% Shell 1.65% Makefile 0.15% C 1.14%

analysis-tools's Introduction

analysis-tools

Core codes for the analysis framework

Compile

Works with CMSSW_9_4_9.

export SCRAM_ARCH=slc6_amd64_gcc630
cmsrel CMSSW_9_4_9
cd CMSSW_9_4_9/src
git clone https://github.com/OrsoBruno96/analysis-tools.git Analysis/Tools
cd Analysis/Tools/bin
make all
cd ..
scram b -k -j4

Workflow

All my analysis is done with the template file AnalysisJetsSmrBTagRegFSRMatch.j2. With the commands in the Makefile you can produce all the binaries for running the analysis on both MC, signal and background.

To fit everything now the useful file is bin/script/fit_script.py, all the others are deprecated. This will produce some bash scripts that call the program FitBackground. Actually, the name is misleading, it will fit everything. The program FitBackgroundRoofit is deprecated.

To produce files for the CombineTool you can run the script bin/script/merge_files_for_combine.py.

The programs AddNormalizationToFile, MoveRoohisto, PlotStackStyle, PlotWithStyle, RatioPlot, SplitTree are utils file written by me. The names should suggest their use.

Please set the variable base_dir in the file bin/script/settings_parallelization.py before running stuff. It's the only absolute path that really needs to be set manually.

analysis-tools's People

Contributors

orsobruno96 avatar robervalwalsh avatar shevchenkorostyslav 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.