CMS-PD / ALPHA

A Light Post Heppy Analyzer
0 stars 10 forks source link

ALPHA

A Light Post-Heppy Analyzer

Git instructions

Prerequisites

git account git environment set

Git instructions

In your working area, first set up the CMSSW release:

cmsrel CMSSW_8_0_25
cd CMSSW_8_0_25/src/
cmsenv
git cms-init

Packages needed by ALPHA: Merge the most recent MET filters and EGM smearing, scale, and IDs

git cms-merge-topic -u cms-met:fromCMSSW_8_0_20_postICHEPfilter
git cms-merge-topic -u cms-met:METRecipe_8020 #New! needed to re-compute MET corrections and uncertainties

git cms-merge-topic -u rafaellopesdesa:Regression80XEgammaAnalysis_v2 ### NEW!!!

git cms-merge-topic -u shervin86:Moriond2017_JEC_energyScales
cd EgammaAnalysis/ElectronTools/data
# download the txt files with the corrections
git clone git@github.com:ECALELFS/ScalesSmearings.git
### EgammaID
cd $CMSSW_BASE/src
git cms-merge-topic -u ikrav:egm_id_80X_v2
### Egamma HEEP
git cms-merge-topic -u Sam-Harper:HEEPV70VID_8010_ReducedCheckout # HEEPV70VID_8010_ReducedCheckout
git cms-merge-topic -u ikrav:egm_id_80X_v3
git cms-merge-topic -u Sam-Harper:PackedCandNoPuppi
mkdir -p ../external/slc6_amd64_gcc530/data/RecoEgamma/ElectronIdentification/ #we need this for the mva weights which runs in VID regardless if you need it or not
git clone git@github.com:cms-data/RecoEgamma-ElectronIdentification ../external/slc6_amd64_gcc530/data/RecoEgamma/ElectronIdentification/data #we need this for the mva weights which runs in VID regardless if you need it or not
### PhotonID
cd $CMSSW_BASE/src
git cms-merge-topic -u ikrav:egm_id_80X_v3_photons

cd $CMSSW_BASE/src
mkdir Analysis
cd Analysis

then, clone the ALPHA git repository:

git clone https://github.com/CMS-PD/ALPHA

and setup the code for KinFitter:

cd $CMSSW_BASE/src/Analysis/ALPHA
sh setup.sh

Run instructions

Compile the code:

scram b -j 8

and run it:

cmsRun python/Diboson.py