CMS 3D CMS Logo

electronCleaner_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 cleanPatElectrons = cms.EDProducer("PATElectronCleaner",
4 
5  src = cms.InputTag("selectedPatElectrons"),
6 
7  # preselection (any string-based cut for pat::Electron)
8  preselection = cms.string(''),
9 
10  # overlap checking configurables
11  checkOverlaps = cms.PSet(
12  muons = cms.PSet(
13  src = cms.InputTag("cleanPatMuons"),
14  algorithm = cms.string("byDeltaR"),
15  preselection = cms.string(""), # don't preselect the muons
16  deltaR = cms.double(0.3),
17  checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
18  pairCut = cms.string(""),
19  requireNoOverlaps = cms.bool(False), # overlaps don't cause the electron to be discared
20  )
21  ),
22 
23  # finalCut (any string-based cut for pat::Electron)
24  finalCut = cms.string(''),
25 )