1 import FWCore.ParameterSet.Config
as cms
3 import RecoEgamma.EgammaPhotonProducers.conversionTrackProducer_cfi
4 import RecoEgamma.EgammaPhotonProducers.conversionTrackMerger_cfi
11 ckfTracksFromConversionsReRecoTask = cms.Task(conversionTrackCandidates,
12 ckfOutInTracksFromConversions,
13 ckfInOutTracksFromConversions)
16 generalConversionTrackProducerReReco = RecoEgamma.EgammaPhotonProducers.conversionTrackProducer_cfi.conversionTrackProducer.clone(
17 TrackProducer =
'generalTracks',
18 setTrackerOnly =
True,
19 useTrajectory =
False,
23 conversionStepConversionTrackProducerReReco = RecoEgamma.EgammaPhotonProducers.conversionTrackProducer_cfi.conversionTrackProducer.clone(
24 TrackProducer =
'conversionStepTracks',
25 setTrackerOnly =
True,
26 setArbitratedMergedEcalGeneral =
True,
27 useTrajectory =
False,
31 inOutConversionTrackProducerReReco = RecoEgamma.EgammaPhotonProducers.conversionTrackProducer_cfi.conversionTrackProducer.clone(
32 TrackProducer =
'ckfInOutTracksFromConversions',
33 setArbitratedEcalSeeded =
True,
34 useTrajectory =
False,
38 outInConversionTrackProducerReReco = RecoEgamma.EgammaPhotonProducers.conversionTrackProducer_cfi.conversionTrackProducer.clone(
39 TrackProducer =
'ckfOutInTracksFromConversions',
40 setArbitratedEcalSeeded =
True,
41 useTrajectory =
False,
45 gsfConversionTrackProducerReReco = RecoEgamma.EgammaPhotonProducers.conversionTrackProducer_cfi.conversionTrackProducer.clone(
46 TrackProducer =
'electronGsfTracks',
47 useTrajectory =
False,
50 conversionTrackProducersReRecoTask = cms.Task(generalConversionTrackProducerReReco,
51 conversionStepConversionTrackProducerReReco,
52 inOutConversionTrackProducerReReco,
53 outInConversionTrackProducerReReco,
54 gsfConversionTrackProducerReReco)
57 generalConversionStepConversionTrackMergerReReco = RecoEgamma.EgammaPhotonProducers.conversionTrackMerger_cfi.conversionTrackMerger.clone(
58 TrackProducer1 =
'generalConversionTrackProducerReReco',
59 TrackProducer2 =
'conversionStepConversionTrackProducerReReco',
66 arbitratedMergedPreferCollection = 3,
67 arbitratedMergedEcalGeneralPreferCollection = 3,
71 inOutOutInConversionTrackMergerReReco = RecoEgamma.EgammaPhotonProducers.conversionTrackMerger_cfi.conversionTrackMerger.clone(
72 TrackProducer1 =
'inOutConversionTrackProducerReReco',
73 TrackProducer2 =
'outInConversionTrackProducerReReco',
80 arbitratedEcalSeededPreferCollection = 3,
81 arbitratedMergedPreferCollection = 3,
88 generalInOutOutInConversionTrackMergerReReco = RecoEgamma.EgammaPhotonProducers.conversionTrackMerger_cfi.conversionTrackMerger.clone(
89 TrackProducer1 =
'inOutOutInConversionTrackMergerReReco',
90 TrackProducer2 =
'generalConversionStepConversionTrackMergerReReco',
91 arbitratedMergedPreferCollection = 3,
97 gsfGeneralInOutOutInConversionTrackMergerReReco = RecoEgamma.EgammaPhotonProducers.conversionTrackMerger_cfi.conversionTrackMerger.clone(
98 TrackProducer1 =
'generalInOutOutInConversionTrackMergerReReco',
99 TrackProducer2 =
'gsfConversionTrackProducerReReco',
100 arbitratedMergedPreferCollection = 2,
108 conversionTrackMergersReRecoTask = cms.Task(inOutOutInConversionTrackMergerReReco,
109 generalConversionStepConversionTrackMergerReReco,
110 generalInOutOutInConversionTrackMergerReReco,
111 gsfGeneralInOutOutInConversionTrackMergerReReco)
113 conversionTrackTaskForReReco = cms.Task(ckfTracksFromConversionsReRecoTask,
114 conversionTrackProducersReRecoTask,
115 conversionTrackMergersReRecoTask)
116 conversionTrackSequenceForReReco = cms.Sequence(conversionTrackTaskForReReco)
120 gsfGeneralConversionTrackMergerReReco = RecoEgamma.EgammaPhotonProducers.conversionTrackMerger_cfi.conversionTrackMerger.clone(
121 TrackProducer1 =
'generalConversionTrackProducerReReco',
122 TrackProducer2 =
'gsfConversionTrackProducerReReco',
123 arbitratedMergedPreferCollection = 2,