Skip to content

Development for miniAOD (CMS3) in CMSSW_7_0_6

gzevi edited this page Oct 23, 2014 · 1 revision

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

##How to get started On SLC5: export SCRAM_ARCH=slc5_amd64_gcc481
On SLC6 (uaf-4): export SCRAM_ARCH=slc6_amd64_gcc481
cmsrel CMSSW_7_0_6
cd CMSSW_7_0_6/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