Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 1.2 KB

README.md

File metadata and controls

44 lines (36 loc) · 1.2 KB

SMS Long-lived particle MC production

This repository contains the CMSSW and CRAB config files used to generate SMS LLP (long-lived particle) MC.

Setup the environment

Everytime you login

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

Only once

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

Commands to produce the CMSSW config files

The cmsDriver.py commands used to produce the CMSSW config files can be found in the READMEs of the respective subdirectories of this repository.

How to submit

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.