CMS 3D CMS Logo

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