10 uncleanedOnlyElectronSeeds = ecalDrivenElectronSeeds.clone(
11 barrelSuperClusters = cms.InputTag(
"uncleanedOnlyCorrectedHybridSuperClusters"),
12 endcapSuperClusters = cms.InputTag(
"uncleanedOnlyCorrectedMulti5x5SuperClustersWithPreshower")
16 uncleanedOnlyElectronCkfTrackCandidates = electronCkfTrackCandidates.clone(
17 src = cms.InputTag(
"uncleanedOnlyElectronSeeds")
21 uncleanedOnlyElectronGsfTracks = electronGsfTracks.clone(
22 src =
'uncleanedOnlyElectronCkfTrackCandidates' 25 uncleanedOnlyTrackingTask = cms.Task(uncleanedOnlyElectronSeeds,uncleanedOnlyElectronCkfTrackCandidates,uncleanedOnlyElectronGsfTracks)
26 uncleanedOnlyTracking = cms.Sequence(uncleanedOnlyTrackingTask)
32 uncleanedOnlyConversionTrackCandidates = conversionTrackCandidates.clone(
33 scHybridBarrelProducer = cms.InputTag(
"uncleanedOnlyCorrectedHybridSuperClusters"),
34 bcBarrelCollection = cms.InputTag(
"hybridSuperClusters",
"uncleanOnlyHybridSuperClusters"),
35 scIslandEndcapProducer = cms.InputTag(
"uncleanedOnlyCorrectedMulti5x5SuperClustersWithPreshower"),
36 bcEndcapCollection = cms.InputTag(
"multi5x5SuperClusters",
"uncleanOnlyMulti5x5EndcapBasicClusters")
40 uncleanedOnlyCkfOutInTracksFromConversions = ckfOutInTracksFromConversions.clone(
41 src = cms.InputTag(
"uncleanedOnlyConversionTrackCandidates",
"outInTracksFromConversions"),
42 producer = cms.string(
'uncleanedOnlyConversionTrackCandidates'),
43 ComponentName = cms.string(
'uncleanedOnlyCkfOutInTracksFromConversions')
47 uncleanedOnlyCkfInOutTracksFromConversions = ckfInOutTracksFromConversions.clone(
48 src = cms.InputTag(
"uncleanedOnlyConversionTrackCandidates",
"inOutTracksFromConversions"),
49 producer = cms.string(
'uncleanedOnlyConversionTrackCandidates'),
50 ComponentName = cms.string(
'uncleanedOnlyCkfInOutTracksFromConversions')
53 uncleanedOnlyCkfTracksFromConversionsTask = cms.Task(uncleanedOnlyConversionTrackCandidates,uncleanedOnlyCkfOutInTracksFromConversions,uncleanedOnlyCkfInOutTracksFromConversions)
54 uncleanedOnlyCkfTracksFromConversions = cms.Sequence(uncleanedOnlyCkfTracksFromConversionsTask)
57 uncleanedOnlyGeneralConversionTrackProducer = generalConversionTrackProducer.clone()
60 uncleanedOnlyInOutConversionTrackProducer = inOutConversionTrackProducer.clone(
61 TrackProducer = cms.string(
'uncleanedOnlyCkfInOutTracksFromConversions')
65 uncleanedOnlyOutInConversionTrackProducer = outInConversionTrackProducer.clone(
66 TrackProducer = cms.string(
'uncleanedOnlyCkfOutInTracksFromConversions')
70 uncleanedOnlyGsfConversionTrackProducer = gsfConversionTrackProducer.clone(
71 TrackProducer = cms.string(
'uncleanedOnlyElectronGsfTracks')
74 uncleanedOnlyConversionTrackProducersTask = cms.Task(uncleanedOnlyGeneralConversionTrackProducer,uncleanedOnlyInOutConversionTrackProducer,uncleanedOnlyOutInConversionTrackProducer,uncleanedOnlyGsfConversionTrackProducer)
75 uncleanedOnlyConversionTrackProducers = cms.Sequence(uncleanedOnlyConversionTrackProducersTask)
78 uncleanedOnlyInOutOutInConversionTrackMerger = inOutOutInConversionTrackMerger.clone(
79 TrackProducer2 = cms.InputTag(
'uncleanedOnlyOutInConversionTrackProducer'),
80 TrackProducer1 = cms.InputTag(
'uncleanedOnlyInOutConversionTrackProducer')
84 uncleanedOnlyGeneralInOutOutInConversionTrackMerger = generalInOutOutInConversionTrackMerger.clone(
85 TrackProducer2 = cms.InputTag(
'uncleanedOnlyGeneralConversionTrackProducer'),
86 TrackProducer1 = cms.InputTag(
'uncleanedOnlyInOutOutInConversionTrackMerger')
90 uncleanedOnlyGsfGeneralInOutOutInConversionTrackMerger = gsfGeneralInOutOutInConversionTrackMerger.clone(
91 TrackProducer2 = cms.InputTag(
'uncleanedOnlyGsfConversionTrackProducer'),
92 TrackProducer1 = cms.InputTag(
'uncleanedOnlyGeneralInOutOutInConversionTrackMerger')
95 uncleanedOnlyConversionTrackMergersTask = cms.Task(uncleanedOnlyInOutOutInConversionTrackMerger,uncleanedOnlyGeneralInOutOutInConversionTrackMerger,uncleanedOnlyGsfGeneralInOutOutInConversionTrackMerger)
96 uncleanedOnlyConversionTrackMergers = cms.Sequence(uncleanedOnlyConversionTrackMergersTask)
99 uncleanedOnlyAllConversions = allConversions.clone(
100 scBarrelProducer = cms.InputTag(
"uncleanedOnlyCorrectedHybridSuperClusters"),
101 bcBarrelCollection = cms.InputTag(
"hybridSuperClusters",
"uncleanOnlyHybridSuperClusters"),
102 scEndcapProducer = cms.InputTag(
"uncleanedOnlyCorrectedMulti5x5SuperClustersWithPreshower"),
103 bcEndcapCollection = cms.InputTag(
"multi5x5SuperClusters",
"uncleanOnlyMulti5x5EndcapBasicClusters"),
104 src = cms.InputTag(
"uncleanedOnlyGsfGeneralInOutOutInConversionTrackMerger")
107 uncleanedOnlyConversionsTask = cms.Task(uncleanedOnlyCkfTracksFromConversionsTask,uncleanedOnlyConversionTrackProducersTask,uncleanedOnlyConversionTrackMergersTask,uncleanedOnlyAllConversions)
108 uncleanedOnlyConversions = cms.Sequence(uncleanedOnlyConversionsTask)
114 uncleanedOnlyPfTrack = pfTrack.clone(
115 GsfTrackModuleLabel = cms.InputTag(
"uncleanedOnlyElectronGsfTracks")
119 uncleanedOnlyPfConversions = pfConversions.clone(
120 conversionCollection = cms.InputTag(
"allConversions")
124 uncleanedOnlyPfTrackElec = pfTrackElec.clone(
125 PFConversions = cms.InputTag(
"uncleanedOnlyPfConversions"),
126 GsfTrackModuleLabel = cms.InputTag(
"uncleanedOnlyElectronGsfTracks"),
127 PFRecTrackLabel = cms.InputTag(
"uncleanedOnlyPfTrack")
130 uncleanedOnlyPfTrackingTask = cms.Task(uncleanedOnlyPfTrack,uncleanedOnlyPfConversions,uncleanedOnlyPfTrackElec)
131 uncleanedOnlyPfTracking = cms.Sequence(uncleanedOnlyPfTrackingTask)
137 from RecoEgamma.EgammaElectronProducers.ecalDrivenGsfElectronCores_cfi
import ecalDrivenGsfElectronCores
138 from RecoEgamma.EgammaElectronProducers.gsfElectronCores_cfi
import gsfElectronCores
139 from RecoEgamma.EgammaElectronProducers.ecalDrivenGsfElectronCoresFromMultiCl_cff
import ecalDrivenGsfElectronCoresFromMultiCl
140 uncleanedOnlyGsfElectronCores = ecalDrivenGsfElectronCores.clone(
141 gsfTracks = cms.InputTag(
"uncleanedOnlyElectronGsfTracks"),
142 gsfPfRecTracks = cms.InputTag(
"uncleanedOnlyPfTrackElec")
146 uncleanedOnlyGsfElectrons = ecalDrivenGsfElectrons.clone(
147 gsfPfRecTracksTag = cms.InputTag(
"uncleanedOnlyPfTrackElec"),
148 gsfElectronCoresTag = cms.InputTag(
"uncleanedOnlyGsfElectronCores"),
149 seedsTag = cms.InputTag(
"uncleanedOnlyElectronSeeds")
152 uncleanedOnlyElectronsTask = cms.Task(uncleanedOnlyGsfElectronCores,uncleanedOnlyGsfElectrons)
153 uncleanedOnlyElectrons = cms.Sequence(uncleanedOnlyElectronsTask)
158 uncleanedOnlyElectronTask = cms.Task(uncleanedOnlyTrackingTask,uncleanedOnlyConversionsTask,uncleanedOnlyPfTrackingTask,uncleanedOnlyElectronsTask)
159 uncleanedOnlyElectronSequence = cms.Sequence(uncleanedOnlyElectronTask)