Skip to content

danielguerrero/bbbbAnalysis

 
 

Repository files navigation

bbbbAnalysis

Install instructions

cmsrel CMSSW_10_2_5
cd CMSSW_10_2_5/src
cmsenv
git cms-addpkg PhysicsTools/KinFitter CommonTools/Utils CondFormats/JetMETObjects CondFormats/Serialization FWCore/MessageLogger FWCore/Utilities JetMETCorrections/Modules
scram b -j 8
git clone https://github.com/UF-HH/bbbbAnalysis

Setup and compile

# from bbbbAnalysis/
cmsenv
source scripts/setup.sh # only needed once for every new shell
make exe -j # compiles and makes everything under test/ executable

Make a skim of NanoAOD

## please, fill me with some examples of usage

Fill histograms from skims

fill_histograms.exe config/<config_name>.cfg

Make plots

Use the plotter/plotter.py script. Styles (line colors, etc.) for the processes are defined in plotter/styles/plotStyles.py Inside the script, the subset of processes to run on is defined through bkgToPlot and sigToPlot. Several cmd line options available to configure the plot, it's practical to make a script that produces all the plots. Example:

source do_all_plots.sh

Running combine

Log on a CentOS 7 machine (lxplus, cmslpc-sl7) and install combine following the instructions here

After compiling CMSSW, do git clone https://github.com/UF-HH/bbbbAnalysis (NB: no need to compile the code with scram and make exe since it will only run combine).

Scripts for running combine are under limits.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 33.9%
  • C 27.8%
  • C++ 23.9%
  • Python 9.9%
  • Shell 4.3%
  • Makefile 0.2%