CMS 3D CMS Logo

slimmedPhotons_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 slimmedPhotons = cms.EDProducer("PATPhotonSlimmer",
4  src = cms.InputTag("selectedPatPhotons"),
5  dropSuperCluster = cms.string("0"), # always keep SC? # ! (r9()>0.8 || chargedHadronIso()<20 || chargedHadronIso()<0.3*pt())"), # you can put a cut to slim selectively, e.g. pt < 10
6  dropBasicClusters = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
7  dropPreshowerClusters = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
8  dropSeedCluster = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
9  dropRecHits = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
10  dropSaturation = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
11  linkToPackedPFCandidates = cms.bool(True),
12  recoToPFMap = cms.InputTag("reducedEgamma","reducedPhotonPfCandMap"),
13  packedPFCandidates = cms.InputTag("packedPFCandidates"),
14  saveNonZSClusterShapes = cms.string("(r9()>0.8 || chargedHadronIso()<20 || chargedHadronIso()<0.3*pt())"), # save additional user floats: (sigmaIetaIeta,sigmaIphiIphi,sigmaIetaIphi,r9,e1x5_over_e5x5)_NoZS
15  reducedBarrelRecHitCollection = cms.InputTag("reducedEcalRecHitsEB"),
16  reducedEndcapRecHitCollection = cms.InputTag("reducedEcalRecHitsEE"),
17  modifyPhotons = cms.bool(True),
18  modifierConfig = cms.PSet( modifications = cms.VPSet() )
19 )