CMS 3D CMS Logo

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

Functions

def customisePixelPairStaticMitigation
 

Function Documentation

def customisePixelPairStaticMitigation.customisePixelPairStaticMitigation (   process)

Definition at line 4 of file customisePixelPairStaticMitigation.py.

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