Skip to content
giacomoortona edited this page Oct 21, 2015 · 6 revisions

Instructions to run the statistical analysis:

General

If you don't want to use the default config/analysis_<channel>.cfg config file, set the config file to read at the bottom of cardMaker.py

Simple instructions

Simply run:

./makeEverything.sh

root -l plotAsymptotic.C

Inside makeEverything.sh you can set the following options:

  • OUTSTRING = output folder
  • BASEMUTAU = selection for mutau final state
  • BASETAUTAU = selection for tautau final state
  • VARTAUTAU = discriminating variable for tautau final state
  • VARMUTAU = discriminating variable for tautau final state
  • ALLVARS = variables for the cut table, set to "$VARMUTAU $VARTAUTAU" if you only want the limit
  • ALLSELS = selections for the cut table, set to "$BASEMUTAU $BASETAUTAU" if you only want the limit
  • LAMBDAS = lambda values

Step-by-step instructions

These instructions are overridden by the simple instructions above Set the final states and values of lambda, selections and discriminating variables at the beginning of makeWS.sh

python cardMaker.py -f <plotterOut> -l <Lambda> -d <nDim=1> -o <selection> -v <variable>

If the -o and -v options are not called, variable and selection used in the cardMaker are the ones specified in the analysis config file. The default number of dimensions is 1.

./makeWS.sh
./combineResults.sh

Plotting macro

To plot the limit as a function of lambda, set the values of lambdas, selection and discriminating variable at the beginning of plotAsymptotic.C and

root -l plotAsymptotic.C

If you want to plot the table of limit vs selections and variables, do the same with

root -l plotCutTable.C