1 import FWCore.ParameterSet.Config
as cms
7 sourceElectrons = cms.InputTag(
"lowPtGsfElectrons")
9 lowPtElectronMatch = electronMatch.clone(
10 src = sourceElectrons,
13 patLowPtElectrons = patElectrons.clone(
15 electronSource = sourceElectrons,
16 genParticleMatch = cms.InputTag(
"lowPtElectronMatch"),
18 addElectronID = cms.bool(
False),
19 addGenMatch = cms.bool(
True),
20 addMVAVariables = cms.bool(
False),
21 addPFClusterIso = cms.bool(
False),
22 electronIDSources = cms.PSet(),
23 computeMiniIso = cms.bool(
False),
24 isoDeposits = cms.PSet(),
25 isolationValues = cms.PSet(),
26 isolationValuesNoPFId = cms.PSet(),
27 miniIsoParamsB = cms.vdouble(),
28 miniIsoParamsE = cms.vdouble(),
29 usePfCandidateMultiMap = cms.bool(
False),
31 embedBasicClusters = cms.bool(
False),
32 embedGenMatch = cms.bool(
False),
33 embedGsfElectronCore = cms.bool(
False),
34 embedGsfTrack = cms.bool(
False),
35 embedHighLevelSelection = cms.bool(
False),
36 embedPFCandidate = cms.bool(
False),
37 embedPflowBasicClusters = cms.bool(
False),
38 embedPflowPreshowerClusters = cms.bool(
False),
39 embedPflowSuperCluster = cms.bool(
False),
40 embedPreshowerClusters = cms.bool(
False),
41 embedRecHits = cms.bool(
False),
42 embedSeedCluster = cms.bool(
False),
43 embedSuperCluster = cms.bool(
False),
44 embedTrack = cms.bool(
True),
47 makePatLowPtElectronsTask = cms.Task(
52 makePatLowPtElectrons = cms.Sequence(makePatLowPtElectronsTask)
56 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
57 fastSim.toModify(patLowPtElectrons, embedTrack =
False)
58 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff
import run2_miniAOD_80XLegacy
59 from Configuration.Eras.Modifier_run2_miniAOD_94XFall17_cff
import run2_miniAOD_94XFall17
60 (run2_miniAOD_80XLegacy | run2_miniAOD_94XFall17).toModify(patLowPtElectrons,
61 electronSource =
"gedGsfElectrons",
62 genParticleMatch =
"electronMatch"