Skip to content

lbenato/LLPonAOD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLPonAOD

Git instructions

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

### CMSSW_8_0_29 is the release needed for 2016 data analyses
cmsrel CMSSW_8_0_29
cd CMSSW_8_0_29/src
cmsenv
git cms-init

Packages needed:

### MET + FILTERS
# https://twiki.cern.ch/twiki/bin/view/CMSPublic/ReMiniAOD03Feb2017Notes?rev=19#MET_Recipes
git cms-merge-topic cms-met:METRecipe_8020 -u
git cms-merge-topic cms-met:METRecipe_80X_part2 -u

### ELECTRON REGRESSION + SMEARER
# https://twiki.cern.ch/twiki/bin/view/CMS/EGMRegression?rev=24#Consistent_EGMSmearer
git cms-merge-topic cms-egamma:EGM_gain_v1
cd EgammaAnalysis/ElectronTools/data
git clone https://github.com/ECALELFS/ScalesSmearings.git#we need the master branch!
cd $CMSSW_BASE/src
# https://twiki.cern.ch/twiki/bin/view/CMS/EGMRegression?rev=24#Application_of_regression_outsid
git cms-merge-topic rafaellopesdesa:RegressionCheckNegEnergy

### ELECTRON ID (CUT-BASED AND MVA)
# https://twiki.cern.ch/twiki/bin/view/CMS/CutBasedElectronIdentificationRun2?rev=41#Recipe_for_regular_users_for_8_0
git cms-merge-topic -u ikrav:egm_id_80X_v2

### ELECTRON ID (HEEP)
# https://twiki.cern.ch/twiki/bin/view/CMS/HEEPElectronIdentificationRun2?rev=27#Instructions_to_checkout_HEEPV70
git cms-merge-topic -u Sam-Harper:HEEPV70VID_8010_ReducedCheckout 
git cms-merge-topic -u Sam-Harper:PackedCandNoPuppi 
mkdir -p ../external/slc6_amd64_gcc530/data/RecoEgamma/ElectronIdentification/ 
git clone git@github.com:cms-data/RecoEgamma-ElectronIdentification ../external/slc6_amd64_gcc530/data/RecoEgamma/ElectronIdentification/data 

### PHOTON ID (CUT-BASED AND MVA)
# https://twiki.cern.ch/twiki/bin/view/CMS/MultivariatePhotonIdentificationRun2?rev=22#Recipes_for_regular_users
git cms-merge-topic -u ikrav:egm_id_80X_v3_photons
cd $CMSSW_BASE/external
cd slc6_amd64_gcc530/ # you may have a different architecture, this is just one example from lxplus
git clone https://github.com/ikrav/RecoEgamma-PhotonIdentification.git data/RecoEgamma/PhotonIdentification/data
cd data/RecoEgamma/PhotonIdentification/data
git checkout egm_id_80X_v1
cd $CMSSW_BASE/src

### PU Jet ID, 80X (2016) recipes
# https://twiki.cern.ch/twiki/bin/viewauth/CMS/PileupJetID
git remote add ahinzmann git@github.com:ahinzmann/cmssw.git
git fetch ahinzmann PUidMiniAODfix80
git cherry-pick ca33756e1747aec27d13971bcfd0874b16724e7f

Then, clone the git repository:

### CLONE THE REPO
cd $CMSSW_BASE/src
mkdir Analyzer
cd Analyzer
git clone https://github.com/lbenato/LLPonAOD.git
cd LLPonAOD

and compile the code:

### COMPILE
cd $CMSSW_BASE/src
scram b -j 32

Run the code

### COMPILE
cmsRun python/ConfFile_cfg.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors