Forked from charis's original repo@GitLab
checkout triggerEfficDev
branch for updatd codes and docs
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
scram b -j 4
${CMSSW_BASE}/src/EGTagAndProbe/EGTagAndProbe
cd test
cmsRun test.py
Follow the instructions from the following twiki to set-up the L1 Emulator:
Compile and cd to relevant directory:
cd CMSSW_X_Y_Z/src
scram b -j4
${CMSSW_BASE}/src/EGTagAndProbe/EGTagAndProbe
Set flag isMC and isMINIAOD according to sample in test/reEmulL1.py
HLT path used specified in python/MCAnalysis_cff.py (MC) or python/tagAndProbe_cff.py (data)
Launch test/reEmulL1.py
cd test
cmsRun reEmulL1.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