1 import FWCore.ParameterSet.Config
as cms
3 from RecoEgamma.EgammaTools.lowPtElectronModifier_cfi
import lowPtElectronModifier
5 slimmedLowPtElectrons = cms.EDProducer(
"PATElectronSlimmer",
6 src = cms.InputTag(
"selectedPatLowPtElectrons"),
7 dropSuperCluster = cms.string(
"0"),
8 dropBasicClusters = cms.string(
"0"),
9 dropPFlowClusters = cms.string(
"0"),
10 dropPreshowerClusters = cms.string(
"0"),
11 dropSeedCluster = cms.string(
"0"),
12 dropRecHits = cms.string(
"0"),
13 dropCorrections = cms.string(
"0"),
14 dropIsolations = cms.string(
"0"),
15 dropShapes = cms.string(
"0"),
16 dropSaturation = cms.string(
"0"),
17 dropExtrapolations = cms.string(
"0"),
18 dropClassifications = cms.string(
"0"),
19 linkToPackedPFCandidates = cms.bool(
False),
20 recoToPFMap = cms.InputTag(
"reducedEgamma",
"reducedGsfElectronPfCandMap"),
21 packedPFCandidates = cms.InputTag(
"packedPFCandidates"),
22 saveNonZSClusterShapes = cms.string(
"1"),
23 reducedBarrelRecHitCollection = cms.InputTag(
"reducedEcalRecHitsEB"),
24 reducedEndcapRecHitCollection = cms.InputTag(
"reducedEcalRecHitsEE"),
25 modifyElectrons = cms.bool(
True),
26 modifierConfig = cms.PSet(
27 modifications = cms.VPSet(
29 electron_config = cms.PSet(
30 ele2packed = cms.InputTag(
"lowPtGsfLinks:ele2packed"),
31 electronSrc = cms.InputTag(
"selectedPatLowPtElectrons"),
33 modifierName = cms.string(
'EGExtraInfoModifierFromPackedCandPtrValueMaps'),
34 photon_config = cms.PSet()
37 electron_config = cms.PSet(
38 ele2lost = cms.InputTag(
"lowPtGsfLinks:ele2lost"),
39 electronSrc = cms.InputTag(
"selectedPatLowPtElectrons"),
41 modifierName = cms.string(
'EGExtraInfoModifierFromPackedCandPtrValueMaps'),
42 photon_config = cms.PSet()
44 lowPtElectronModifier,