First, set up CMSSW:
cmsrel CMSSW_8_0_24_patch1
cd CMSSW_8_0_24_patch1/src
cmsenv
git cms-initThen, we check out all necessary packages:
git clone https://github.com/PandaPhysics/PandaUtilities
git clone https://github.com/PandaPhysics/PandaProd
sh PandaProd/setuprel.sh # checks out some CMSSW packages based on POG recommendationsFinally, compile:
scram b -j$(nproc)The cmsRun executables are in PandaProd/Ntupler/test.
You can use testNtupler.py to run a few events locally.
To run on the grid, runNtupler.py is the configuration, and submitCrab.py is used to submit the jobs.