CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
customizedCOC_cff.py
Go to the documentation of this file.
2 
3 
4 cocPatJets = cms.EDProducer("PATJetCleaner",
5  src = cms.InputTag("selectedPatJets"),
6 
7  # preselection (any string-based cut on pat::Jet)
8  preselection = cms.string(''),
9 
10  # overlap checking configurables
11  checkOverlaps = cms.PSet(
12 
13  isolatedMuons = cms.PSet(
14  src = cms.InputTag("isolatedPatMuons"),
15  algorithm = cms.string("byDeltaR"),
16  preselection = cms.string(""),
17  deltaR = cms.double(0.5),
18  checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
19  pairCut = cms.string(""),
20  requireNoOverlaps = cms.bool(False), # overlaps don't cause the jet to be discared
21  ),
22  isolatedElectrons = cms.PSet(
23  src = cms.InputTag("isolatedPatElectrons"),
24  algorithm = cms.string("byDeltaR"),
25  preselection = cms.string(""),
26  deltaR = cms.double(0.5),
27  checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
28  pairCut = cms.string(""),
29  requireNoOverlaps = cms.bool(False), # overlaps don't cause the jet to be discared
30  )
31  ),
32  # finalCut (any string-based cut on pat::Jet)
33  finalCut = cms.string(''),
34 )
35 
36 customCOC = cms.Sequence(
37  cocPatJets
38 )