Use this link to get Expected Limits package: https://github.com/ivovtin/bbggLimits2018/tree/run2_analysis
Clone it locally:
git clone https://github.com/[YOURNAME]/Envelop
CMSSW_8_1_0 release
For FTest use this code: https://github.com/cms-analysis/flashggFinalFit/tree/topic-migrate-to-cmssw_747
In this directory replace the file fTest.cpp from the directory: flashggFinalFit/Background/test/ to the the same file from: https://github.com/ivovtin/Envelop/blob/master/FTest/fTest.cpp
To compil the project go to flashggFinalFit/Background
and type
make
- To run FTest for ggHH analysis use (12 categories):
./runFTest.sh
To run FTest for VBFHH analysis use (14 categories):
./VBFHHcat_runFTest.sh
- Check fit plots from FTest. Results of the FTest will be stored at fTestRes_${ext}.dat file.
- While using bbggLimits2018 create a new workspace with orders received from the FTest.
CMSSW_10_2_13 release
Use this branch: https://github.com/ivovtin/HiggsAnalysis-CombinedLimit/tree/nckw_option_to_remove_const_offset from CombinedLimit
- Type:
./Indexes.sh ws_2016-17-18_ttHon0.26_2D_31012020
Then find a combination of functions that gives a minimum of NLL, array of maximum index values, and the array of indices with a combination of functions for Asimov, etc.
2) Then rewrite all the results to submitSCAN.py and ScanStudy.C
3) Run scanning:
./runScan.sh
- Then run ScanStudy.C to do for minimization
root -l -b -q 'ScanStudy.C+("ws_2016-17-18_ttHon0.26_2D_31012020")'
- Check the output of the program by using
./job.sh
6)Put obtained functions to Envelopejson