1 import FWCore.ParameterSet.Config
as cms
3 slimmedElectrons = cms.EDProducer(
"PATElectronSlimmer",
4 src = cms.InputTag(
"selectedPatElectrons"),
5 dropSuperCluster = cms.string(
"0"),
6 dropBasicClusters = cms.string(
"0"),
7 dropPFlowClusters = cms.string(
"0"),
8 dropPreshowerClusters = cms.string(
"0"),
9 dropSeedCluster = cms.string(
"0"),
10 dropRecHits = cms.string(
"0"),
11 dropCorrections = cms.string(
"pt < 5"),
12 dropIsolations = cms.string(
"pt < 5"),
13 dropShapes = cms.string(
"pt < 5"),
14 dropSaturation = cms.string(
"pt < 5"),
15 dropExtrapolations = cms.string(
"pt < 5"),
16 dropClassifications = cms.string(
"pt < 5"),
17 linkToPackedPFCandidates = cms.bool(
True),
18 recoToPFMap = cms.InputTag(
"reducedEgamma",
"reducedGsfElectronPfCandMap"),
19 packedPFCandidates = cms.InputTag(
"packedPFCandidates"),
20 saveNonZSClusterShapes = cms.string(
"pt > 5"),
21 reducedBarrelRecHitCollection = cms.InputTag(
"reducedEcalRecHitsEB"),
22 reducedEndcapRecHitCollection = cms.InputTag(
"reducedEcalRecHitsEE"),
23 modifyElectrons = cms.bool(
True),
24 modifierConfig = cms.PSet( modifications = cms.VPSet() )
27 from Configuration.Eras.Modifier_bParking_cff
import bParking
28 bParking.toModify(slimmedElectrons,dropCorrections=
"0", dropIsolations=
"0", dropShapes=
"0", dropClassifications=
"0")