def customisePixelPairStaticMitigation(process): # Recovery for L2L3 process.pixelPairStepSeedLayersB = process.pixelPairStepSeedLayers.clone( layerList=[ 'BPix1+BPix4', ]) from RecoTracker.TkTrackingRegions.pointSeededTrackingRegion_cfi import pointSeededTrackingRegion as _pointSeededTrackingRegion process.pixelPairStepTrackingRegionsB = _pointSeededTrackingRegion.clone( RegionPSet=dict(ptMin=0.6, originRadius=0.015, mode="VerticesFixed", zErrorVetex=0.03, vertexCollection="firstStepPrimaryVertices", beamSpot="offlineBeamSpot", maxNVertices=5, maxNRegions=5, whereToUseMeasurementTracker="Never", deltaEta=1.2, deltaPhi=0.5, points=dict( eta=[0.0], phi=[3.0], ))) process.pixelPairStepHitDoubletsB.seedingLayers = "pixelPairStepSeedLayersB" process.pixelPairStepHitDoubletsB.trackingRegions = "pixelPairStepTrackingRegionsB" process.pixelPairStepHitDoubletsB.trackingRegionsSeedingLayers = "" process.PixelPairStepTask.remove( process.pixelPairStepTrackingRegionsSeedLayersB) process.PixelPairStepTask.add(process.pixelPairStepSeedLayersB, process.pixelPairStepTrackingRegionsB) # Adjust DQM as well if exists if hasattr(process, "TrackSeedMonpixelPairStep"): process.TrackSeedMonpixelPairStep.doRegionPlots = False process.TrackSeedMonpixelPairStep.RegionSeedingLayersProducer = "" return process
pixelPairStepSeedLayersB = pixelPairStepSeedLayers.clone( layerList = [ 'BPix1+BPix4', ] ) from RecoTracker.TkTrackingRegions.pointSeededTrackingRegion_cfi import pointSeededTrackingRegion as _pointSeededTrackingRegion pixelPairStepTrackingRegionsB = _pointSeededTrackingRegion.clone( RegionPSet = dict( ptMin = 0.6, originRadius = 0.015, mode = "VerticesFixed", zErrorVetex = 0.03, vertexCollection = "firstStepPrimaryVertices", beamSpot = "offlineBeamSpot", maxNVertices = 5, maxNRegions = 5, whereToUseMeasurementTracker = "Never", deltaEta = 1.2, deltaPhi = 0.5, points = dict( eta = [0.0], phi = [3.0], ) ) ) pixelPairStepHitDoubletsB = pixelPairStepHitDoublets.clone( seedingLayers = "pixelPairStepSeedLayersB", trackingRegions = "pixelPairStepTrackingRegionsB", ) pixelPairStepSeedsB = pixelPairStepSeedsA.clone(seedingHitSets = "pixelPairStepHitDoubletsB")
hitMasks=cms.InputTag("pixelPairStepMasks"), )) # Recovery for L2L3 pixelPairStepSeedLayersB = pixelPairStepSeedLayers.clone(layerList=[ 'BPix1+BPix4', ]) from RecoTracker.TkTrackingRegions.pointSeededTrackingRegion_cfi import pointSeededTrackingRegion as _pointSeededTrackingRegion pixelPairStepTrackingRegionsB = _pointSeededTrackingRegion.clone( RegionPSet=dict(ptMin=0.6, originRadius=0.015, mode="VerticesFixed", zErrorVetex=0.03, vertexCollection="firstStepPrimaryVertices", beamSpot="offlineBeamSpot", maxNVertices=5, maxNRegions=5, whereToUseMeasurementTracker="Never", deltaEta=1.2, deltaPhi=0.5, points=dict( eta=[0.0], phi=[3.0], ))) pixelPairStepHitDoubletsB = pixelPairStepHitDoublets.clone( seedingLayers="pixelPairStepSeedLayersB", trackingRegions="pixelPairStepTrackingRegionsB", ) pixelPairStepSeedsB = pixelPairStepSeedsA.clone( seedingHitSets="pixelPairStepHitDoubletsB") # Merge
SeedComparitorPSet=cms.PSet( ComponentName=cms.string('PixelClusterShapeSeedComparitor'), FilterAtHelixStage=cms.bool(True), FilterPixelHits=cms.bool(True), FilterStripHits=cms.bool(False), ClusterShapeHitFilterName=cms.string('ClusterShapeHitFilter'), ClusterShapeCacheSrc=cms.InputTag("siPixelClusterShapeCache"))) #rectangular tracking region around area missing BPIX2/3 in Phase 1 from RecoTracker.TkTrackingRegions.pointSeededTrackingRegion_cfi import pointSeededTrackingRegion as _pointSeededTrackingRegion hiPixelPairStepTrackingRegionPhase1 = _pointSeededTrackingRegion.clone( RegionPSet=dict(ptMin=0.9, originRadius=0.005, mode="VerticesSigma", nSigmaZVertex=4.0, vertexCollection="hiSelectedPixelVertex", beamSpot="offlineBeamSpot", whereToUseMeasurementTracker="Never", deltaEta=1.8, deltaPhi=0.5, points=dict( eta=[0.0], phi=[3.0], ))) from RecoTracker.TkHitPairs.hitPairEDProducer_cfi import hitPairEDProducer as _hitPairEDProducer hiPixelPairStepHitDoubletsPhase1 = _hitPairEDProducer.clone( seedingLayers="hiPixelPairSeedLayers", trackingRegions="hiPixelPairStepTrackingRegionPhase1", clusterCheck="", produceSeedingHitSets=True, )
FilterStripHits = cms.bool(False), ClusterShapeHitFilterName = cms.string('ClusterShapeHitFilter'), ClusterShapeCacheSrc = cms.InputTag("siPixelClusterShapeCache") ) #rectangular tracking region around area missing BPIX2/3 in Phase 1 from RecoTracker.TkTrackingRegions.pointSeededTrackingRegion_cfi import pointSeededTrackingRegion as _pointSeededTrackingRegion hiPixelPairStepTrackingRegionPhase1 = _pointSeededTrackingRegion.clone( RegionPSet = dict( ptMin = 0.9, originRadius = 0.005, mode = "VerticesSigma", nSigmaZVertex = 4.0, vertexCollection = "hiSelectedPixelVertex", beamSpot = "offlineBeamSpot", whereToUseMeasurementTracker = "Never", deltaEta = 1.8, deltaPhi = 0.5, points = dict( eta = [0.0], phi = [3.0], ) ) ) from RecoTracker.TkHitPairs.hitPairEDProducer_cfi import hitPairEDProducer as _hitPairEDProducer hiPixelPairStepHitDoubletsPhase1 = _hitPairEDProducer.clone( seedingLayers = "hiPixelPairSeedLayers", trackingRegions = "hiPixelPairStepTrackingRegionPhase1", clusterCheck = "", produceSeedingHitSets = cms.bool(True),