1 import FWCore.ParameterSet.Config
as cms
6 if not hasattr(process,
'reconstruction'):
16 if not hasattr(process,
'reconstruction'):
19 tgrIndex = process.globalreco.index(process.trackingGlobalReco)
20 tgrIndexFromReco = process.reconstruction_fromRECO.index(process.InitialStep)
21 process.globalreco.remove(process.trackingGlobalReco)
22 process.reconstruction_fromRECO.remove(process.InitialStep)
23 process.reconstruction_fromRECO.remove(process.DetachedTripletStep)
24 process.reconstruction_fromRECO.remove(process.LowPtTripletStep)
25 process.reconstruction_fromRECO.remove(process.PixelPairStep)
26 process.reconstruction_fromRECO.remove(process.MixedTripletStep)
27 process.reconstruction_fromRECO.remove(process.PixelLessStep)
28 process.reconstruction_fromRECO.remove(process.TobTecStep)
29 process.reconstruction_fromRECO.remove(process.JetCoreRegionalStep)
30 process.reconstruction_fromRECO.remove(process.earlyGeneralTracks)
31 process.reconstruction_fromRECO.remove(process.muonSeededStep)
32 process.reconstruction_fromRECO.remove(process.preDuplicateMergingGeneralTracks)
33 process.reconstruction_fromRECO.remove(process.generalTracksSequence)
34 process.reconstruction_fromRECO.remove(process.ConvStep)
35 process.reconstruction_fromRECO.remove(process.conversionStepTracks)
36 del process.trackingGlobalReco
38 del process.ckftracks_wodEdX
39 del process.ckftracks_plus_pixelless
40 del process.ckftracks_woBH
41 del process.iterTracking
42 del process.InitialStep
43 del process.LowPtTripletStep
44 del process.PixelPairStep
45 del process.DetachedTripletStep
46 del process.MixedTripletStep
47 del process.PixelLessStep
48 del process.TobTecStep
49 del process.JetCoreRegionalStep
52 process.load(
"RecoTracker.Configuration.RecoTrackerRunI_cff")
54 process.globalreco.insert(tgrIndex, process.trackingGlobalReco)
55 process.globalreco.insert(tgrIndex, process.recopixelvertexing)
56 process.reconstruction_fromRECO.insert(tgrIndexFromReco, process.iterTracking)
59 process.earlyGeneralTracks.trackProducers = [
'initialStepTracks',
60 'lowPtTripletStepTracks',
61 'pixelPairStepTracks',
62 'detachedTripletStepTracks',
63 'mixedTripletStepTracks',
64 'pixelLessStepTracks',
68 process.earlyGeneralTracks.inputClassifiers =[
"initialStepSelector",
69 "lowPtTripletStepSelector",
70 "pixelPairStepSelector",
71 "detachedTripletStep",
73 "pixelLessStepSelector",
78 process.siPixelClusters = process.siPixelClustersPreSplitting.clone()
79 process.pixeltrackerlocalreco.replace(process.siPixelClustersPreSplitting, process.siPixelClusters)
80 process.pixeltrackerlocalreco.replace(process.siPixelRecHitsPreSplitting, process.siPixelRecHits)
81 process.clusterSummaryProducer.pixelClusters =
'siPixelClusters'
82 process.globalreco.replace(process.MeasurementTrackerEventPreSplitting, process.MeasurementTrackerEvent)
83 process.globalreco.replace(process.siPixelClusterShapeCachePreSplitting, process.siPixelClusterShapeCache)
86 process.muonSeededTracksInOutClassifier.vertices =
'pixelVertices'
87 process.muonSeededTracksOutInClassifier.vertices =
'pixelVertices'
88 process.muonSeededTracksOutInDisplacedClassifier.vertices =
'pixelVertices'
89 process.duplicateTrackClassifier.vertices =
'pixelVertices'
90 process.duplicateDisplacedTrackClassifier.vertices =
'pixelVertices'
91 process.convStepSelector.vertices =
'pixelVertices'
92 process.pixelPairElectronSeeds.RegionFactoryPSet.RegionPSet.VertexCollection =
'pixelVertices'
93 process.ak4CaloJetsForTrk.srcPVs =
'pixelVertices'
94 process.photonConvTrajSeedFromSingleLeg.primaryVerticesTag =
'pixelVertices'
101 process.SiStripClusterChargeCutTight.value = -1.
102 process.SiStripClusterChargeCutLoose.value = -1.
105 if hasattr(process,
'TrackingDQMSourceTier0Common')
and 'TrackSeedMonjetCoreRegionalStep' in process.TrackingDQMSourceTier0Common.moduleNames():
106 process.TrackingDQMSourceTier0Common.remove(process.TrackSeedMonjetCoreRegionalStep)
108 if hasattr(process,
'TrackingDQMSourceTier0')
and 'TrackSeedMonjetCoreRegionalStep' in process.TrackingDQMSourceTier0.moduleNames():
109 process.TrackingDQMSourceTier0.remove(process.TrackSeedMonjetCoreRegionalStep)
111 if hasattr(process,
'TrackingDQMSourceTier0MinBias')
and 'TrackSeedMonjetCoreRegionalStep' in process.TrackingDQMSourceTier0MinBias.moduleNames():
112 process.TrackingDQMSourceTier0MinBias.remove(process.TrackSeedMonjetCoreRegionalStep)