Skip to content

Making CMS3 ntuples from miniAOD in CMSSW_7_0_6

gzevi edited this page Jul 4, 2014 · 5 revisions

The miniAOD_706 branch should be used for general development and the HEAD should always run. See the instructions below.

##How to get started On SLC6 (uaf-4): export SCRAM_ARCH=slc6_amd64_gcc481
cmsrel CMSSW_7_0_6_patch1
cd CMSSW_7_0_6_patch1/src
cmsenv
git clone [email protected]:cmstas/NtupleMaker.git CMS2/NtupleMaker
cd CMS2/NtupleMaker
git checkout miniAOD_706
source setup/patchesToSource.sh
cd $CMSSW_BASE/src
scram b -j20

This will build the latest version of the NtupleMaker development branch.

##Running

To make a miniAOD:
cd PhysicsTools/PatAlgos/test/miniAOD
cmsRun patTuple_mini.py

To run on a test sample do:
cd CMS2/NtupleMaker
cmsRun test/Slim_MCProduction2012_NoFilter_cfg.py

If you get "cmsRun: command not found" you need to "cmsenv" inside the release area and try again.

##Pushing changes

git add filename
git commit -m "your commit message"
git push origin miniAOD_706