CMS 3D CMS Logo

lowPtElectronProducer_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
6 
7 sourceElectrons = cms.InputTag("lowPtGsfElectrons")
8 
9 lowPtElectronMatch = electronMatch.clone(
10  src = sourceElectrons,
11 )
12 
13 patLowPtElectrons = patElectrons.clone(
14  # input collections
15  electronSource = sourceElectrons,
16  genParticleMatch = cms.InputTag("lowPtElectronMatch"),
17  # overrides
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),
30  # embedding
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),
45  )
46 
47 makePatLowPtElectronsTask = cms.Task(
48  lowPtElectronMatch,
49  patLowPtElectrons
50  )
51 
52 makePatLowPtElectrons = cms.Sequence(makePatLowPtElectronsTask)
53 
54 
55 # Modifiers
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"
63  )
electronProducer_cfi
electronMatch_cfi
TransientTrackBuilder_cfi