This repository contains the CMSSW and CRAB config files used to generate SMS LLP (long-lived particle) MC.
Source the relevant CMS environment, crab environment and setup your grid proxy:
source /cvmfs/cms.cern.ch/cmsset_default.sh
source /cvmfs/cms.cern.ch/crab3/crab.sh
voms-proxy-init --voms cms --valid 168:00
Create a directory to keep all your LLP files and directories and move into it. Checkout the master branch of this repository:
git clone [email protected]:benkrikler/LLP_generation.git
cd LLP_generation
The cmsDriver.py
commands used to produce the CMSSW config files can be found
in the READMEs of the respective subdirectories of this repository.
To submit locally, just run pass the CMSSW config file to cmsRun:
cmsRun ${CMSSW_CFG}
To submit to the grid using CRAB, pass the CRAB config file to the relevant crab commands:
crab submit -c ${CRAB_CFG}
To monitor your grid job:
crab status -d ${CRAB_DIR}
There are many other fun CRAB commands that I will let you discover yourself.