CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
photonCleaner_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 cleanPatPhotons = cms.EDProducer("PATPhotonCleaner",
4  ## Input collection of Photons
5  src = cms.InputTag("selectedPatPhotons"),
6 
7  # preselection (any string-based cut for pat::Photon)
8  preselection = cms.string(''),
9 
10  # overlap checking configurables
11  checkOverlaps = cms.PSet(
12  electrons = cms.PSet(
13  src = cms.InputTag("cleanPatElectrons"),
14  algorithm = cms.string("bySuperClusterSeed"),
15  requireNoOverlaps = cms.bool(False), # mark photons that overlap with electrons
16  # for further studies, but DO NOT discard
17  # them
18  ),
19  ),
20 
21  # finalCut (any string-based cut for pat::Photon)
22  finalCut = cms.string(''),
23 
24 )