CMS 3D CMS Logo

photonCleaner_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 cleanLayer1Photons = cms.EDFilter("PATPhotonCleaner",
00004     ## Input collection of Photons
00005     src = cms.InputTag("selectedLayer1Photons"),
00006 
00007     # preselection (any string-based cut for pat::Photon)
00008     preselection = cms.string(''),
00009 
00010     # overlap checking configurables
00011     checkOverlaps = cms.PSet(
00012         electrons = cms.PSet(
00013            src       = cms.InputTag("cleanLayer1Electrons"),
00014            algorithm = cms.string("bySuperClusterSeed"),
00015            requireNoOvelaps = cms.bool(True), # DISCARD photons that overlap!
00016         ),
00017     ),
00018 
00019     # finalCut (any string-based cut for pat::Photon)
00020     finalCut = cms.string(''),
00021 
00022 )

Generated on Tue Jun 9 17:41:44 2009 for CMSSW by  doxygen 1.5.4