Skip to content

huiling110/BSMFramework

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

This code is based on a preliminary version of the BSM3G code initiated by: Andres Florez (Los Andes), Alfredo Gurrola (Vanderbilt) and Amandeep Kalsi (Panjab) (See https://github.com/florez/NtupleMaker_740)

It has been extended and further developed by Francesco Romeo (IHEP) and Aniello Spiezia (IHEP). It has been modified for RunII analysis by Binghuan Li (IHEP) and further modified by Huiling Hua(IHEP) This version of code is used for 2016 miniAOD v3 && 2017 miniAOD v2 and v1 & 2018 miniAOD Ntuple production:

Instruction

step1

  • export SCRAM_ARCH=slc7_amd64_gcc700
  • cmsrel CMSSW_10_2_20_UL
  • cd CMSSW_10_2_20_UL/src
  • cmsenv
  • git cms-init
  • git config merge.renameLimit 999999

step2

step 3

  • implement SUSY HOT toptagger https://twiki.cern.ch/twiki/bin/viewauth/CMS/SUSYHOTGroup
    • git cms-merge-topic -u pastika:AddAxis1_1026
    • git clone [email protected]:huiling110/TopTagger.git
    • scram b -j4
    • mkdir -p ${CMSSW_BASE}/src/TopTagger/TopTagger/data
    • source TopTagger/TopTagger/test/taggerSetup.sh
    • getTaggerCfg.sh -o -n -t DeepResolved_DeepCSV_GR_noDisc_Release_v1.0.0 -d $CMSSW_BASE/src/TopTagger/TopTagger/data

step 4

step 5

  • To Run

    • cd BSMFramework/BSM3G_TNT_Maker/python/
    • cmsRun miniAOD_MC2016_Study.py
  • crab

    • voms-proxy-init --voms cms
    • source /cvmfs/cms.cern.ch/crab3/crab.sh
    • source /cvmfs/cms.cern.ch/common/crab-setup.sh
    • cd BSMFramework/BSM3G_TNT_Maker/crab/
    • python TauofTTTT_MC2016_multicrab.py
  • Job Recover

    • <crab kill -d> to kill the job and make sure the jobs are in killed status before you move to next step
    • <crab report -d> to create the notFinishedLumis.json
    • Feed this json file to multicrab_MC(DATA).py :
      • set config.Data.lumiMask to this json file
      • see multicrab_DATA2018.py for example.
      • For convenience, I create a directory crab_dataInfo and move my crab task directory into it.

Notice

  • Use < crab status -d > instead of TaskMonitors to check job information < crab status -d > may show information contradicting TaskMonitors This is due to automatic splitting: https://twiki.cern.ch/twiki/bin/view/CMSPublic/CRAB3FAQ#What_is_the_Automatic_splitting

  • Please change the absolute path of baseDir in multicrab_MC(DATA)2016(2017)(2018).py

  • Please set outLFNDirBase to your DIR path at IHEP Tier 2 farm Highly suggest to create an empty DIR as output for the IHEP Tier 2 to Tier 3 Ntuple Handlings

  • Always check HLT, make sure HLT you want is contained in TriggerSelector ifevtriggers in miniADO_RD(MC).py is set to true (false)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 66.6%
  • Python 32.0%
  • Shell 1.4%