Skip to content

Conversation

@jmduarte
Copy link
Member

@jmduarte jmduarte commented May 29, 2018

Check out this branch of the code and compile custom branch of combine

cmsrel CMSSW_7_4_14
cd CMSSW_7_4_14/src
cmsenv
git clone -b trijet2016 https://github.com/CMSDIJET/DijetRootTreeAnalyzer CMSDIJET/DijetRootTreeAnalyzer 
git clone -b dijetpdf_74X https://github.com/RazorCMS/HiggsAnalysis-CombinedLimit HiggsAnalysis/CombinedLimit
cd HiggsAnalysis/CombinedLimit
scram b -j 4
cd $CMSSW_BASE/CMSDIJET/DijetRootTreeAnalyzer

Put full.root in inputs/ directory.

Run standalone fit and check GOF:

mkdir fits_2018_05_29
python python/BinnedFit.py -c config/dijet.config -l 35900  -b CaloTrijet2016 -d fits_2018_05_29 --fit-spectrum inputs/full.root

Grab signal shapes (from standard analysis... just a check):

wget https://github.com/CMSDIJET/DijetShapeInterpolator/raw/master/ResonanceShapes_qq_13TeV_CaloScouting_Spring16.root -P inputs/
wget https://github.com/CMSDIJET/DijetShapeInterpolator/raw/master/ResonanceShapes_qq_13TeV_CaloScouting_Spring16_JERUP.root -P inputs/
wget https://github.com/CMSDIJET/DijetShapeInterpolator/raw/master/ResonanceShapes_qq_13TeV_CaloScouting_Spring16_JERDOWN.root -P inputs/
wget https://github.com/CMSDIJET/DijetShapeInterpolator/raw/master/ResonanceShapes_qq_13TeV_CaloScouting_Spring16_JESUP.root -P inputs/
wget https://github.com/CMSDIJET/DijetShapeInterpolator/raw/master/ResonanceShapes_qq_13TeV_CaloScouting_Spring16_JESDOWN.root -P inputs/

Make (fake) datacards:

mkdir cards_qq_trijet
python python/WriteDataCard.py -m qq --mass 500 -i fits_2018_05_29/DijetFitResults_CaloTrijet2016.root -l 35900 -c config/dijet.config -b CaloTrijet2016 -d cards_qq_trijet/ inputs/ResonanceShapes_qq_13TeV_CaloScouting_Spring16.root inputs/full.root  --jesUp inputs/ResonanceShapes_qq_13TeV_CaloScouting_Spring16_JESUP.root --jesDown inputs/ResonanceShapes_qq_13TeV_CaloScouting_Spring16_JESDOWN.root --jerUp inputs/ResonanceShapes_qq_13TeV_CaloScouting_Spring16_JERUP.root --jerDown inputs/ResonanceShapes_qq_13TeV_CaloScouting_Spring16_JERDOWN.root --xsec 10

Run (fake) limits:

combine -M Asymptotic cards_qq_trijet/dijet_combine_qq_500_lumi-35.900_CaloTrijet2016.txt 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants