Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:23:55

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 cleanPatElectrons = cms.EDProducer("PATElectronCleaner",
0004     ## pat electron input source
0005     src = cms.InputTag("selectedPatElectrons"), 
0006 
0007     # preselection (any string-based cut for pat::Electron)
0008     preselection = cms.string(''),
0009 
0010     # overlap checking configurables
0011     checkOverlaps = cms.PSet(
0012         muons = cms.PSet(
0013            src       = cms.InputTag("cleanPatMuons"),
0014            algorithm = cms.string("byDeltaR"),
0015            preselection        = cms.string(""),  # don't preselect the muons
0016            deltaR              = cms.double(0.3),
0017            checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
0018            pairCut             = cms.string(""),
0019            requireNoOverlaps   = cms.bool(False), # overlaps don't cause the electron to be discared
0020         )
0021     ),
0022 
0023     # finalCut (any string-based cut for pat::Electron)
0024     finalCut = cms.string(''),
0025 )