CMS 3D CMS Logo

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