10 uncleanedOnlyElectronSeeds = ecalDrivenElectronSeeds.clone(
11 barrelSuperClusters =
"uncleanedOnlyCorrectedHybridSuperClusters",
12 endcapSuperClusters =
"uncleanedOnlyCorrectedMulti5x5SuperClustersWithPreshower"
16 uncleanedOnlyElectronCkfTrackCandidates = electronCkfTrackCandidates.clone(
17 src =
"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 =
"uncleanedOnlyCorrectedHybridSuperClusters",
34 bcBarrelCollection =
"hybridSuperClusters:uncleanOnlyHybridSuperClusters",
35 scIslandEndcapProducer =
"uncleanedOnlyCorrectedMulti5x5SuperClustersWithPreshower",
36 bcEndcapCollection =
"multi5x5SuperClusters:uncleanOnlyMulti5x5EndcapBasicClusters"
40 uncleanedOnlyCkfOutInTracksFromConversions = ckfOutInTracksFromConversions.clone(
41 src =
"uncleanedOnlyConversionTrackCandidates:outInTracksFromConversions",
42 producer =
'uncleanedOnlyConversionTrackCandidates',
43 ComponentName =
'uncleanedOnlyCkfOutInTracksFromConversions'
47 uncleanedOnlyCkfInOutTracksFromConversions = ckfInOutTracksFromConversions.clone(
48 src =
"uncleanedOnlyConversionTrackCandidates:inOutTracksFromConversions",
49 producer =
'uncleanedOnlyConversionTrackCandidates',
50 ComponentName =
'uncleanedOnlyCkfInOutTracksFromConversions'
53 uncleanedOnlyCkfTracksFromConversionsTask = cms.Task(uncleanedOnlyConversionTrackCandidates,uncleanedOnlyCkfOutInTracksFromConversions,uncleanedOnlyCkfInOutTracksFromConversions)
54 uncleanedOnlyCkfTracksFromConversions = cms.Sequence(uncleanedOnlyCkfTracksFromConversionsTask)
57 uncleanedOnlyGeneralConversionTrackProducer = generalConversionTrackProducer.clone()
60 uncleanedOnlyInOutConversionTrackProducer = inOutConversionTrackProducer.clone(
61 TrackProducer =
'uncleanedOnlyCkfInOutTracksFromConversions'
65 uncleanedOnlyOutInConversionTrackProducer = outInConversionTrackProducer.clone(
66 TrackProducer =
'uncleanedOnlyCkfOutInTracksFromConversions'
70 uncleanedOnlyGsfConversionTrackProducer = gsfConversionTrackProducer.clone(
71 TrackProducer =
'uncleanedOnlyElectronGsfTracks'
74 uncleanedOnlyConversionTrackProducersTask = cms.Task(uncleanedOnlyGeneralConversionTrackProducer,uncleanedOnlyInOutConversionTrackProducer,uncleanedOnlyOutInConversionTrackProducer,uncleanedOnlyGsfConversionTrackProducer)
75 uncleanedOnlyConversionTrackProducers = cms.Sequence(uncleanedOnlyConversionTrackProducersTask)
78 uncleanedOnlyInOutOutInConversionTrackMerger = inOutOutInConversionTrackMerger.clone(
79 TrackProducer2 =
'uncleanedOnlyOutInConversionTrackProducer',
80 TrackProducer1 =
'uncleanedOnlyInOutConversionTrackProducer'
84 uncleanedOnlyGeneralInOutOutInConversionTrackMerger = generalInOutOutInConversionTrackMerger.clone(
85 TrackProducer2 =
'uncleanedOnlyGeneralConversionTrackProducer',
86 TrackProducer1 =
'uncleanedOnlyInOutOutInConversionTrackMerger'
90 uncleanedOnlyGsfGeneralInOutOutInConversionTrackMerger = gsfGeneralInOutOutInConversionTrackMerger.clone(
91 TrackProducer2 =
'uncleanedOnlyGsfConversionTrackProducer',
92 TrackProducer1 =
'uncleanedOnlyGeneralInOutOutInConversionTrackMerger'
95 uncleanedOnlyConversionTrackMergersTask = cms.Task(uncleanedOnlyInOutOutInConversionTrackMerger,uncleanedOnlyGeneralInOutOutInConversionTrackMerger,uncleanedOnlyGsfGeneralInOutOutInConversionTrackMerger)
96 uncleanedOnlyConversionTrackMergers = cms.Sequence(uncleanedOnlyConversionTrackMergersTask)
99 uncleanedOnlyAllConversions = allConversions.clone(
100 scBarrelProducer =
"uncleanedOnlyCorrectedHybridSuperClusters",
101 bcBarrelCollection =
"hybridSuperClusters:uncleanOnlyHybridSuperClusters",
102 scEndcapProducer =
"uncleanedOnlyCorrectedMulti5x5SuperClustersWithPreshower",
103 bcEndcapCollection =
"multi5x5SuperClusters:uncleanOnlyMulti5x5EndcapBasicClusters",
104 src =
"uncleanedOnlyGsfGeneralInOutOutInConversionTrackMerger"
107 uncleanedOnlyConversionsTask = cms.Task(uncleanedOnlyCkfTracksFromConversionsTask,uncleanedOnlyConversionTrackProducersTask,uncleanedOnlyConversionTrackMergersTask,uncleanedOnlyAllConversions)
108 uncleanedOnlyConversions = cms.Sequence(uncleanedOnlyConversionsTask)
114 uncleanedOnlyPfTrack = pfTrack.clone(
115 GsfTrackModuleLabel =
"uncleanedOnlyElectronGsfTracks"
119 uncleanedOnlyPfConversions = pfConversions.clone(
120 conversionCollection =
"allConversions"
124 uncleanedOnlyPfTrackElec = pfTrackElec.clone(
125 PFConversions =
"uncleanedOnlyPfConversions",
126 GsfTrackModuleLabel =
"uncleanedOnlyElectronGsfTracks",
127 PFRecTrackLabel =
"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.ecalDrivenGsfElectronCoresHGC_cff
import ecalDrivenGsfElectronCoresHGC
139 uncleanedOnlyGsfElectronCores = ecalDrivenGsfElectronCores.clone(
140 gsfTracks =
"uncleanedOnlyElectronGsfTracks",
141 gsfPfRecTracks =
"uncleanedOnlyPfTrackElec"
145 uncleanedOnlyGsfElectrons = ecalDrivenGsfElectrons.clone(
146 gsfPfRecTracksTag =
"uncleanedOnlyPfTrackElec",
147 gsfElectronCoresTag =
"uncleanedOnlyGsfElectronCores",
148 seedsTag =
"uncleanedOnlyElectronSeeds"
151 uncleanedOnlyElectronsTask = cms.Task(uncleanedOnlyGsfElectronCores,uncleanedOnlyGsfElectrons)
152 uncleanedOnlyElectrons = cms.Sequence(uncleanedOnlyElectronsTask)
157 uncleanedOnlyElectronTask = cms.Task(uncleanedOnlyTrackingTask,uncleanedOnlyConversionsTask,uncleanedOnlyPfTrackingTask,uncleanedOnlyElectronsTask)
158 uncleanedOnlyElectronSequence = cms.Sequence(uncleanedOnlyElectronTask)