CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/PhysicsTools/PatExamples/python/customizedCOC_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 
00004 cocPatJets = cms.EDProducer("PATJetCleaner",
00005     src = cms.InputTag("selectedPatJets"), 
00006 
00007     # preselection (any string-based cut on pat::Jet)
00008     preselection = cms.string(''),
00009 
00010     # overlap checking configurables
00011     checkOverlaps = cms.PSet(
00012 
00013         isolatedMuons = cms.PSet(
00014            src       = cms.InputTag("isolatedPatMuons"),
00015            algorithm = cms.string("byDeltaR"),
00016            preselection        = cms.string(""),
00017            deltaR              = cms.double(0.5),
00018            checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
00019            pairCut             = cms.string(""),
00020            requireNoOverlaps   = cms.bool(False), # overlaps don't cause the jet to be discared
00021         ),                                
00022         isolatedElectrons = cms.PSet(
00023            src       = cms.InputTag("isolatedPatElectrons"),
00024            algorithm = cms.string("byDeltaR"),
00025            preselection        = cms.string(""),
00026            deltaR              = cms.double(0.5),
00027            checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
00028            pairCut             = cms.string(""),
00029            requireNoOverlaps   = cms.bool(False), # overlaps don't cause the jet to be discared
00030         )
00031     ),
00032     # finalCut (any string-based cut on pat::Jet)
00033     finalCut = cms.string(''),
00034 )
00035 
00036 customCOC = cms.Sequence(
00037      cocPatJets
00038 )