Skip to content
/ tqHGG Public

Searches for top FCNH with H to diphoton analysis.

Notifications You must be signed in to change notification settings

ywkao/tqHGG

Repository files navigation

tqHGG

Searches for top FCNH with H decays to diphoton analysis. (2017) Analysis code for 2016 is in branch named after "2016".

Although the analysis code is performed under CMSSW_9_4_10, it should be independent of the version of CMSSW because the only used tool is ROOT.

The main computing resouces are the nodes on ntugrid5.

Usage

All the actions are written in execution.sh :

#------------------------- Main Exe Section -------------------------#
#./script/prepareExeForNewMC_npu_float.sh "preselection"
#Preselection
#Intermission

#./script/prepareExeForNewMC_npu_float.sh "selection"
#Selection "hadronic" #selection and make plots for hadronic channel
#AfterSelection "hadronic" 
#Selection "leptonic" #selection and make plots for leptonic channel
#AfterSelection "leptonic" 
#./check_errors.sh

ReRunStackPlotsOnly "hadronic"
#ReRunStackPlotsOnly "leptonic"

One can uncomment the commands and execute it.

$ cmsenv # in order to use ROOT
$ ./execution.sh

Steps

  1. Preselection stage (~ 3 hrs)
    • Purpose: reduce information of the ntuples from the flashgg package
    • Action: uncomment the lines in exection.sh:
./script/prepareExeForNewMC_npu_float.sh "preselection"
Preselection
Intermission
  1. Selection stage (~ 5 mins)
    • Purpose: apply selection condition & top reconstruction & stack plots
    • Action: uncomment the lines in exection.sh:
./script/prepareExeForNewMC_npu_float.sh "selection"
Selection "hadronic" #selection and make plots for hadronic channel
AfterSelection "hadronic" 
Selection "leptonic" #selection and make plots for leptonic channel
AfterSelection "leptonic" 
./check_errors.sh
  1. Re-make the stack plots (~ 2 mins)
    • Purpose: performed only when modifying stack plots ( src/stackHist.C )
    • Action: uncomment the lines in exection.sh:
ReRunStackPlotsOnly "hadronic"
ReRunStackPlotsOnly "leptonic"

Pileup related

The pu reweighting factor can be calculated by a python script.

$ ./makePUweight.py -x 69200 #Produce rootfile of pileup reweighting factor (~ 5 mins)

This step is optional. Need not execute once having its output file, data/MCPileUp.root
Python module: 'mix_2017_25ns_WinterMC_PUScenarioV1_PoissonOOTPU_cfi'
Golden json: 'data/Cert_294927-306462_13TeV_EOY2017ReReco_Collisions17_JSON.txt'
Pileup json: '/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/Collisions17/13TeV/PileUp/pileup_latest.txt'

About

Searches for top FCNH with H to diphoton analysis.

Resources

Stars

Watchers

Forks

Packages

No packages published