CMS 3D CMS Logo

Functions
customisePixelPairStaticMitigation Namespace Reference

Functions

def customisePixelPairStaticMitigation (process)
 

Function Documentation

def customisePixelPairStaticMitigation.customisePixelPairStaticMitigation (   process)

Definition at line 4 of file customisePixelPairStaticMitigation.py.

References cmsPerfStripChart.dict.

5  # Recovery for L2L3
6  process.pixelPairStepSeedLayersB = process.pixelPairStepSeedLayers.clone(
7  layerList = [
8  'BPix1+BPix4',
9  ]
10  )
11  from RecoTracker.TkTrackingRegions.pointSeededTrackingRegion_cfi import pointSeededTrackingRegion as _pointSeededTrackingRegion
12  process.pixelPairStepTrackingRegionsB = _pointSeededTrackingRegion.clone(
13  RegionPSet = dict(
14  ptMin = 0.6,
15  originRadius = 0.015,
16  mode = "VerticesFixed",
17  zErrorVetex = 0.03,
18  vertexCollection = "firstStepPrimaryVertices",
19  beamSpot = "offlineBeamSpot",
20  maxNVertices = 5,
21  maxNRegions = 5,
22  whereToUseMeasurementTracker = "Never",
23  deltaEta = 1.2,
24  deltaPhi = 0.5,
25  points = dict(
26  eta = [0.0],
27  phi = [3.0],
28  )
29  )
30  )
31  process.pixelPairStepHitDoubletsB.seedingLayers = "pixelPairStepSeedLayersB"
32  process.pixelPairStepHitDoubletsB.trackingRegions = "pixelPairStepTrackingRegionsB"
33  process.pixelPairStepHitDoubletsB.trackingRegionsSeedingLayers = ""
34 
35  process.PixelPairStepTask.remove(process.pixelPairStepTrackingRegionsSeedLayersB)
36  process.PixelPairStepTask.add(process.pixelPairStepSeedLayersB,
37  process.pixelPairStepTrackingRegionsB)
38 
39 
40  # Adjust DQM as well if exists
41  if hasattr(process, "TrackSeedMonpixelPairStep"):
42  process.TrackSeedMonpixelPairStep.doRegionPlots = False
43  process.TrackSeedMonpixelPairStep.RegionSeedingLayersProducer = ""
44 
45  return process