CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
splitter_tracking_setup_cff Namespace Reference

Functions

def customizeTracking
 

Function Documentation

def splitter_tracking_setup_cff.customizeTracking (   newpixclusters,
  newstripclusters,
  newpixrechits,
  newstriprechits 
)

Definition at line 16 of file splitter_tracking_setup_cff.py.

16 
17 def customizeTracking(newpixclusters, newstripclusters, newpixrechits, newstriprechits):
18 
19  matchedsplitSiStripRecHits = cms.InputTag(newstriprechits,"matchedRecHit"),
20  matchedsplitSiPixelRecHits = cms.InputTag(newpixrechits,"matchedRecHit"),
21  rphisplitSiStripRecHits = cms.InputTag(newstriprechits,"rphiRecHit"),
22  stereosplitSiStripRecHits = cms.InputTag(newpixrechits,"stereoRecHit"),
23 
24  seedClusterRemover.stripClusters = newstripclusters
25  seedClusterRemover.pixelClusters = newpixclusters
26 
27 
28 
29  initialStepSeedLayers.BPix.HitProducer =newpixrechits
30  initialStepSeedLayers.FPix.HitProducer =newpixrechits
31  initialStepClusters.pixelClusters = newpixclusters
32  initialStepClusters.stripClusters = newstripclusters
33  initialStepClusters.stripRecHits =newstriprechits
34  initialStepSeeds.ClusterCheckPSet.PixelClusterCollectionLabel = newpixclusters
35  initialStepSeeds.ClusterCheckPSet.ClusterCollectionLabel = newstripclusters
36  #initialStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'initialStepSeedLayers'
37 
38  initialStepSeedClusterMask.stripClusters = newstripclusters
39  initialStepSeedClusterMask.pixelClusters = newpixclusters
40 
41  pixelPairStepSeedClusterMask.stripClusters = newstripclusters
42  pixelPairStepSeedClusterMask.pixelClusters = newpixclusters
43 
44  mixedTripletStepSeedClusterMask.stripClusters = newstripclusters
45  mixedTripletStepSeedClusterMask.pixelClusters = newpixclusters
46 
47 
48  tripletElectronClusterMask.stripClusters = newstripclusters
49  tripletElectronClusterMask.pixelClusters = newpixclusters
50 
51  tripletElectronSeedLayers.BPix.HitProducer =newpixrechits
52  tripletElectronSeedLayers.FPix.HitProducer =newpixrechits
53 
54  pixelPairElectronSeedLayers.BPix.HitProducer =newpixrechits
55  pixelPairElectronSeedLayers.FPix.HitProducer =newpixrechits
56 
57  stripPairElectronSeedLayers.TIB.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
58  stripPairElectronSeedLayers.TID.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
59  stripPairElectronSeedLayers.TEC.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
60 
61 
62 
63  lowPtTripletStepClusters.pixelClusters = newpixclusters
64  lowPtTripletStepClusters.stripClusters = newstripclusters
65  lowPtTripletStepSeedLayers.BPix.HitProducer =newpixrechits
66  lowPtTripletStepSeedLayers.FPix.HitProducer =newpixrechits
67  lowPtTripletStepSeeds.ClusterCheckPSet.PixelClusterCollectionLabel = newpixclusters
68  lowPtTripletStepSeeds.ClusterCheckPSet.ClusterCollectionLabel = newstripclusters
69 
70 
71  pixelPairStepClusters.pixelClusters = newpixclusters
72  pixelPairStepClusters.stripClusters = newstripclusters
73  pixelPairStepSeedLayers.BPix.HitProducer =newpixrechits
74  pixelPairStepSeedLayers.FPix.HitProducer =newpixrechits
75  pixelPairStepSeeds.ClusterCheckPSet.PixelClusterCollectionLabel = newpixclusters
76  pixelPairStepSeeds.ClusterCheckPSet.ClusterCollectionLabel = newstripclusters
77 
78  detachedTripletStepClusters.pixelClusters = newpixclusters
79  detachedTripletStepClusters.stripClusters = newstripclusters
80  detachedTripletStepSeedLayers.BPix.HitProducer =newpixrechits
81  detachedTripletStepSeedLayers.FPix.HitProducer =newpixrechits
82  detachedTripletStepSeeds.ClusterCheckPSet.PixelClusterCollectionLabel = newpixclusters
83  detachedTripletStepSeeds.ClusterCheckPSet.ClusterCollectionLabel = newstripclusters
84  detachedTripletStepClusters.stripRecHits =newstriprechits
85 
86  mixedTripletStepClusters.pixelClusters = newpixclusters
87  mixedTripletStepClusters.stripClusters = newstripclusters
88  mixedTripletStepSeedLayersA.BPix.HitProducer =newpixrechits
89  mixedTripletStepSeedLayersA.FPix.HitProducer =newpixrechits
90  mixedTripletStepSeedLayersB.BPix.HitProducer =newpixrechits
91  mixedTripletStepSeedsA.ClusterCheckPSet.PixelClusterCollectionLabel = newpixclusters
92  mixedTripletStepSeedsA.ClusterCheckPSet.ClusterCollectionLabel = newstripclusters
93  mixedTripletStepSeedsB.ClusterCheckPSet.PixelClusterCollectionLabel = newpixclusters
94  mixedTripletStepSeedsB.ClusterCheckPSet.ClusterCollectionLabel = newstripclusters
95  mixedTripletStepSeedLayersA.TEC.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
96  mixedTripletStepSeedLayersB.TIB.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
97 
98 
99 
100  pixelLessStepSeedClusterMask.stripClusters = newstripclusters
101  pixelLessStepSeedClusterMask.pixelClusters = newpixclusters
102  pixelLessStepClusters.pixelClusters = newpixclusters
103  pixelLessStepClusters.stripClusters = newstripclusters
104  pixelLessStepSeeds.ClusterCheckPSet.PixelClusterCollectionLabel = newpixclusters
105  pixelLessStepSeeds.ClusterCheckPSet.ClusterCollectionLabel = newstripclusters
106  pixelLessStepSeedClusters.stripRecHits = newstriprechits
107  pixelLessStepSeedClusters.pixelClusters = newpixclusters
108  pixelLessStepSeedClusters.stripClusters = newstripclusters
109  pixelLessStepSeedLayers.MTIB.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
110  pixelLessStepSeedLayers.MTID.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
111  pixelLessStepSeedLayers.MTEC.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
112 
113  pixelLessStepSeedLayers.TIB.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
114  pixelLessStepSeedLayers.TID.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
115  pixelLessStepSeedLayers.TEC.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
116 
117  tobTecStepClusters.pixelClusters = newpixclusters
118  tobTecStepClusters.stripClusters = newstripclusters
119  tobTecStepSeedClusters.pixelClusters = newpixclusters
120  tobTecStepSeedClusters.stripClusters = newstripclusters
121  tobTecStepSeedClusters.stripRecHits =newstriprechits
122  tobTecStepSeedLayersPair.TOB.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
123  tobTecStepSeedLayersPair.TEC.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
124  tobTecStepSeedLayersTripl.TOB.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
125  tobTecStepSeedLayersTripl.MTOB.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
126  tobTecStepSeedLayersTripl.MTEC.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
127 
128 
129  MeasurementTrackerEvent.pixelClusterProducer = newpixclusters
130  MeasurementTrackerEvent.stripClusterProducer = newstripclusters
131 
132  globalSeedsFromTriplets.ClusterCheckPSet.ClusterCollectionLabel=newstripclusters
133  globalSeedsFromTriplets.ClusterCheckPSet.PixelClusterCollectionLabel=newpixclusters
134 
135 
136 
137  photonConvTrajSeedFromSingleLeg.ClusterCheckPSet.PixelClusterCollectionLabel = newpixclusters
138  photonConvTrajSeedFromSingleLeg.ClusterCheckPSet.ClusterCollectionLabel = newstripclusters
139  convClusters.pixelClusters = newpixclusters
140  convClusters.stripClusters = newstripclusters
141  convLayerPairs.BPix.HitProducer =newpixrechits
142  convLayerPairs.FPix.HitProducer =newpixrechits
143  convLayerPairs.TIB1.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
144  convLayerPairs.TIB2.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
145  convLayerPairs.TID1.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
146  convLayerPairs.TID2.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
147  convLayerPairs.TID3.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
148  convLayerPairs.TEC.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
149  convLayerPairs.TOB1.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
150  convLayerPairs.TOB2.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
151  convLayerPairs.TIB3.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
152  convLayerPairs.TIB4.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
153  convLayerPairs.TID1.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
154  convLayerPairs.TID2.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
155  convLayerPairs.TID3.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
156  convLayerPairs.TEC.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
157  convLayerPairs.TOB3.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
158  convLayerPairs.TOB4.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
159  convLayerPairs.TOB5.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
160  convLayerPairs.TOB6.rphiRecHits = cms.InputTag(newstriprechits,"rstrophiRecHit")
161  convLayerPairs.TID1.stereoRecHits = cms.InputTag(newstriprechits,"stereoRecHit")
162  convLayerPairs.TID2.stereoRecHits = cms.InputTag(newstriprechits,"stereoRecHit")
163  convLayerPairs.TID3.stereoRecHits = cms.InputTag(newstriprechits,"stereoRecHit")
164  convLayerPairs.TEC.stereoRecHits = cms.InputTag(newstriprechits,"stereoRecHit")