5 process.load(
'RecoLocalTracker.SubCollectionProducers.jetCoreClusterSplitter_cfi')
6 clustersTmp =
'siPixelClustersPreSplitting'
8 process.siPixelClustersPreSplitting = process.siPixelClusters.clone()
9 process.siPixelRecHitsPreSplitting = process.siPixelRecHits.clone()
10 process.siPixelRecHitsPreSplitting.src = clustersTmp
11 process.pixeltrackerlocalreco.replace(process.siPixelClusters, process.siPixelClustersPreSplitting)
12 process.pixeltrackerlocalreco.replace(process.siPixelRecHits, process.siPixelRecHitsPreSplitting)
13 process.clusterSummaryProducer.pixelClusters = clustersTmp
17 process.MeasurementTrackerEventPreSplitting = process.MeasurementTrackerEvent.clone()
18 process.MeasurementTrackerEventPreSplitting.pixelClusterProducer = clustersTmp
19 process.siPixelClusterShapeCachePreSplitting = process.siPixelClusterShapeCache.clone()
20 process.siPixelClusterShapeCachePreSplitting.src = clustersTmp
21 process.globalreco.replace(process.MeasurementTrackerEvent, process.MeasurementTrackerEventPreSplitting)
22 process.globalreco.replace(process.siPixelClusterShapeCache, process.siPixelClusterShapeCachePreSplitting)
27 process.initialStepSeedLayersPreSplitting = process.initialStepSeedLayers.clone()
28 process.initialStepSeedLayersPreSplitting.FPix.HitProducer =
'siPixelRecHitsPreSplitting'
29 process.initialStepSeedLayersPreSplitting.BPix.HitProducer =
'siPixelRecHitsPreSplitting'
31 process.initialStepSeedsPreSplitting = process.initialStepSeeds.clone()
32 process.initialStepSeedsPreSplitting.OrderedHitsFactoryPSet.SeedingLayers =
'initialStepSeedLayersPreSplitting'
33 process.initialStepSeedsPreSplitting.OrderedHitsFactoryPSet.GeneratorPSet.SeedComparitorPSet.clusterShapeCacheSrc =
'siPixelClusterShapeCachePreSplitting'
34 process.initialStepSeedsPreSplitting.ClusterCheckPSet.PixelClusterCollectionLabel = clustersTmp
36 process.initialStepTrackCandidatesPreSplitting = process.initialStepTrackCandidates.clone()
37 process.initialStepTrackCandidatesPreSplitting.src =
'initialStepSeedsPreSplitting'
38 process.initialStepTrackCandidatesPreSplitting.MeasurementTrackerEvent =
'MeasurementTrackerEventPreSplitting'
40 process.initialStepTracksPreSplitting = process.initialStepTracks.clone()
41 process.initialStepTracksPreSplitting.src =
'initialStepTrackCandidatesPreSplitting'
42 process.initialStepTracksPreSplitting.MeasurementTrackerEvent =
'MeasurementTrackerEventPreSplitting'
44 process.firstStepPrimaryVerticesPreSplitting = process.firstStepPrimaryVertices.clone()
45 process.firstStepPrimaryVerticesPreSplitting.TrackLabel =
'initialStepTracksPreSplitting'
47 process.initialStepTrackRefsForJetsPreSplitting = process.initialStepTrackRefsForJets.clone()
48 process.initialStepTrackRefsForJetsPreSplitting.src =
'initialStepTracksPreSplitting'
49 process.caloTowerForTrkPreSplitting = process.caloTowerForTrk.clone()
50 process.ak4CaloJetsForTrkPreSplitting = process.ak4CaloJetsForTrk.clone()
51 process.ak4CaloJetsForTrkPreSplitting.src =
'caloTowerForTrkPreSplitting'
52 process.ak4CaloJetsForTrkPreSplitting.srcPVs =
'firstStepPrimaryVerticesPreSplitting'
53 process.jetsForCoreTrackingPreSplitting = process.jetsForCoreTracking.clone()
54 process.jetsForCoreTrackingPreSplitting.src =
'ak4CaloJetsForTrkPreSplitting'
56 process.siPixelClusters = process.jetCoreClusterSplitter.clone(
57 pixelClusters = cms.InputTag(clustersTmp),
58 vertices = cms.InputTag(
'firstStepPrimaryVerticesPreSplitting'),
59 cores = cms.InputTag(
"jetsForCoreTrackingPreSplitting"),
63 process.InitialStepPreSplitting = cms.Sequence(process.initialStepSeedLayersPreSplitting +
64 process.initialStepSeedsPreSplitting +
65 process.initialStepTrackCandidatesPreSplitting +
66 process.initialStepTracksPreSplitting +
67 process.firstStepPrimaryVerticesPreSplitting +
68 process.initialStepTrackRefsForJetsPreSplitting +
69 process.caloTowerForTrkPreSplitting +
70 process.ak4CaloJetsForTrkPreSplitting +
71 process.jetsForCoreTrackingPreSplitting +
72 process.siPixelClusters +
73 process.siPixelRecHits +
74 process.MeasurementTrackerEvent +
75 process.siPixelClusterShapeCache)
77 process.iterTracking.insert(0,process.InitialStepPreSplitting)
def customizeForClusterSplitting