Using Treelizer
running locally:
in test directory, example:
cmsRun runDiMuDiTau_cfg.py isMC=1 tauCluster=8 inputFiles=file:/eos/uscms/store/user/zfwd666/SUSYGluGluToHToAA_AToMuMu_AToTauTau_M-125_M-20_TuneCUETP8M1_13TeV_madgraph_pythia8/MiniAOD_H125AA20_DiMuDiTau_Fall17DRPremix_v4/200407_141558/0000/mumutautau_MultipleID_numEvent500_1.root
modify config file to change output root file name
running on condor:
set up environment, cmsenv
cd /uscms/home/ghaza/nobackup/TreelizerDeepDiTau/TreelizerDeepDiTau/CMSSW_10_6_10/src/MuMuTauTauTreeMaker/MuTauTreelizer/test
list.txt has relevant .sh files listed
currently 09 Sept 2020:
am10
am12
am15hm750
am20
am20hm1000
am50hm1000
am5hm500
am7
am5
^ these are the names of the subfolders you must create for the output. You also can check in dispatcher files the names of the folders
modify prepareDispatcher.py -> output directory AND 2017 vs 2018 (4 places, lines 11,17,39,45)
the output directory must be already created (for each mass point/label) in /eos/uscms/store/user/ghaza/DeepDiTauTreelization
bash prepareDispatcher.py
cd
rm /eos/uscms/store/user/ghaza/MuMuTauTau2018Analysis.tgz
tar -zvcf MuMuTauTau2018Analysis.tgz nobackup/TreelizerDeepDiTau/TreelizerDeepDiTau --exclude="*.root" --exclude="*.log" --exclude="*.err" --exclude="*.out" --exclude-caches-all --exclude-vcs --exclude=tmp --exclude="crab_projects" --exclude="*.pyc" --exclude="*.so" --exclude="__init__.py" -C nobackup/TreelizerDeepDiTau/TreelizerDeepDiTau/CMSSW_10_6_10
xrdcp MuMuTauTau2018Analysis.tgz root://cmseos.fnal.gov//store/user/ghaza/
cd nobackup/TreelizerDeepDiTau/TreelizerDeepDiTau/CMSSW_10_6_10/src/MuMuTauTauTreeMaker/MuTauTreelizer/test
make sure config file has right file name at line 226
bash prepareSubmitter.py
rm * .err files of mass points that you are about to run over if they exist already
voms-proxy-init -voms cms
ls submit*.jdl > joblist.txt
while read f; do condor_submit $f; done < joblist.txt
condor stuff:
check progress
condor_q
old
cd /uscms/home/ghaza/TreelizerDeepDiTau/CMSSW_10_6_10/src/MuMuTauTauTreeMaker/MuTauTreelizer/test
dasgoclient -query="file dataset=//TTJets_TuneCP5_13TeV-madgraphMLM-pythia8/RunIIAutumn18MiniAOD-102X_upgrade2018_realistic_v15-v1/MINIAODSIM" > list.txt
prepare .sh files (big pain, theoretically prepareSegment.sh should fix this)
(some already made in /previousjobs)
make list.txt the prefix of .sh files
modify prepareDispatcher.py -> output directory AND 2017 vs 2018 (4 places, lines 11,17,39,45)
make the output directories in
/eos/uscms/store/user/ghaza/DeepDiTau2020june/signal
bash prepareDispatcher.py
cd
rm /eos/uscms/store/user/ghaza/MuMuTauTau2018Analysis.tgz
tar -zvcf MuMuTauTau2018Analysis.tgz TreelizerDeepDiTau --exclude="*.root" --exclude="*.log" --exclude="*.err" --exclude="*.out" --exclude-caches-all --exclude-vcs --exclude=tmp --exclude="crab_projects" --exclude="*.pyc" --exclude="*.so" --exclude="__init__.py" -C TreelizerDeepDiTau/CMSSW_10_6_10
xrdcp MuMuTauTau2018Analysis.tgz root://cmseos.fnal.gov//store/user/ghaza/
back into submission directory
copy prepareSubmitter.py
bash prepareSubmitter.py
voms
ls submit*.jdl > joblist.txt
while read f; do condor_submit $f; done < joblist.txt
--
GraceMarieHaza - 2020-09-09