1 import FWCore.ParameterSet.Config
as cms
3 import RecoEgamma.EgammaPhotonProducers.conversionTrackProducer_cfi
4 import RecoEgamma.EgammaPhotonProducers.conversionTrackMerger_cfi
12 ckfTracksFromConversions = cms.Sequence(conversionTrackCandidates*ckfOutInTracksFromConversions*ckfInOutTracksFromConversions)
14 oldegConversionTrackCandidates = conversionTrackCandidates.clone()
15 oldegConversionTrackCandidates.scHybridBarrelProducer = cms.InputTag(
"correctedHybridSuperClusters")
16 oldegConversionTrackCandidates.bcBarrelCollection = cms.InputTag(
"hybridSuperClusters",
"hybridBarrelBasicClusters")
17 oldegConversionTrackCandidates.scIslandEndcapProducer = cms.InputTag(
"correctedMulti5x5SuperClustersWithPreshower")
18 oldegConversionTrackCandidates.bcEndcapCollection = cms.InputTag(
"multi5x5SuperClusters",
"multi5x5EndcapBasicClusters")
20 ckfOutInTracksFromOldEGConversions = ckfOutInTracksFromConversions.clone()
21 ckfOutInTracksFromOldEGConversions.src = cms.InputTag(
'oldegConversionTrackCandidates',
'outInTracksFromConversions')
22 ckfOutInTracksFromOldEGConversions.producer = cms.string(
'oldegConversionTrackCandidates')
23 ckfOutInTracksFromOldEGConversions.ComponentName = cms.string(
'ckfOutInTracksFromOldEGConversions')
25 ckfInOutTracksFromOldEGConversions = ckfInOutTracksFromConversions.clone()
26 ckfInOutTracksFromOldEGConversions.src = cms.InputTag(
'oldegConversionTrackCandidates',
'inOutTracksFromConversions')
27 ckfInOutTracksFromOldEGConversions.producer = cms.string(
'oldegConversionTrackCandidates')
28 ckfInOutTracksFromOldEGConversions.ComponentName = cms.string(
'ckfInOutTracksFromOldEGConversions')
30 ckfTracksFromOldEGConversions = cms.Sequence(oldegConversionTrackCandidates*ckfOutInTracksFromOldEGConversions*ckfInOutTracksFromOldEGConversions)
33 generalConversionTrackProducer = RecoEgamma.EgammaPhotonProducers.conversionTrackProducer_cfi.conversionTrackProducer.clone(
34 TrackProducer = cms.string(
'generalTracks'),
35 setTrackerOnly = cms.bool(
True),
36 setArbitratedMergedEcalGeneral = cms.bool(
True),
40 conversionStepConversionTrackProducer = RecoEgamma.EgammaPhotonProducers.conversionTrackProducer_cfi.conversionTrackProducer.clone(
41 TrackProducer = cms.string(
'conversionStepTracks'),
42 setTrackerOnly = cms.bool(
True),
43 setArbitratedMergedEcalGeneral = cms.bool(
True),
48 inOutConversionTrackProducer = RecoEgamma.EgammaPhotonProducers.conversionTrackProducer_cfi.conversionTrackProducer.clone(
49 TrackProducer = cms.string(
'ckfInOutTracksFromConversions'),
50 setArbitratedEcalSeeded = cms.bool(
True),
51 setArbitratedMergedEcalGeneral = cms.bool(
True),
55 outInConversionTrackProducer = RecoEgamma.EgammaPhotonProducers.conversionTrackProducer_cfi.conversionTrackProducer.clone(
56 TrackProducer = cms.string(
'ckfOutInTracksFromConversions'),
57 setArbitratedEcalSeeded = cms.bool(
True),
58 setArbitratedMergedEcalGeneral = cms.bool(
True),
62 gsfConversionTrackProducer = RecoEgamma.EgammaPhotonProducers.conversionTrackProducer_cfi.conversionTrackProducer.clone(
63 TrackProducer = cms.string(
'electronGsfTracks'),
64 filterOnConvTrackHyp = cms.bool(
False),
67 conversionTrackProducers = cms.Sequence(generalConversionTrackProducer*conversionStepConversionTrackProducer*inOutConversionTrackProducer*outInConversionTrackProducer*gsfConversionTrackProducer)
69 inOutOldEGConversionTrackProducer = inOutConversionTrackProducer.clone()
70 inOutOldEGConversionTrackProducer.TrackProducer = cms.string(
'ckfInOutTracksFromOldEGConversions')
71 outInOldEGConversionTrackProducer = outInConversionTrackProducer.clone()
72 outInOldEGConversionTrackProducer.TrackProducer = cms.string(
'ckfOutInTracksFromOldEGConversions')
74 oldegConversionTrackProducers = cms.Sequence(inOutOldEGConversionTrackProducer*outInOldEGConversionTrackProducer)
77 generalConversionStepConversionTrackMerger = RecoEgamma.EgammaPhotonProducers.conversionTrackMerger_cfi.conversionTrackMerger.clone(
78 TrackProducer1 = cms.InputTag(
'generalConversionTrackProducer'),
79 TrackProducer2 = cms.InputTag(
'conversionStepConversionTrackProducer'),
86 arbitratedMergedPreferCollection = cms.int32(3),
87 arbitratedMergedEcalGeneralPreferCollection = cms.int32(3),
91 inOutOutInConversionTrackMerger = RecoEgamma.EgammaPhotonProducers.conversionTrackMerger_cfi.conversionTrackMerger.clone(
92 TrackProducer1 = cms.InputTag(
'inOutConversionTrackProducer'),
93 TrackProducer2 = cms.InputTag(
'outInConversionTrackProducer'),
100 arbitratedEcalSeededPreferCollection = cms.int32(3),
101 arbitratedMergedPreferCollection = cms.int32(3),
102 arbitratedMergedEcalGeneralPreferCollection = cms.int32(3),
110 generalInOutOutInConversionTrackMerger = RecoEgamma.EgammaPhotonProducers.conversionTrackMerger_cfi.conversionTrackMerger.clone(
111 TrackProducer1 = cms.InputTag(
'inOutOutInConversionTrackMerger'),
112 TrackProducer2 = cms.InputTag(
'generalConversionStepConversionTrackMerger'),
113 arbitratedMergedPreferCollection = cms.int32(3),
114 arbitratedMergedEcalGeneralPreferCollection = cms.int32(2),
120 gsfGeneralInOutOutInConversionTrackMerger = RecoEgamma.EgammaPhotonProducers.conversionTrackMerger_cfi.conversionTrackMerger.clone(
121 TrackProducer1 = cms.InputTag(
'generalInOutOutInConversionTrackMerger'),
122 TrackProducer2 = cms.InputTag(
'gsfConversionTrackProducer'),
123 arbitratedMergedPreferCollection = cms.int32(2),
131 conversionTrackMergers = cms.Sequence(inOutOutInConversionTrackMerger*generalConversionStepConversionTrackMerger*generalInOutOutInConversionTrackMerger*gsfGeneralInOutOutInConversionTrackMerger)
133 inOutOutInOldEGConversionTrackMerger = inOutOutInConversionTrackMerger.clone()
134 inOutOutInOldEGConversionTrackMerger.TrackProducer1 = cms.InputTag(
'inOutOldEGConversionTrackProducer')
135 inOutOutInOldEGConversionTrackMerger.TrackProducer2 = cms.InputTag(
'outInOldEGConversionTrackProducer')
137 generalInOutOutInOldEGConversionTrackMerger = generalInOutOutInConversionTrackMerger.clone()
138 generalInOutOutInOldEGConversionTrackMerger.TrackProducer1 = cms.InputTag(
'inOutOutInOldEGConversionTrackMerger')
140 gsfGeneralInOutOutInOldEGConversionTrackMerger = gsfGeneralInOutOutInConversionTrackMerger.clone()
141 gsfGeneralInOutOutInOldEGConversionTrackMerger.TrackProducer1 = cms.InputTag(
'generalInOutOutInOldEGConversionTrackMerger')
143 oldegConversionTrackMergers = cms.Sequence(inOutOutInOldEGConversionTrackMerger*generalInOutOutInOldEGConversionTrackMerger*gsfGeneralInOutOutInOldEGConversionTrackMerger)
145 conversionTrackSequence = cms.Sequence(ckfTracksFromConversions*conversionTrackProducers*conversionTrackMergers)
149 gsfGeneralConversionTrackMerger = RecoEgamma.EgammaPhotonProducers.conversionTrackMerger_cfi.conversionTrackMerger.clone(
150 TrackProducer1 = cms.InputTag(
'generalConversionTrackProducer'),
151 TrackProducer2 = cms.InputTag(
'gsfConversionTrackProducer'),
152 arbitratedMergedPreferCollection = cms.int32(2),
156 conversionTrackSequenceNoEcalSeeded = cms.Sequence(generalConversionTrackProducer*gsfConversionTrackProducer*gsfGeneralConversionTrackMerger)