9 import FWCore.ParameterSet.Config
as cms
22 _mod2del.append(_reco.offlineBeamSpot)
23 _reco.globalreco.remove(_reco.offlineBeamSpot)
28 _reco.localreco.remove(_reco.castorreco)
29 _reco.globalreco.remove(_reco.CastorFullReco)
30 _reco.hcalLocalRecoSequence.remove(_reco.zdcreco)
36 _reco.reducedEcalRecHitsSequence.remove(_reco.seldigis)
37 _reco.ecalRecHitSequence.remove(_reco.ecalCompactTrigPrim)
38 _reco.ecalRecHitSequence.remove(_reco.ecalTPSkim)
41 _reco.ecalRecHit.killDeadChannels =
False
42 _reco.ecalRecHit.recoverEBFE =
False
43 _reco.ecalRecHit.recoverEEFE =
False
44 _reco.ecalUncalibRecHitSequence.remove(_reco.ecalDetIdToBeRecovered)
50 _mod2del = _reco.trackingGlobalReco.expandAndClone()._seq._collection
51 _mod2del.append(_reco.trackingGlobalReco)
52 _mod2del.extend(_reco.recopixelvertexing.expandAndClone()._seq._collection)
53 _mod2del.append(_reco.MeasurementTrackerEventPreSplitting)
55 for _entry
in [_reco.firstStepPrimaryVertices,_reco.ak4CaloJetsForTrk,_reco.caloTowerForTrk,_reco.trackExtrapolator]:
56 while _entry
in _mod2del:
57 _mod2del.remove(_entry)
60 _reco.localreco.remove(_reco.trackerlocalreco)
61 _reco.globalreco.remove(_reco.siPixelClusterShapeCachePreSplitting)
62 _reco.globalreco.remove(_reco.trackingGlobalReco)
68 _reco.firstStepPrimaryVertices.TrackLabel =
"generalTracks"
72 _reco.globalreco.insert(0,_reco.trackExtrapolator+_reco.caloTowerForTrk+_reco.firstStepPrimaryVertices+_reco.ak4CaloJetsForTrk)
76 _reco.KFFitterForRefitOutsideIn.Propagator =
'SmartPropagatorAny'
77 _reco.KFSmootherForRefitOutsideIn.Propagator =
'SmartPropagator'
80 import FastSimulation.Tracking.ElectronSeeds_cff
81 _reco.newCombinedSeeds = FastSimulation.Tracking.ElectronSeeds_cff.newCombinedSeeds
82 _reco.globalreco.insert(0,_reco.newCombinedSeeds)
91 import FastSimulation.Tracking.ElectronSeedTrackRefFix_cfi
92 _trackerDrivenElectronSeeds = FastSimulation.Tracking.ElectronSeedTrackRefFix_cfi.fixedTrackerDrivenElectronSeeds.clone()
93 _reco.electronSeeds.replace(_reco.trackerDrivenElectronSeeds,_reco.trackerDrivenElectronSeeds+_trackerDrivenElectronSeeds)
94 _reco.trackerDrivenElectronSeedsTmp = _reco.trackerDrivenElectronSeeds
95 _reco.trackerDrivenElectronSeedsTmp.TkColList = cms.VInputTag(cms.InputTag(
"generalTracksBeforeMixing"))
96 _reco.trackerDrivenElectronSeeds = _trackerDrivenElectronSeeds
97 _reco.trackerDrivenElectronSeeds.seedCollection.setModuleLabel(
"trackerDrivenElectronSeedsTmp")
98 _reco.trackerDrivenElectronSeeds.idCollection.setModuleLabel(
"trackerDrivenElectronSeedsTmp")
102 _reco.fastElectronCkfTrackCandidates = FastSimulation.Tracking.electronCkfTrackCandidates_cff.electronCkfTrackCandidates.clone()
103 _reco.electronGsfTracking.replace(_reco.electronCkfTrackCandidates,_reco.fastElectronCkfTrackCandidates)
104 _reco.electronGsfTracks.src =
"fastElectronCkfTrackCandidates"
107 _reco.electronGsfTracks.TTRHBuilder =
"WithoutRefit"
111 _reco.generalConversionTrackProducer.TrackProducer =
'generalTracksBeforeMixing'
114 import FastSimulation.Tracking.ConversionTrackRefFix_cfi
115 _conversionTrackRefFix = FastSimulation.Tracking.ConversionTrackRefFix_cfi.fixedConversionTracks.clone(
116 src = cms.InputTag(
"generalConversionTrackProducerTmp"))
117 _reco.conversionTrackSequenceNoEcalSeeded.replace(_reco.generalConversionTrackProducer,_reco.generalConversionTrackProducer+_conversionTrackRefFix)
118 _reco.generalConversionTrackProducerTmp = _reco.generalConversionTrackProducer
119 _reco.generalConversionTrackProducer = _conversionTrackRefFix
122 _reco.egammaGlobalReco.replace(_reco.conversionTrackSequence,_reco.conversionTrackSequenceNoEcalSeeded)
123 _reco.allConversions.src =
'gsfGeneralConversionTrackMerger'
127 _reco.egammaHighLevelRecoPrePF.remove(_reco.uncleanedOnlyElectronSequence)
130 _reco.egammareco.remove(_reco.conversionSequence)
131 _reco.egammaHighLevelRecoPrePF.remove(_reco.conversionSequence)
137 _reco.globalreco.remove(_reco.muoncosmicreco)
138 _reco.highlevelreco.remove(_reco.muoncosmichighlevelreco)
139 _reco.muons.FillCosmicsIdMap =
False
142 _reco.globalmuontracking.remove(_reco.displacedGlobalMuonTracking)
143 _reco.standalonemuontracking.remove(_reco.displacedMuonSeeds)
144 _reco.standalonemuontracking.remove(_reco.displacedStandAloneMuons)
147 _reco.muonGlobalReco.remove(_reco.muonreco_with_SET)
150 _reco.muonGlobalReco.remove(_reco.muonSelectionTypeSequence)
151 _reco.muons.FillSelectorMaps =
False
154 _reco.globalMuons.GLBTrajBuilderParameters.GlbRefitterParameters.TrackerRecHitBuilder =
'WithoutRefit'
155 _reco.globalMuons.GLBTrajBuilderParameters.TrackerRecHitBuilder =
'WithoutRefit'
156 _reco.globalMuons.GLBTrajBuilderParameters.TrackTransformer.TrackerRecHitBuilder =
'WithoutRefit'
157 _reco.tevMuons.RefitterParameters.TrackerRecHitBuilder =
'WithoutRefit'
160 _reco.globalMuons.GLBTrajBuilderParameters.GlbRefitterParameters.Propagator =
'SmartPropagatorAny'
161 _reco.globalMuons.GLBTrajBuilderParameters.GlobalMuonTrackMatcher.Propagator =
'SmartPropagator'
162 _reco.globalMuons.GLBTrajBuilderParameters.TrackTransformer.Propagator =
'SmartPropagatorAny'
163 _reco.GlbMuKFFitter.Propagator =
"SmartPropagatorAny"
164 _reco.GlobalMuonRefitter.Propagator =
"SmartPropagatorAny"
165 _reco.KFSmootherForMuonTrackLoader.Propagator =
"SmartPropagatorAny"
166 _reco.KFSmootherForRefitInsideOut.Propagator =
"SmartPropagatorAny"
167 _reco.KFFitterForRefitInsideOut.Propagator =
"SmartPropagatorAny"
168 _reco.tevMuons.RefitterParameters.Propagator =
"SmartPropagatorAny"
174 _reco.BeamHaloId.remove(_reco.CSCHaloData)
176 _reco.BeamHaloId.remove(_reco.GlobalHaloData)
177 _reco.BeamHaloId.remove(_reco.BeamHaloSummary)
182 for _entry
in _mod2del:
183 for _key,_value
in _reco.__dict__.items():
185 if isinstance(_value,cms.Sequence):
187 _index = _value.index(_entry)
191 _value.remove(_entry)
195 if not isinstance(_value._seq,_SequenceCollection):
196 _mod2del.append(_value)
199 for _entry
in _mod2del:
200 for _key,_value
in _reco.__dict__.items():