# MET recommended tag
#git cms-merge-topic -u cms-met:METCorUnc74X  #DOES NOT WORK ANYMORE

#for Electron/Photon energy scale correction  from https://twiki.cern.ch/twiki/bin/viewauth/CMS/EGMSmearer
#76X version
git cms-merge-topic -u matteosan1:smearer_76X

#higgs combined tool for 742 is required to performed limit computation or cut optimization
git clone https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit.git HiggsAnalysis/CombinedLimit
cd HiggsAnalysis/CombinedLimit
git checkout remotes/origin/74x-root6
cd ../..

#SVFit package  (optional --> needed only if you plan to use SVfit tau mass reconstruction
git clone -b svFit_2015Apr03 git@github.com:veelken/SVfit_standalone TauAnalysis/SVfitStandalone

#our framework
git clone git@github.com:cms2l2v/2l2v_fwk.git UserCode/llvv_fwk
cd UserCode/llvv_fwk
git checkout -b modified #copy the branch to a new one to host future modifications (ease pullrequest and code merging)
cd ../..

#compiling all the downloaded things
scramv1 b -j 16