CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/PhysicsTools/PatAlgos/python/cleaningLayer1/electronCleaner_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 cleanPatElectrons = cms.EDProducer("PATElectronCleaner",
00004     ## pat electron input source
00005     src = cms.InputTag("selectedPatElectrons"), 
00006 
00007     # preselection (any string-based cut for pat::Electron)
00008     preselection = cms.string(''),
00009 
00010     # overlap checking configurables
00011     checkOverlaps = cms.PSet(
00012         muons = cms.PSet(
00013            src       = cms.InputTag("cleanPatMuons"),
00014            algorithm = cms.string("byDeltaR"),
00015            preselection        = cms.string(""),  # don't preselect the muons
00016            deltaR              = cms.double(0.3),
00017            checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
00018            pairCut             = cms.string(""),
00019            requireNoOverlaps   = cms.bool(False), # overlaps don't cause the electron to be discared
00020         )
00021     ),
00022 
00023     # finalCut (any string-based cut for pat::Electron)
00024     finalCut = cms.string(''),
00025 )