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)
31 _reco.localreco.remove(_reco.totemRPLocalReconstruction)
32 _reco.localreco.remove(_reco.ctppsDiamondLocalReconstruction)
33 _reco.localreco.remove(_reco.ctppsLocalTrackLiteProducer)
34 _reco.localreco.remove(_reco.ctppsPixelLocalReconstruction)
40 _reco.reducedEcalRecHitsSequence.remove(_reco.seldigis)
41 _reco.ecalRecHitSequence.remove(_reco.ecalCompactTrigPrim)
42 _reco.ecalRecHitSequence.remove(_reco.ecalTPSkim)
45 _reco.ecalRecHit.killDeadChannels =
False 46 _reco.ecalRecHit.recoverEBFE =
False 47 _reco.ecalRecHit.recoverEEFE =
False 48 _reco.ecalUncalibRecHitSequence.remove(_reco.ecalDetIdToBeRecovered)
54 _mod2del = _reco.trackingGlobalReco.expandAndClone()._seq._collection
55 _mod2del.append(_reco.trackingGlobalReco)
56 _mod2del.extend(_reco.recopixelvertexing.expandAndClone()._seq._collection)
57 _mod2del.append(_reco.MeasurementTrackerEventPreSplitting)
59 for _entry
in [_reco.firstStepPrimaryVerticesUnsorted,_reco.firstStepPrimaryVertices,_reco.ak4CaloJetsForTrk,_reco.caloTowerForTrk,_reco.initialStepTrackRefsForJets,_reco.trackExtrapolator]:
60 while _entry
in _mod2del:
61 _mod2del.remove(_entry)
64 _reco.localreco.remove(_reco.trackerlocalreco)
65 _reco.globalreco.remove(_reco.siPixelClusterShapeCachePreSplitting)
66 _reco.globalreco.remove(_reco.trackingGlobalReco)
72 _reco.firstStepPrimaryVerticesUnsorted.TrackLabel =
"generalTracks" 73 _reco.initialStepTrackRefsForJets.src =
"generalTracks" 77 _reco.globalreco.insert(0,_reco.trackExtrapolator+_reco.caloTowerForTrk+_reco.firstStepPrimaryVerticesUnsorted+_reco.ak4CaloJetsForTrk+_reco.initialStepTrackRefsForJets+_reco.firstStepPrimaryVertices)
81 _reco.KFFitterForRefitOutsideIn.Propagator =
'SmartPropagatorAny' 82 _reco.KFSmootherForRefitOutsideIn.Propagator =
'SmartPropagator' 85 import FastSimulation.Tracking.ElectronSeeds_cff
86 _reco.newCombinedSeeds = FastSimulation.Tracking.ElectronSeeds_cff.newCombinedSeeds
87 _reco.globalreco.insert(0,_reco.newCombinedSeeds)
96 import FastSimulation.Tracking.ElectronSeedTrackRefFix_cfi
97 _trackerDrivenElectronSeeds = FastSimulation.Tracking.ElectronSeedTrackRefFix_cfi.fixedTrackerDrivenElectronSeeds.clone()
98 _reco.electronSeeds.replace(_reco.trackerDrivenElectronSeeds,_reco.trackerDrivenElectronSeeds+_trackerDrivenElectronSeeds)
99 _reco.trackerDrivenElectronSeedsTmp = _reco.trackerDrivenElectronSeeds
100 _reco.trackerDrivenElectronSeedsTmp.TkColList = cms.VInputTag(cms.InputTag(
"generalTracksBeforeMixing"))
101 _reco.trackerDrivenElectronSeeds = _trackerDrivenElectronSeeds
102 _reco.trackerDrivenElectronSeeds.seedCollection.setModuleLabel(
"trackerDrivenElectronSeedsTmp")
103 _reco.trackerDrivenElectronSeeds.idCollection.setModuleLabel(
"trackerDrivenElectronSeedsTmp")
107 _reco.fastElectronCkfTrackCandidates = FastSimulation.Tracking.electronCkfTrackCandidates_cff.electronCkfTrackCandidates.clone()
108 _reco.electronGsfTracking.replace(_reco.electronCkfTrackCandidates,_reco.fastElectronCkfTrackCandidates)
109 _reco.electronGsfTracks.src =
"fastElectronCkfTrackCandidates" 112 _reco.electronGsfTracks.TTRHBuilder =
"WithoutRefit" 116 _reco.generalConversionTrackProducer.TrackProducer =
'generalTracksBeforeMixing' 119 import FastSimulation.Tracking.ConversionTrackRefFix_cfi
120 _conversionTrackRefFix = FastSimulation.Tracking.ConversionTrackRefFix_cfi.fixedConversionTracks.clone(
121 src = cms.InputTag(
"generalConversionTrackProducerTmp"))
122 _reco.conversionTrackSequenceNoEcalSeeded.replace(_reco.generalConversionTrackProducer,_reco.generalConversionTrackProducer+_conversionTrackRefFix)
123 _reco.generalConversionTrackProducerTmp = _reco.generalConversionTrackProducer
124 _reco.generalConversionTrackProducer = _conversionTrackRefFix
127 _reco.egammaGlobalReco.replace(_reco.conversionTrackSequence,_reco.conversionTrackSequenceNoEcalSeeded)
128 _reco.allConversions.src =
'gsfGeneralConversionTrackMerger' 132 _reco.egammaHighLevelRecoPrePF.remove(_reco.uncleanedOnlyElectronSequence)
135 _reco.egammareco.remove(_reco.conversionSequence)
136 _reco.egammaHighLevelRecoPrePF.remove(_reco.conversionSequence)
142 _reco.globalreco.remove(_reco.muoncosmicreco)
143 _reco.highlevelreco.remove(_reco.cosmicDCTracksSeq)
144 _reco.highlevelreco.remove(_reco.muoncosmichighlevelreco)
145 _reco.muons.FillCosmicsIdMap =
False 148 _reco.globalmuontracking.remove(_reco.displacedGlobalMuonTracking)
149 _reco.standalonemuontracking.remove(_reco.displacedMuonSeeds)
150 _reco.standalonemuontracking.remove(_reco.displacedStandAloneMuons)
153 _reco.muonGlobalReco.remove(_reco.muonreco_with_SET)
156 _reco.muonGlobalReco.remove(_reco.muonSelectionTypeSequence)
157 _reco.muons.FillSelectorMaps =
False 160 _reco.globalMuons.GLBTrajBuilderParameters.GlbRefitterParameters.TrackerRecHitBuilder =
'WithoutRefit' 161 _reco.globalMuons.GLBTrajBuilderParameters.TrackerRecHitBuilder =
'WithoutRefit' 162 _reco.globalMuons.GLBTrajBuilderParameters.TrackTransformer.TrackerRecHitBuilder =
'WithoutRefit' 163 _reco.tevMuons.RefitterParameters.TrackerRecHitBuilder =
'WithoutRefit' 166 _reco.globalMuons.GLBTrajBuilderParameters.GlbRefitterParameters.Propagator =
'SmartPropagatorAny' 167 _reco.globalMuons.GLBTrajBuilderParameters.GlobalMuonTrackMatcher.Propagator =
'SmartPropagator' 168 _reco.globalMuons.GLBTrajBuilderParameters.TrackTransformer.Propagator =
'SmartPropagatorAny' 169 _reco.GlbMuKFFitter.Propagator =
"SmartPropagatorAny" 170 _reco.GlobalMuonRefitter.Propagator =
"SmartPropagatorAny" 171 _reco.KFSmootherForMuonTrackLoader.Propagator =
"SmartPropagatorAny" 172 _reco.KFSmootherForRefitInsideOut.Propagator =
"SmartPropagatorAny" 173 _reco.KFFitterForRefitInsideOut.Propagator =
"SmartPropagatorAny" 174 _reco.tevMuons.RefitterParameters.Propagator =
"SmartPropagatorAny" 180 _reco.BeamHaloId.remove(_reco.CSCHaloData)
182 _reco.BeamHaloId.remove(_reco.GlobalHaloData)
183 _reco.BeamHaloId.remove(_reco.BeamHaloSummary)
188 for _entry
in _mod2del:
189 for _key,_value
in _reco.__dict__.items():
191 if isinstance(_value,cms.Sequence):
193 _index = _value.index(_entry)
197 _value.remove(_entry)
201 if not isinstance(_value._seq,_SequenceCollection):
202 _mod2del.append(_value)
205 for _entry
in _mod2del:
206 for _key,_value
in _reco.__dict__.items():