test
CMS 3D CMS Logo

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

Functions

def customizeTracking
 

Function Documentation

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

Definition at line 16 of file splitter_tracking_RunI_setup_cff.py.

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