CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/PhysicsTools/PatAlgos/python/cleaningLayer1/photonCleaner_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 cleanPatPhotons = cms.EDProducer("PATPhotonCleaner",
00004     ## Input collection of Photons
00005     src = cms.InputTag("selectedPatPhotons"),
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("cleanPatElectrons"),
00014            algorithm = cms.string("bySuperClusterSeed"),
00015            requireNoOverlaps = cms.bool(False), # mark photons that overlap with electrons
00016                                                 # for further studies, but DO NOT discard
00017                                                 # them
00018         ),
00019     ),
00020 
00021     # finalCut (any string-based cut for pat::Photon)
00022     finalCut = cms.string(''),
00023 
00024 )