CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/PhysicsTools/PatAlgos/python/cleaningLayer1/jetCleaner_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 cleanPatJets = cms.EDProducer("PATJetCleaner",
00004     src = cms.InputTag("selectedPatJets"), 
00005 
00006     # preselection (any string-based cut on pat::Jet)
00007     preselection = cms.string(''),
00008 
00009     # overlap checking configurables
00010     checkOverlaps = cms.PSet(
00011         muons = cms.PSet(
00012            src       = cms.InputTag("cleanPatMuons"),
00013            algorithm = cms.string("byDeltaR"),
00014            preselection        = cms.string(""),
00015            deltaR              = cms.double(0.5),
00016            checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
00017            pairCut             = cms.string(""),
00018            requireNoOverlaps   = cms.bool(False), # overlaps don't cause the jet to be discared
00019         ),
00020         electrons = cms.PSet(
00021            src       = cms.InputTag("cleanPatElectrons"),
00022            algorithm = cms.string("byDeltaR"),
00023            preselection        = cms.string(""),
00024            deltaR              = cms.double(0.5),
00025            checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
00026            pairCut             = cms.string(""),
00027            requireNoOverlaps   = cms.bool(False), # overlaps don't cause the jet to be discared
00028         ),
00029         photons = cms.PSet(
00030            src       = cms.InputTag("cleanPatPhotons"),
00031            algorithm = cms.string("byDeltaR"),
00032            preselection        = cms.string(""),
00033            deltaR              = cms.double(0.5),
00034            checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
00035            pairCut             = cms.string(""),
00036            requireNoOverlaps   = cms.bool(False), # overlaps don't cause the jet to be discared
00037         ),
00038         taus = cms.PSet(
00039            src       = cms.InputTag("cleanPatTaus"),
00040            algorithm = cms.string("byDeltaR"),
00041            preselection        = cms.string(""),
00042            deltaR              = cms.double(0.5),
00043            checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
00044            pairCut             = cms.string(""),
00045            requireNoOverlaps   = cms.bool(False), # overlaps don't cause the jet to be discared
00046         ),
00047         tkIsoElectrons = cms.PSet(
00048            src       = cms.InputTag("cleanPatElectrons"),
00049            algorithm = cms.string("byDeltaR"),
00050            preselection        = cms.string("pt > 10 && trackIso < 3"),
00051            deltaR              = cms.double(0.3),
00052            checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
00053            pairCut             = cms.string(""),
00054            requireNoOverlaps   = cms.bool(False), # overlaps don't cause the jet to be discared
00055         )
00056     ),
00057     # finalCut (any string-based cut on pat::Jet)
00058     finalCut = cms.string(''),
00059 )