-
Notifications
You must be signed in to change notification settings - Fork 18
Skimming
pistone87 edited this page Jun 1, 2016
·
38 revisions
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
chmod u+x checkoutCmssw76xPackagesForSkimming.py
./checkoutCmssw76xPackagesForSkimming.py
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.