Skip to content

ishvetso/EgammaWork

Repository files navigation

This repository contains a setup for running electron isolation with CITK (Common Isolation Toolkit) CITK twiki. It also includes PUPPI-based electron isolation.

In order to run only electron isolation with CITK (pfIsolationVariables are also there), you should do following (CMSSW verstion is the one I used):

cmsrel CMSSW_7_4_6_patch2
cd CMSSW_7_4_6_patch2/src
cmsenv
git clone -b ElectronBranch git@github.com:ishvetso/EgammaWork.git
scram b -j10
cmsRun EgammaWork/electron_isolation_CITK_miniAOD.py (for miniAOD)
cmsRun EgammaWork/electron_isolation_CITK_AOD.py (for AOD)

In order to run only electron isolation with CITK including PUPPI-based electron isolation, you should do following (CMSSW verstion is the one I used):
(CMSSW_7_4_7 should be used or later(mva electrons ids are not available in earlier releases))
1.cmsrel CMSSW_7_4_7
cd CMSSW_7_4_7/src
cmsenv
git clone -b ElectronBranch git@github.com:ishvetso/EgammaWork.git
2. Since CMSSW_8_0_20, "v10" of PUPPI is in CMSSW, no action should be taken. However, this might change in the future (check PUPPI twiki
3. Then: scram b -j10

this is to run electron isolation for puppi with electrons with cone footprint removal <br / >

cmsRun EgammaWork/electron_isolation_CITK_PUPPI_IDs.py (miniAOD)

About

Work for Egamma POG

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published