Forked from charis's original repo@GitLab
Set of tools to evaluate L1EG trigger performance on T&P
Based on TauTagAndProbe package developed by L. Cadamuro & O. Davignon
cmsrel CMSSW_X_Y_Z
cd CMSSW_X_Y_Z/src
cmsenv
git clone git@github.com:ats2008/EGTagAndProbe.git
cd EGTagAndProbe
git checkout raw_reco_TandP # to use developements targeting the RAW-RECO dataset
scram b -j 4
- Compile and cd to relevant directory:
cd CMSSW_X_Y_Z/src
scram b -j4
${CMSSW_BASE}/src/EGTagAndProbe/EGTagAndProbe/test
- Set flag isMC and isMINIAOD according to sample in
TandPRobeNtuplizerWithReEmulation_data.py
cmsRun TandPRobeNtuplizerWithReEmulation_data.py
Modify crab3_config.py: change requestName, inputDataSet, outLFNDirBase, outputDatasetTag, storageSite
cd ${CMSSW_BASE}/src/EGTagAndProbe/EGTagAndProbe/test
source /cvmfs/cms.cern.ch/crab3/crab.sh
voms-proxy-init -voms cms
crab submit -c crab3_config.py
cd EGTagAndProbe/test/fitter/
Use the readme EGTagAndProbe/test/fitter/Readme.md
This workflow is depricated in this baranch , the re-emulated ntuples also has branches for the unpacked studies.
cd to relevant directory
${CMSSW_BASE}/src/EGTagAndProbe/EGTagAndProbe
- Set flag isMC and isMINIAOD according to sample in test/test.py
- HLT path used specified in python/MCAnalysis_cff.py (MC) or python/tagAndProbe_cff.py (data)
- Launch test/test.py
cd test
cmsRun test.py