Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:32

0001 import FWCore.ParameterSet.Config as cms
0002 from RecoLocalTracker.SubCollectionProducers.SeedClusterRemover_cfi import *
0003 from RecoTracker.IterativeTracking.InitialStep_cff import *
0004 from RecoTracker.IterativeTracking.ElectronSeeds_cff  import *
0005 from RecoTracker.IterativeTracking.LowPtTripletStep_cff import *
0006 from RecoTracker.IterativeTracking.PixelPairStep_cff import *
0007 from RecoTracker.IterativeTracking.DetachedTripletStep_cff import *
0008 from RecoTracker.IterativeTracking.TobTecStep_cff import *
0009 from RecoTracker.IterativeTracking.MixedTripletStep_cff import *
0010 from RecoTracker.MeasurementDet.MeasurementTrackerEventProducer_cfi import *#new in 700pre8
0011 from RecoTracker.IterativeTracking.PixelLessStep_cff import *
0012 from  RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff import *
0013 from RecoTracker.ConversionSeedGenerators.ConversionStep_cff import *
0014 
0015 
0016 def customizeTracking(newpixclusters, newstripclusters, newpixrechits, newstriprechits):
0017 
0018     matchedsplitSiStripRecHits = cms.InputTag(newstriprechits,"matchedRecHit"), 
0019     matchedsplitSiPixelRecHits = cms.InputTag(newpixrechits,"matchedRecHit"), 
0020     rphisplitSiStripRecHits = cms.InputTag(newstriprechits,"rphiRecHit"), 
0021     stereosplitSiStripRecHits = cms.InputTag(newpixrechits,"stereoRecHit"), 
0022     
0023     seedClusterRemover.stripClusters = newstripclusters
0024     seedClusterRemover.pixelClusters = newpixclusters
0025 
0026 
0027 
0028     initialStepSeedLayers.BPix.HitProducer =newpixrechits
0029     initialStepSeedLayers.FPix.HitProducer =newpixrechits
0030     initialStepClusters.pixelClusters = newpixclusters
0031     initialStepClusters.stripClusters = newstripclusters
0032     initialStepClusters.stripRecHits  =newstriprechits
0033     initialStepSeeds.ClusterCheckPSet.PixelClusterCollectionLabel = newpixclusters
0034     initialStepSeeds.ClusterCheckPSet.ClusterCollectionLabel      = newstripclusters
0035     #initialStepSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'initialStepSeedLayers'
0036 
0037     initialStepSeedClusterMask.stripClusters = newstripclusters
0038     initialStepSeedClusterMask.pixelClusters = newpixclusters
0039     
0040     pixelPairStepSeedClusterMask.stripClusters  = newstripclusters
0041     pixelPairStepSeedClusterMask.pixelClusters = newpixclusters
0042     
0043     mixedTripletStepSeedClusterMask.stripClusters  = newstripclusters
0044     mixedTripletStepSeedClusterMask.pixelClusters = newpixclusters
0045 
0046     
0047     tripletElectronClusterMask.stripClusters  = newstripclusters
0048     tripletElectronClusterMask.pixelClusters = newpixclusters
0049 
0050     tripletElectronSeedLayers.BPix.HitProducer =newpixrechits
0051     tripletElectronSeedLayers.FPix.HitProducer =newpixrechits
0052     
0053     pixelPairElectronSeedLayers.BPix.HitProducer =newpixrechits
0054     pixelPairElectronSeedLayers.FPix.HitProducer =newpixrechits
0055     
0056     stripPairElectronSeedLayers.TIB.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
0057     stripPairElectronSeedLayers.TID.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")  
0058     stripPairElectronSeedLayers.TEC.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
0059 
0060 
0061 
0062     lowPtTripletStepClusters.pixelClusters = newpixclusters
0063     lowPtTripletStepClusters.stripClusters = newstripclusters
0064     lowPtTripletStepSeedLayers.BPix.HitProducer =newpixrechits
0065     lowPtTripletStepSeedLayers.FPix.HitProducer =newpixrechits
0066     lowPtTripletStepSeeds.ClusterCheckPSet.PixelClusterCollectionLabel = newpixclusters
0067     lowPtTripletStepSeeds.ClusterCheckPSet.ClusterCollectionLabel      = newstripclusters
0068     
0069 
0070     pixelPairStepClusters.pixelClusters = newpixclusters
0071     pixelPairStepClusters.stripClusters = newstripclusters
0072     pixelPairStepSeedLayers.BPix.HitProducer =newpixrechits
0073     pixelPairStepSeedLayers.FPix.HitProducer =newpixrechits
0074     pixelPairStepSeeds.ClusterCheckPSet.PixelClusterCollectionLabel = newpixclusters
0075     pixelPairStepSeeds.ClusterCheckPSet.ClusterCollectionLabel      = newstripclusters
0076 
0077     detachedTripletStepClusters.pixelClusters = newpixclusters
0078     detachedTripletStepClusters.stripClusters = newstripclusters
0079     detachedTripletStepSeedLayers.BPix.HitProducer =newpixrechits
0080     detachedTripletStepSeedLayers.FPix.HitProducer =newpixrechits
0081     detachedTripletStepSeeds.ClusterCheckPSet.PixelClusterCollectionLabel = newpixclusters
0082     detachedTripletStepSeeds.ClusterCheckPSet.ClusterCollectionLabel      = newstripclusters
0083     detachedTripletStepClusters.stripRecHits =newstriprechits
0084 
0085     mixedTripletStepClusters.pixelClusters = newpixclusters
0086     mixedTripletStepClusters.stripClusters = newstripclusters
0087     mixedTripletStepSeedLayersA.BPix.HitProducer =newpixrechits
0088     mixedTripletStepSeedLayersA.FPix.HitProducer =newpixrechits
0089     mixedTripletStepSeedLayersB.BPix.HitProducer =newpixrechits
0090     mixedTripletStepSeedsA.ClusterCheckPSet.PixelClusterCollectionLabel = newpixclusters
0091     mixedTripletStepSeedsA.ClusterCheckPSet.ClusterCollectionLabel      = newstripclusters
0092     mixedTripletStepSeedsB.ClusterCheckPSet.PixelClusterCollectionLabel = newpixclusters
0093     mixedTripletStepSeedsB.ClusterCheckPSet.ClusterCollectionLabel      = newstripclusters
0094     mixedTripletStepSeedLayersA.TEC.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
0095     mixedTripletStepSeedLayersB.TIB.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
0096 
0097 
0098 
0099     pixelLessStepSeedClusterMask.stripClusters  = newstripclusters
0100     pixelLessStepSeedClusterMask.pixelClusters = newpixclusters
0101     pixelLessStepClusters.pixelClusters = newpixclusters
0102     pixelLessStepClusters.stripClusters = newstripclusters
0103     pixelLessStepSeeds.ClusterCheckPSet.PixelClusterCollectionLabel = newpixclusters
0104     pixelLessStepSeeds.ClusterCheckPSet.ClusterCollectionLabel      = newstripclusters
0105     pixelLessStepSeedClusters.stripRecHits = newstriprechits
0106     pixelLessStepSeedClusters.pixelClusters = newpixclusters
0107     pixelLessStepSeedClusters.stripClusters = newstripclusters
0108     pixelLessStepSeedLayers.MTIB.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
0109     pixelLessStepSeedLayers.MTID.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
0110     pixelLessStepSeedLayers.MTEC.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
0111     
0112     pixelLessStepSeedLayers.TIB.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
0113     pixelLessStepSeedLayers.TID.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
0114     pixelLessStepSeedLayers.TEC.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
0115     
0116     tobTecStepClusters.pixelClusters = newpixclusters
0117     tobTecStepClusters.stripClusters = newstripclusters
0118     tobTecStepSeedClusters.pixelClusters = newpixclusters
0119     tobTecStepSeedClusters.stripClusters = newstripclusters
0120     tobTecStepSeedClusters.stripRecHits =newstriprechits
0121     tobTecStepSeedLayersPair.TOB.matchedRecHits  = cms.InputTag(newstriprechits,"matchedRecHit")
0122     tobTecStepSeedLayersPair.TEC.matchedRecHits  = cms.InputTag(newstriprechits,"matchedRecHit")
0123     tobTecStepSeedLayersTripl.TOB.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
0124     tobTecStepSeedLayersTripl.MTOB.rphiRecHits   = cms.InputTag(newstriprechits,"rphiRecHit")
0125     tobTecStepSeedLayersTripl.MTEC.rphiRecHits   = cms.InputTag(newstriprechits,"rphiRecHit")
0126 
0127 
0128     MeasurementTrackerEvent.pixelClusterProducer = newpixclusters
0129     MeasurementTrackerEvent.stripClusterProducer = newstripclusters
0130 
0131     globalSeedsFromTriplets.ClusterCheckPSet.ClusterCollectionLabel=newstripclusters
0132     globalSeedsFromTriplets.ClusterCheckPSet.PixelClusterCollectionLabel=newpixclusters
0133 
0134 
0135 
0136     photonConvTrajSeedFromSingleLeg.ClusterCheckPSet.PixelClusterCollectionLabel = newpixclusters
0137     photonConvTrajSeedFromSingleLeg.ClusterCheckPSet.ClusterCollectionLabel      = newstripclusters
0138     convClusters.pixelClusters = newpixclusters
0139     convClusters.stripClusters = newstripclusters
0140     convLayerPairs.BPix.HitProducer =newpixrechits
0141     convLayerPairs.FPix.HitProducer =newpixrechits
0142     convLayerPairs.TIB1.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
0143     convLayerPairs.TIB2.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
0144     convLayerPairs.TID1.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
0145     convLayerPairs.TID2.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
0146     convLayerPairs.TID3.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
0147     convLayerPairs.TEC.matchedRecHits  = cms.InputTag(newstriprechits,"matchedRecHit")
0148     convLayerPairs.TOB1.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
0149     convLayerPairs.TOB2.matchedRecHits = cms.InputTag(newstriprechits,"matchedRecHit")
0150     convLayerPairs.TIB3.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
0151     convLayerPairs.TIB4.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
0152     convLayerPairs.TID1.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
0153     convLayerPairs.TID2.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
0154     convLayerPairs.TID3.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
0155     convLayerPairs.TEC.rphiRecHits  = cms.InputTag(newstriprechits,"rphiRecHit")
0156     convLayerPairs.TOB3.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
0157     convLayerPairs.TOB4.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
0158     convLayerPairs.TOB5.rphiRecHits = cms.InputTag(newstriprechits,"rphiRecHit")
0159     convLayerPairs.TOB6.rphiRecHits = cms.InputTag(newstriprechits,"rstrophiRecHit")
0160     convLayerPairs.TID1.stereoRecHits = cms.InputTag(newstriprechits,"stereoRecHit")
0161     convLayerPairs.TID2.stereoRecHits = cms.InputTag(newstriprechits,"stereoRecHit")
0162     convLayerPairs.TID3.stereoRecHits = cms.InputTag(newstriprechits,"stereoRecHit")
0163     convLayerPairs.TEC.stereoRecHits  = cms.InputTag(newstriprechits,"stereoRecHit")