Skip to content

cwelke/analysis2015

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is used to produce babies, and analyze babies for the Z+MET analysis. Follow these steps to check out and compile the baby maker:

source /code/osgcode/cmssoft/cmsset_default.sh > /dev/null 2>&1
export SCRAM_ARCH=slc6_amd64_gcc493
cmsrel CMSSW_7_6_3
cd CMSSW_7_6_3
cmsenv
git clone git@github.com:cwelke/analysis2015.git V07-06-00
cd V07-06-00
git checkout V07-06-00
git clone git@github.com:cmstas/Software.git
cd Software/
git checkout root6
cd ../
git clone git@github.com:cmstas/CORE.git
cd dilepbabymaker
make -j5

Once this is done, run the test command
./dotest.sh

This should make a baby ntuple in your home directory.

Useful commands:

Tagging your code

git tag -a -m 'add a message'

git push --tags

When you checkout the repository, you need to make sure the CMS2 header files in CORE are up to date with the version of CMS3 ntuples you are running over. I included a version of the header files in the folder CMS2Headers which correspond to branch CMS3_V07-02-04. These will be updated as CMS3 evolves. When using this baby maker, make sure to copy the header files from this directory to the CORE directory before compiling.

Repo Usage:

git clone git@github.com:cwelke/analysis2015.git

cd analysis2015

git clone git@github.com:cmstas/Software.git
cd Software/
git checkout root6
cd ../
git clone git@github.com:cmstas/CORE.git
cd CORE/
git checkout cmssw74x
cd ../
cd dilepbabymaker

make -j25