To skip this step, download setup.sh and run it in the desired directory.
export CMSSW_GIT_REFERENCE=/afs/cern.ch/cms/git-cmssw-mirror/cmssw.git
cmsrel CMSSW_9_4_13
cd CMSSW_9_4_13/src
cmsenv
git cms-init
git cms-addpkg CondFormats/JetMETObjects
git cms-addpkg JetMETCorrections/Modules
git cms-addpkg RecoBTag/Combined
git cms-addpkg JetMETCorrections/Type1MET
git cms-addpkg RecoMET/METFilters
git cms-addpkg RecoEgamma/PostRecoTools
git cms-addpkg RecoEgamma/PhotonIdentification/
git cms-addpkg RecoEgamma/ElectronIdentification/
git cms-addpkg CommonTools/PileupAlgos
scram b -j 8
git cms-merge-topic cms-egamma:EgammaPostRecoTools
scram b -j 8
git cms-merge-topic cms-met:METFixEE2017_949_v2
scram b -j 8
git clone [email protected]:cms-jet/JetToolbox.git JMEAnalysis/JetToolbox -b jetToolbox_94X_v4
scram b -j 8
git clone -b master [email protected]:wadud001/aNTGC_gggNtuplizer.git
mv aNTGC_gggNtuplizer ggAnalysis
scram b -j8
cd $CMSSW_BASE/src/ggAnalysis/ggNtuplizer/test/crab_submit/
Open submit_crab_jobs.sh in text editor
Modify the variables:
- input_datasets - text file listing datasets
- writedir - common directory for temporary crab files
- psetname - python script for cmsRun
- writeSite - site to write crab jobs
- mainOutputDir - path to write crab outputs
Submit ./submit_crab_jobs.sh
A log file named crab_submitted_datasets_[date-time].log will be created in writedir for the submissions.
./resubmit_crab_jobs [log file from previous step]