1 import FWCore.ParameterSet.Config
as cms
2 import PhysicsTools.PatAlgos.PATElectronProducer_cfi
as _mod
4 patElectrons = _mod.PATElectronProducer.clone(
6 electronSource =
"gedGsfElectrons",
9 pfElectronSource =
"particleFlow",
10 pfCandidateMap =
"particleFlow:electrons",
13 addMVAVariables =
True,
14 reducedBarrelRecHitCollection =
"reducedEcalRecHitsEB",
15 reducedEndcapRecHitCollection =
"reducedEcalRecHitsEE",
20 userClasses = cms.PSet(
21 src = cms.VInputTag(
'')
24 userFloats = cms.PSet(
25 src = cms.VInputTag(
'')
29 src = cms.VInputTag(
'')
33 src = cms.VInputTag(
'')
37 userFunctionLabels = []
41 embedGsfElectronCore =
True,
42 embedGsfTrack =
False,
43 embedSuperCluster =
True,
44 embedPflowSuperCluster =
True,
45 embedSeedCluster =
True,
46 embedBasicClusters =
True,
47 embedPreshowerClusters =
True,
48 embedPflowBasicClusters =
True,
49 embedPflowPreshowerClusters =
True,
50 embedPFCandidate =
True,
55 isoDeposits = cms.PSet(),
60 userIsolation = dict(),
63 addElectronID =
False,
64 electronIDSources = cms.PSet(),
69 genParticleMatch =
"electronMatch",
72 addEfficiencies =
False,
73 efficiencies = dict(),
76 addResolutions =
False,
80 embedHighLevelSelection =
True,
81 beamLineSrc =
"offlineBeamSpot",
82 pvSrc =
"offlinePrimaryVertices",
85 addPFClusterIso =
False,
86 ecalPFClusterIsoMap =
"",
87 hcalPFClusterIsoMap =
"",
88 addPuppiIsolation =
False,
94 computeMiniIso =
False,
95 pfCandsForMiniIso =
"packedPFCandidates",
97 miniIsoParamsE = [0.05, 0.2, 10.0, 0.0, 0.015, 0.015, 0.08, 0.0, 0.0],
98 miniIsoParamsB = [0.05, 0.2, 10.0, 0.0, 0.000, 0.000, 0.00, 0.0, 0.0],
101 del patElectrons.electronIDSource