Skip to content

Skimming

Raphael Friese edited this page Oct 13, 2016 · 38 revisions

Checkout Recipe

CMSSW_7_6_3

Checkout the recommended version of CMSSW and all packages that are needed for compiling and executing the skim.

It is recommended to first create a suitable directory and change to this directory before you checkout CMSSW in this directory. This should be a place where you can collect more versions for furture skims.

export SCRAM_ARCH=slc6_amd64_gcc493
export VO_CMS_SW_DIR=/cvmfs/cms.cern.ch
source $VO_CMS_SW_DIR/cmsset_default.sh

scramv1 project CMSSW CMSSW_7_6_3
cd CMSSW_7_6_3/src
eval `scramv1 runtime -sh`

cd ../../
wget https://raw.githubusercontent.com/KappaAnalysis/Kappa/master/Skimming/scripts/checkoutCmssw76xPackagesForSkimming.py
python checkoutCmssw76xPackagesForSkimming.py

cd CMSSW_7_6_3/src
scram b [-j 8]

In some cases the script ./checkoutCmssw76xPackagesForSkimming.py fails, when it is called for the first time. Then just call it once again. Choose the defauls provided when you are asked for input.

CMSSW_8_0_20

export SCRAM_ARCH=slc6_amd64_gcc530
export VO_CMS_SW_DIR=/cvmfs/cms.cern.ch
source $VO_CMS_SW_DIR/cmsset_default.sh

scramv1 project CMSSW CMSSW_8_0_20
cd CMSSW_8_0_20/src
eval `scramv1 runtime -sh`

cd ../../
wget https://raw.githubusercontent.com/KappaAnalysis/Kappa/master/Skimming/scripts/checkoutCmssw80xPackagesForSkimming.py
python checkoutCmssw80xPackagesForSkimming.py

scram b [-j 8]
Clone this wiki locally