Skip to content
sarakm0704 edited this page Oct 22, 2020 · 51 revisions
  • Remark for CC7 users
    • Use singularity from cvmfs (/cvmfs/cms.cern.ch/common/cmssw-slc6), and follow recipe
    • Or, use 'SCRAM_ARCH=slc7_amd64_gcc630' and 'CMSSW_9_4_14_UL' for analysis. (link) But not validated for cattuple production.

V9_X_Bleeding_Edge

export SCRAM_ARCH=slc6_amd64_gcc630
cmsrel CMSSW_9_4_14
cd CMSSW_9_4_14/src
cmsenv
git cms-addpkg PhysicsTools/PatAlgos
git cms-addpkg RecoMET/METFilters
git cms-merge-topic cms-egamma:EgammaPostRecoTools
git cms-addpkg RecoBTag/TensorFlow
git cherry-pick 94ceae257f846998c357fcad408986cc8a039152

git clone git@github.com:vallot/CATTools.git
cd CATTools
git checkout cat90x
git submodule init
git submodule update
cd CommonTools/scripts
git remote add for_cat https://github.com/minerva1993/hep-tools.git
git remote update
git checkout -t for_cat/cat_stable

cd ../../..
scram b -j10
cd CATTools/CatProducer/prod
cmsRun PAT2CAT_cfg.py

## Production only - remove large files because of limitation in crab job file size
rm -f CATTools/CatAnalyzer/data/KinReco_input.root
rm -f CATTools/CatAnalyzer/data/KoreaDesyKinRecoInput.root
rm -f CATTools/CatAnalyzer/data/KoreaKinRecoInput_pseudo.root
rm -f CATTools/CatAnalyzer/data/desyKinRecoInput.root

For production

./submitCrab3.py -n V9_7 -i mcsamples.txt -s
./submitCrab3.py -n V9_7 -i datasamples.txt -s

Features

  • GenTop Modifications
    • Variables for addbjets with selections (addbJets20Had) are added.
    • All additional b jet candidates are saved and you can access them by addbJets().

V9_7

export SCRAM_ARCH=slc6_amd64_gcc630
scram project -n V9_7 CMSSW_9_4_14
cd V9_7/src
cmsenv
git cms-addpkg PhysicsTools/PatAlgos
git cms-addpkg RecoMET/METFilters
git cms-merge-topic cms-egamma:EgammaPostRecoTools
git cms-addpkg RecoBTag/TensorFlow
git cherry-pick 94ceae257f846998c357fcad408986cc8a039152

git clone git@github.com:vallot/CATTools.git
cd CATTools
git checkout -b V9_7 V9_7
git submodule init
git submodule update
cd CommonTools/scripts
git remote add for_cat https://github.com/minerva1993/hep-tools.git
git remote update
git checkout -t for_cat/cat_stable

cd ../../..
scram b -j10
cd CATTools/CatProducer/prod
cmsRun PAT2CAT_cfg.py

## Production only - remove large files because of limitation in crab job file size
rm -f CATTools/CatAnalyzer/data/KinReco_input.root
rm -f CATTools/CatAnalyzer/data/KoreaDesyKinRecoInput.root
rm -f CATTools/CatAnalyzer/data/KoreaKinRecoInput_pseudo.root
rm -f CATTools/CatAnalyzer/data/desyKinRecoInput.root

For production

./submitCrab3.py -n V9_7 -i mcsamples.txt -s
./submitCrab3.py -n V9_7 -i datasamples.txt -s

Features

  • GenTop Modifications
    • Variables for addbjets with selections (addbJets20Had) are added.
    • All additional b jet candidates are saved and you can access them by addbJets().

V9_6

export SCRAM_ARCH=slc6_amd64_gcc630
scram project -n V9_6 CMSSW_9_4_14
cd V9_6/src
cmsenv
git cms-addpkg PhysicsTools/PatAlgos
git cms-addpkg RecoMET/METFilters
git cms-merge-topic cms-egamma:EgammaPostRecoTools
git clone git@github.com:vallot/CATTools.git
cd CATTools
git checkout -b V9_6 V9_6
git submodule init
git submodule update
cd CommonTools/scripts
git remote add for_cat https://github.com/minerva1993/hep-tools.git
git remote update
git checkout -t for_cat/cat_stable

cd ../../..
scram b -j10
cd CATTools/CatProducer/prod
cmsRun PAT2CAT_cfg.py

## Production only - remove large files because of limitation in crab job file size
rm -f CATTools/CatAnalyzer/data/KinReco_input.root
rm -f CATTools/CatAnalyzer/data/KoreaDesyKinRecoInput.root
rm -f CATTools/CatAnalyzer/data/KoreaKinRecoInput_pseudo.root
rm -f CATTools/CatAnalyzer/data/desyKinRecoInput.root

For production

./submitCrab3.py -n V9_6 -i mcsamples.txt -s
./submitCrab3.py -n V9_6 -i datasamples.txt -s

Features

  • New b SF
  • New MET filters
  • Store all gen b jets in gentop
  • Electron scale&smearing as well as uncertainties

V9_5

