CMS 3D CMS Logo

slimmedLowPtElectrons_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 slimmedLowPtElectrons = cms.EDProducer("PATElectronSlimmer",
4  src = cms.InputTag("selectedPatLowPtElectrons"),
5  dropSuperCluster = cms.string("0"), # 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  dropPFlowClusters = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
8  dropPreshowerClusters = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
9  dropSeedCluster = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
10  dropRecHits = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
11  dropCorrections = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
12  dropIsolations = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
13  dropShapes = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
14  dropSaturation = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
15  dropExtrapolations = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
16  dropClassifications = cms.string("0"), # you can put a cut to slim selectively, e.g. pt < 10
17  linkToPackedPFCandidates = cms.bool(False), # remove for the moment
18  recoToPFMap = cms.InputTag("reducedEgamma","reducedGsfElectronPfCandMap"), # Not used, but the plugin asks for it anyhow
19  packedPFCandidates = cms.InputTag("packedPFCandidates"), # Not used, but the plugin asks for it anyhow
20  saveNonZSClusterShapes = cms.string("1"), # save additional user floats: (sigmaIetaIeta,sigmaIphiIphi,sigmaIetaIphi,r9,e1x5_over_e5x5)_NoZS
21  reducedBarrelRecHitCollection = cms.InputTag("reducedEcalRecHitsEB"),
22  reducedEndcapRecHitCollection = cms.InputTag("reducedEcalRecHitsEE"),
23  modifyElectrons = cms.bool(True),
24  modifierConfig = cms.PSet(
25  modifications = cms.VPSet(
26  cms.PSet(
27  electron_config = cms.PSet(
28  ele2packed = cms.InputTag("lowPtGsfLinks:ele2packed"),
29  electronSrc = cms.InputTag("selectedPatLowPtElectrons"),
30  ),
31  modifierName = cms.string('EGExtraInfoModifierFromPackedCandPtrValueMaps'),
32  photon_config = cms.PSet()
33  ),
34  cms.PSet(
35  electron_config = cms.PSet(
36  ele2lost = cms.InputTag("lowPtGsfLinks:ele2lost"),
37  electronSrc = cms.InputTag("selectedPatLowPtElectrons"),
38  ),
39  modifierName = cms.string('EGExtraInfoModifierFromPackedCandPtrValueMaps'),
40  photon_config = cms.PSet()
41  ),
42  )
43  )
44 )
45