CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/RecoTracker/IterativeTracking/python/ElectronSeeds_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from RecoLocalTracker.SubCollectionProducers.SeedClusterRemover_cfi import seedClusterRemover
00004 initialStepSeedClusterMask = seedClusterRemover.clone(
00005     trajectories = cms.InputTag("initialStepSeeds"),
00006     oldClusterRemovalInfo = cms.InputTag("pixelLessStepClusters")
00007 )
00008 pixelPairStepSeedClusterMask = seedClusterRemover.clone(
00009     trajectories = cms.InputTag("pixelPairStepSeeds"),
00010     oldClusterRemovalInfo = cms.InputTag("initialStepSeedClusterMask")
00011 )
00012 mixedTripletStepSeedClusterMask = seedClusterRemover.clone(
00013     trajectories = cms.InputTag("mixedTripletStepSeeds"),
00014     oldClusterRemovalInfo = cms.InputTag("pixelPairStepSeedClusterMask")
00015 )
00016 pixelLessStepSeedClusterMask = seedClusterRemover.clone(
00017     trajectories = cms.InputTag("pixelLessStepSeeds"),
00018     oldClusterRemovalInfo = cms.InputTag("mixedTripletStepSeedClusterMask")
00019 )
00020 
00021 tripletElectronSeedLayers = cms.ESProducer("SeedingLayersESProducer",
00022     ComponentName = cms.string('tripletElectronSeedLayers'),
00023     layerList = cms.vstring('BPix1+BPix2+BPix3', 
00024                             'BPix1+BPix2+FPix1_pos', 'BPix1+BPix2+FPix1_neg', 
00025                             'BPix1+FPix1_pos+FPix2_pos', 'BPix1+FPix1_neg+FPix2_neg'),
00026     BPix = cms.PSet(
00027     useErrorsFromParam = cms.bool(True),
00028     hitErrorRPhi = cms.double(0.0027),
00029     TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
00030     HitProducer = cms.string('siPixelRecHits'),
00031     hitErrorRZ = cms.double(0.006),
00032     skipClusters = cms.InputTag('pixelLessStepSeedClusterMask')
00033     ),
00034     FPix = cms.PSet(
00035     useErrorsFromParam = cms.bool(True),
00036     hitErrorRPhi = cms.double(0.0051),
00037     TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
00038     HitProducer = cms.string('siPixelRecHits'),
00039     hitErrorRZ = cms.double(0.0036),
00040     skipClusters = cms.InputTag('pixelLessStepSeedClusterMask')
00041     )
00042 )
00043 
00044 import RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff
00045 from RecoTracker.TkTrackingRegions.GlobalTrackingRegionFromBeamSpot_cfi import RegionPsetFomBeamSpotBlock
00046 tripletElectronSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone(
00047     RegionFactoryPSet = RegionPsetFomBeamSpotBlock.clone(
00048     ComponentName = cms.string('GlobalRegionProducerFromBeamSpot'),
00049     RegionPSet = RegionPsetFomBeamSpotBlock.RegionPSet.clone(
00050     ptMin = 1.0,
00051     originRadius = 0.02,
00052     nSigmaZ = 4.0
00053     )
00054     )
00055 )
00056 tripletElectronSeeds.OrderedHitsFactoryPSet.SeedingLayers = cms.string('tripletElectronSeedLayers')
00057 
00058 from RecoLocalTracker.SubCollectionProducers.SeedClusterRemover_cfi import seedClusterRemover
00059 tripletElectronClusterMask = seedClusterRemover.clone(
00060     trajectories = cms.InputTag("tripletElectronSeeds"),
00061     oldClusterRemovalInfo = cms.InputTag("pixelLessStepSeedClusterMask")
00062 )
00063 
00064 pixelPairElectronSeedLayers = cms.ESProducer("SeedingLayersESProducer",
00065     ComponentName = cms.string('pixelPairElectronSeedLayers'),
00066     layerList = cms.vstring('BPix1+BPix2', 'BPix1+BPix3', 'BPix2+BPix3', 
00067                             'BPix1+FPix1_pos', 'BPix1+FPix1_neg', 
00068                             'BPix1+FPix2_pos', 'BPix1+FPix2_neg', 
00069                             'BPix2+FPix1_pos', 'BPix2+FPix1_neg', 
00070                             'FPix1_pos+FPix2_pos', 'FPix1_neg+FPix2_neg'),
00071     BPix = cms.PSet(
00072     useErrorsFromParam = cms.bool(True),
00073     hitErrorRPhi = cms.double(0.0027),
00074     hitErrorRZ = cms.double(0.006),
00075     TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelPairs'),
00076     HitProducer = cms.string('siPixelRecHits'),
00077     skipClusters = cms.InputTag('tripletElectronClusterMask')
00078     ),
00079     FPix = cms.PSet(
00080     useErrorsFromParam = cms.bool(True),
00081     hitErrorRPhi = cms.double(0.0051),
00082     hitErrorRZ = cms.double(0.0036),
00083     TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelPairs'),
00084     HitProducer = cms.string('siPixelRecHits'),
00085     skipClusters = cms.InputTag('tripletElectronClusterMask')
00086     )
00087 )
00088 
00089 import RecoTracker.TkSeedGenerator.GlobalSeedsFromPairsWithVertices_cff
00090 pixelPairElectronSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromPairsWithVertices_cff.globalSeedsFromPairsWithVertices.clone()
00091 pixelPairElectronSeeds.RegionFactoryPSet.RegionPSet.ptMin = 1.0
00092 pixelPairElectronSeeds.RegionFactoryPSet.RegionPSet.originRadius = 0.015
00093 pixelPairElectronSeeds.RegionFactoryPSet.RegionPSet.fixedError = 0.03
00094 pixelPairElectronSeeds.OrderedHitsFactoryPSet.SeedingLayers = cms.string('pixelPairElectronSeedLayers')
00095 
00096 stripPairElectronSeedLayers = cms.ESProducer("SeedingLayersESProducer",
00097     ComponentName = cms.string('stripPairElectronSeedLayers'),
00098     layerList = cms.vstring('TIB1+TIB2', 'TIB1+TID1_pos', 'TIB1+TID1_neg', 'TID2_pos+TID3_pos', 'TID2_neg+TID3_neg',
00099                             'TEC1_pos+TEC2_pos','TEC2_pos+TEC3_pos','TEC3_pos+TEC4_pos','TEC3_pos+TEC5_pos',
00100                             'TEC1_neg+TEC2_neg','TEC2_neg+TEC3_neg','TEC3_neg+TEC4_neg','TEC3_neg+TEC5_neg'),
00101     TIB = cms.PSet(
00102     TTRHBuilder = cms.string('WithTrackAngle'),
00103     matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"),
00104     skipClusters = cms.InputTag('tripletElectronClusterMask')
00105     ),
00106     TID = cms.PSet(
00107     matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"),
00108     skipClusters = cms.InputTag('tripletElectronClusterMask'),
00109     useRingSlector = cms.bool(True),
00110     TTRHBuilder = cms.string('WithTrackAngle'),
00111     minRing = cms.int32(1),
00112     maxRing = cms.int32(2)
00113     ),
00114     TEC = cms.PSet(
00115     matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"),
00116     skipClusters = cms.InputTag('tripletElectronClusterMask'),
00117     useRingSlector = cms.bool(True),
00118     TTRHBuilder = cms.string('WithTrackAngle'),
00119     minRing = cms.int32(1),
00120     maxRing = cms.int32(2)
00121     )
00122 )
00123 
00124 import RecoTracker.TkSeedGenerator.GlobalMixedSeeds_cff
00125 stripPairElectronSeeds = RecoTracker.TkSeedGenerator.GlobalMixedSeeds_cff.globalMixedSeeds.clone()
00126 stripPairElectronSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'stripPairElectronSeedLayers'
00127 stripPairElectronSeeds.RegionFactoryPSet.RegionPSet.ptMin = 1.0
00128 stripPairElectronSeeds.RegionFactoryPSet.RegionPSet.originHalfLength = 12.0
00129 stripPairElectronSeeds.RegionFactoryPSet.RegionPSet.originRadius = 0.4
00130 
00131 ###This seed collection is produced for electron reconstruction
00132 import RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cfi
00133 newCombinedSeeds = RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cfi.globalCombinedSeeds.clone(
00134     seedCollections = cms.VInputTag(
00135       cms.InputTag('initialStepSeeds'),
00136       cms.InputTag('pixelPairStepSeeds'),
00137       cms.InputTag('mixedTripletStepSeeds'),
00138       cms.InputTag('pixelLessStepSeeds'),
00139       cms.InputTag('tripletElectronSeeds'),
00140       cms.InputTag('pixelPairElectronSeeds'),
00141       cms.InputTag('stripPairElectronSeeds')
00142       )
00143 )
00144 
00145 electronSeedsSeq = cms.Sequence( initialStepSeedClusterMask*
00146                                  pixelPairStepSeedClusterMask*
00147                                  mixedTripletStepSeedClusterMask*
00148                                  pixelLessStepSeedClusterMask*
00149                                  tripletElectronSeeds*
00150                                  tripletElectronClusterMask*
00151                                  pixelPairElectronSeeds*
00152                                  stripPairElectronSeeds*
00153                                  newCombinedSeeds)
00154