scram project -n V9_5 CMSSW_9_4_12
cd V9_5/src
cmsenv
git cms-addpkg PhysicsTools/PatAlgos
git cms-merge-topic cms-egamma:EgammaID_949
git cms-merge-topic cms-egamma:EgammaPostRecoTools_940
git clone git@github.com:vallot/CATTools.git
cd CATTools
git checkout -b V9_5 V9_5
git submodule init
git submodule update
cd CommonTools/scripts
git checkout master

cd ../../..
scram b -j10
cd CATTools/CatProducer/prod
cmsRun PAT2CAT_cfg.py

## Production only - remove large files because of limitation in crab job file size
rm -f CATTools/CatAnalyzer/data/KinReco_input.root
rm -f CATTools/CatAnalyzer/data/KoreaDesyKinRecoInput.root
rm -f CATTools/CatAnalyzer/data/KoreaKinRecoInput_pseudo.root
rm -f CATTools/CatAnalyzer/data/desyKinRecoInput.root

For production

./submitCrab3.py -n V9_5 -i mcsamples.txt -s
./submitCrab3.py -n V9_5 -i datasamples.txt -s

Features

  • New GT
  • Include cut based electron ID and update effective area

V9_4

cmsrel CMSSW_9_4_12
cd CMSSW_9_4_12/src
cmsenv
git cms-addpkg PhysicsTools/PatAlgos
git cms-merge-topic guitargeek:EgammaID_9_4_X
git clone git@github.com:vallot/CATTools.git
cd CATTools
git checkout -b V9_4 V9_4
git submodule init
git submodule update
cd CommonTools/scripts
git checkout master

cd ../../..
scram b -j10
cd CATTools/CatProducer/prod
cmsRun PAT2CAT_cfg.py

## Production only - remove large files because of limitation in crab job file size
rm -f CATTools/CatAnalyzer/data/KinReco_input.root
rm -f CATTools/CatAnalyzer/data/KoreaDesyKinRecoInput.root
rm -f CATTools/CatAnalyzer/data/KoreaKinRecoInput_pseudo.root
rm -f CATTools/CatAnalyzer/data/desyKinRecoInput.root

For production

./submitCrab3.py -n V9_4 -i mcsamples.txt -s
./submitCrab3.py -n V9_4 -i datasamples.txt -s

Features

  • New JEC/JER
  • Egamma VID v2 (for electron)
  • Muon selector
  • new_pmx samples with corrected PU shape

You need to put all your dataset names in mcsamples.txt and datasamples.txt.

V9_3

cmsrel CMSSW_9_4_9_cand2
cd CMSSW_9_4_9_cand2/src
cmsenv
git cms-addpkg PhysicsTools/PatAlgos
git cms-merge-topic cms-met:METFixEE2017_949_v2
git clone git@github.com:vallot/CATTools.git
cd CATTools
git checkout -b V9_3 V9_3
git submodule init
git submodule update

## Production only - remove large files because of limitation in crab job file size
rm -f CATTools/CatAnalyzer/data/KinReco_input.root
rm -f CATTools/CatAnalyzer/data/KoreaDesyKinRecoInput.root
rm -f CATTools/CatAnalyzer/data/KoreaKinRecoInput_pseudo.root
rm -f CATTools/CatAnalyzer/data/desyKinRecoInput.root

cd ..
scram b -j10
cd CATTools/CatProducer/prod
cmsRun PAT2CAT_cfg.py

For production

./submitCrab3.py -n V9_3 -i mcsamples.txt -s
./submitCrab3.py -n V9_3 -i datasamples.txt -s

You need to put all your dataset names in mcsamples.txt and datasamples.txt.

Features

  • MET recipe
  • lepton SF updated (both muon and electron)

V9_2

cmsrel CMSSW_9_4_6_patch1
cd CMSSW_9_4_6_patch1/src
cmsenv
git cms-addpkg PhysicsTools/PatAlgos
git clone https://github.com/vallot/CATTools 
cd CATTools
git submodule init
git submodule update

git checkout -b V9_2 V9_2
scram b -j10
cd CatProducer/prod
cmsRun PAT2CAT_cfg.py

For production

./submitCrab3.py -n V9_2 -i mcsamples.txt -s
./submitCrab3.py -n V9_2 -i datasamples.txt -s

You need to put all your dataset names in mcsamples.txt and datasamples.txt.

Features

  • DeepCSV available
  • Lepton SFs updated
  • Mar2018 ReReco and April2018 MC MinoAODv2
  • B tag SF updated

V9_1

cmsrel CMSSW_9_4_5_cand1
cd CMSSW_9_4_5_cand1/src
cmsenv
git cms-addpkg PhysicsTools/PatAlgos
git clone https://github.com/vallot/CATTools 
cd CATTools
git checkout -b V9_1 V9_1
scram b -j 8
cd CATTools/CatProducer/prod
cmsRun PAT2CAT_cfg.py

For production

./submitCrab3.py -n V9_1 -i mcsamples.txt -s
./submitCrab3.py -n V9_1 -i datasamples.txt -s

You need to put all your dataset names in mcsamples.txt and datasamples.txt.

Features

  • add mva electron ID for 2017
  • add pileup reweight
  • turned on deep flavor
  • apply 2017 golden JSON for data
Clone this wiki locally