install:
source /cvmfs/cms.cern.ch/cmsset_default.csh
#from SLC7 (recommended)
setenv SCRAM_ARCH slc7_amd64_gcc700
cmsrel CMSSW_10_2_16_UL
cd CMSSW_10_2_16_UL/src/
#from SLC6
setenv SCRAM_ARCH slc6_amd64_gcc700
cmsrel CMSSW_10_2_16
cd CMSSW_10_2_16/src/
cmsenv
## Modified MET
git cms-merge-topic cms-met:METFixEE2017_949_v2_backport_to_102X
## Redo MET filter
git cms-addpkg RecoMET/METFilters
## HOT tagger part1
git cms-merge-topic -u pastika:AddAxis1_1026
git clone git@github.com:susy2015/TopTagger
## EGamma post-reco for MVA values (NOTE: won't work in 10_2_9)
git cms-merge-topic cms-egamma:EgammaPostRecoTools
### BestCalc: copy lwtnn so that BestCalc.cc will compile.
### This is not ideal, should always try to get official CMSSW / GitHub recipes whenever possible.
### JH May 11: likely json needs to get remade by BEST team to use "lwtnn"-owned github.
### Dan Marley's lwtnn github linked below never tested...
cp -r ~jmanagan/nobackup/CMSSW_9_4_12/src/lwtnn . ## use scp after a Fermilab kinit to copy onto non-LPC clusters
## Check out FWLJMET
git clone -b 10_2_X_fullRun2data git@github.com:cms-ljmet/FWLJMET.git
cd FWLJMET
git checkout -b v4.2 v4.2
## JetSubCalc currently uses uses PUPPI mass corrections:
cd ${CMSSW_BASE}/src/FWLJMET/LJMet/data/
git clone https://github.com/thaarres/PuppiSoftdropMassCorr
cd -
scram b
## HOT tagger part2
cd ${CMSSW_BASE}/src
cmsenv
mkdir -p ${CMSSW_BASE}/src/TopTagger/TopTagger/data
getTaggerCfg.sh -o -n -t DeepResolved_DeepCSV_GR_noDisc_Release_v1.0.0 -d $CMSSW_BASE/src/TopTagger/TopTagger/data
## Tprime/Bprime signal pdf change environment variable -- choose bash or csh version
setenv LHAPDF_DATA_PATH "/cvmfs/cms.cern.ch/lhapdf/pdfsets/current/":${LHAPDF_DATA_PATH} ## csh
export LHAPDF_DATA_PATH="/cvmfs/cms.cern.ch/lhapdf/pdfsets/current/":${LHAPDF_DATA_PATH} ## bash
Some info:
- LJMet/plugins/LJMet.cc : the EDAnalyzer that wraps LJMet classes
- Modified MET: https://twiki.cern.ch/twiki/bin/viewauth/CMS/MissingETUncertaintyPrescription#Instructions_for_9_4_X_X_9_or_10
- Redo MET filter : https://twiki.cern.ch/twiki/bin/viewauth/CMS/MissingETOptionalFiltersRun2#How_to_run_ecal_BadCalibReducedM
- el ID V2 : https://twiki.cern.ch/twiki/bin/view/CMS/EgammaMiniAODV2
- HOT tagger : https://github.com/susy2015/TopTagger/tree/master/TopTagger#instructions-for-saving-tagger-results-to-nanoaod-with-cmssw_9_4_11 (needs updating !)
- BoostedEventShapeTagger(BEST) :
run LJMet tester file:
cmsRun LJMet/tester2017.py (or tester2016.py, or tester2018.py)