CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  dropRegressionData = cms.string("1"),
12  linkToPackedPFCandidates = cms.bool(True),
13  recoToPFMap = cms.InputTag("reducedEgamma","reducedPhotonPfCandMap"),
14  packedPFCandidates = cms.InputTag("packedPFCandidates"),
15  saveNonZSClusterShapes = cms.string("0"), #(r9()>0.8 || chargedHadronIso()<20 || chargedHadronIso()<0.3*pt())"), # save additional user floats: (sigmaIetaIeta,sigmaIphiIphi,sigmaIetaIphi,r9,e1x5_over_e5x5)_NoZS
16  reducedBarrelRecHitCollection = cms.InputTag("reducedEcalRecHitsEB"),
17  reducedEndcapRecHitCollection = cms.InputTag("reducedEcalRecHitsEE"),
18  modifyPhotons = cms.bool(True),
19  modifierConfig = cms.PSet( modifications = cms.VPSet() )
20 )