22 _mod2del = _reco.trackingGlobalReco.expandAndClone()._seq._collection
23 _mod2del.append(_reco.trackingGlobalReco)
24 _mod2del.extend(_reco.recopixelvertexing.expandAndClone()._seq._collection)
25 _mod2del.append(_reco.MeasurementTrackerEventPreSplitting)
28 for _entry
in [_reco.firstStepPrimaryVertices,_reco.ak4CaloJetsForTrk,_reco.caloTowerForTrk,_reco.trackExtrapolator]:
29 while _entry
in _mod2del:
30 _mod2del.remove(_entry)
33 _mod2del.append(_reco.offlineBeamSpot)
38 _reco.localreco.remove(_reco.castorreco)
39 _reco.globalreco.remove(_reco.CastorFullReco)
40 _reco.hcalLocalRecoSequence.remove(_reco.zdcreco)
47 _reco.reducedEcalRecHitsSequence.remove(_reco.seldigis)
48 _reco.ecalRecHitSequence.remove(_reco.ecalCompactTrigPrim)
49 _reco.ecalRecHitSequence.remove(_reco.ecalTPSkim)
52 _reco.ecalRecHit.killDeadChannels =
False
53 _reco.ecalRecHit.recoverEBFE =
False
54 _reco.ecalRecHit.recoverEEFE =
False
55 _reco.ecalUncalibRecHitSequence.remove(_reco.ecalDetIdToBeRecovered)
61 _reco.localreco.remove(_reco.trackerlocalreco)
62 _reco.globalreco.remove(_reco.siPixelClusterShapeCachePreSplitting)
63 _reco.globalreco.remove(_reco.trackingGlobalReco)
69 _reco.firstStepPrimaryVertices.TrackLabel =
"generalTracks"
73 _reco.globalreco.insert(0,_reco.trackExtrapolator+_reco.caloTowerForTrk+_reco.firstStepPrimaryVertices+_reco.ak4CaloJetsForTrk)
77 _reco.KFFitterForRefitOutsideIn.Propagator =
'SmartPropagatorAny'
78 _reco.KFSmootherForRefitOutsideIn.Propagator =
'SmartPropagator'
86 import FastSimulation.Tracking.globalCombinedSeeds_cfi
87 _reco.newCombinedSeeds = FastSimulation.Tracking.globalCombinedSeeds_cfi.newCombinedSeeds
88 _reco.globalreco.insert(0,_reco.newCombinedSeeds)
94 import FastSimulation.Tracking.ElectronSeedTrackRefFix_cfi
95 _trackerDrivenElectronSeeds = FastSimulation.Tracking.ElectronSeedTrackRefFix_cfi.fixedTrackerDrivenElectronSeeds.clone()
96 _reco.electronSeeds.replace(_reco.trackerDrivenElectronSeeds,_reco.trackerDrivenElectronSeeds+_trackerDrivenElectronSeeds)
97 _reco.trackerDrivenElectronSeedsTmp = _reco.trackerDrivenElectronSeeds
98 _reco.trackerDrivenElectronSeedsTmp.TkColList = cms.VInputTag(cms.InputTag(
"generalTracksBeforeMixing"))
99 _reco.trackerDrivenElectronSeeds = _trackerDrivenElectronSeeds
100 _reco.trackerDrivenElectronSeeds.seedCollection.setModuleLabel(
"trackerDrivenElectronSeedsTmp")
101 _reco.trackerDrivenElectronSeeds.idCollection.setModuleLabel(
"trackerDrivenElectronSeedsTmp")
105 _reco.electronGSGsfTrackCandidates = FastSimulation.EgammaElectronAlgos.electronGSGsfTrackCandidates_cff.electronGSGsfTrackCandidates
106 _reco.electronGsfTracking.replace(_reco.electronCkfTrackCandidates,_reco.electronGSGsfTrackCandidates)
107 _reco.electronGsfTracks.src =
"electronGSGsfTrackCandidates"
110 _reco.electronGsfTracks.TTRHBuilder =
"WithoutRefit"
114 _reco.generalConversionTrackProducer.TrackProducer =
'generalTracksBeforeMixing'
117 import FastSimulation.Tracking.ConversionTrackRefFix_cfi
118 _conversionTrackRefFix = FastSimulation.Tracking.ConversionTrackRefFix_cfi.fixedConversionTracks.clone(
119 src = cms.InputTag(
"generalConversionTrackProducerTmp"))
120 _reco.conversionTrackSequenceNoEcalSeeded.replace(_reco.generalConversionTrackProducer,_reco.generalConversionTrackProducer+_conversionTrackRefFix)
121 _reco.generalConversionTrackProducerTmp = _reco.generalConversionTrackProducer
122 _reco.generalConversionTrackProducer = _conversionTrackRefFix
125 _reco.egammaGlobalReco.replace(_reco.conversionTrackSequence,_reco.conversionTrackSequenceNoEcalSeeded)
126 _reco.allConversions.src =
'gsfGeneralConversionTrackMerger'
130 _reco.egammaHighLevelRecoPrePF.remove(_reco.uncleanedOnlyElectronSequence)
133 _reco.egammareco.remove(_reco.conversionSequence)
134 _reco.egammaHighLevelRecoPrePF.remove(_reco.conversionSequence)
140 _reco.globalreco.remove(_reco.muoncosmicreco)
141 _reco.highlevelreco.remove(_reco.muoncosmichighlevelreco)
142 _reco.muons.FillCosmicsIdMap =
False
145 _reco.globalmuontracking.remove(_reco.displacedGlobalMuonTracking)
146 _reco.standalonemuontracking.remove(_reco.displacedMuonSeeds)
147 _reco.standalonemuontracking.remove(_reco.displacedStandAloneMuons)
150 _reco.muonGlobalReco.remove(_reco.muonreco_with_SET)
153 _reco.muonGlobalReco.remove(_reco.muonSelectionTypeSequence)
154 _reco.muons.FillSelectorMaps =
False
157 _reco.globalMuons.GLBTrajBuilderParameters.GlbRefitterParameters.TrackerRecHitBuilder =
'WithoutRefit'
158 _reco.globalMuons.GLBTrajBuilderParameters.TrackerRecHitBuilder =
'WithoutRefit'
159 _reco.globalMuons.GLBTrajBuilderParameters.TrackTransformer.TrackerRecHitBuilder =
'WithoutRefit'
160 _reco.tevMuons.RefitterParameters.TrackerRecHitBuilder =
'WithoutRefit'
163 _reco.globalMuons.GLBTrajBuilderParameters.GlbRefitterParameters.Propagator =
'SmartPropagatorAny'
164 _reco.globalMuons.GLBTrajBuilderParameters.GlobalMuonTrackMatcher.Propagator =
'SmartPropagator'
165 _reco.globalMuons.GLBTrajBuilderParameters.TrackTransformer.Propagator =
'SmartPropagatorAny'
166 _reco.GlbMuKFFitter.Propagator =
"SmartPropagatorAny"
167 _reco.GlobalMuonRefitter.Propagator =
"SmartPropagatorAny"
168 _reco.KFSmootherForMuonTrackLoader.Propagator =
"SmartPropagatorAny"
169 _reco.KFSmootherForRefitInsideOut.Propagator =
"SmartPropagatorAny"
170 _reco.KFFitterForRefitInsideOut.Propagator =
"SmartPropagatorAny"
171 _reco.tevMuons.RefitterParameters.Propagator =
"SmartPropagatorAny"
178 _reco.jetHighLevelReco.remove(_reco.recoJetAssociationsExplicit)
181 _reco.metreco.remove(_reco.BeamHaloId)
184 _reco.metrecoPlusHCALNoise.remove(_reco.hcalnoise)
193 _FSparticleFlowTmp = FastSimulation.ParticleFlow.FSparticleFlow_cfi.FSparticleFlow
194 _reco.particleFlowReco.replace(_reco.particleFlowTmp,_reco.particleFlowTmp+_FSparticleFlowTmp)
195 _reco.particleFlowTmpTmp = _reco.particleFlowTmp
196 _reco.particleFlowTmp = _FSparticleFlowTmp
197 _reco.particleFlowTmp.pfCandidates = cms.InputTag(
"particleFlowTmpTmp")
207 for _entry
in _mod2del:
208 for _key,_value
in _reco.__dict__.items():
210 if isinstance(_value,cms.Sequence):
212 _index = _value.index(_entry)
216 _value.remove(_entry)
220 if not isinstance(_value._seq,_SequenceCollection):
221 _mod2del.append(_value)
224 for _entry
in _mod2del:
225 for _key,_value
in _reco.__dict__.items():