CMS 3D CMS Logo

HILowPtConformalPixelTracks_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoTracker.TkHitPairs.hitPairEDProducer_cfi import hitPairEDProducer as _hitPairEDProducer
4 from RecoPixelVertexing.PixelTriplets.pixelTripletHLTEDProducer_cfi import pixelTripletHLTEDProducer as _pixelTripletHLTEDProducer
10 
11 # Hit ntuplets
12 hiConformalPixelTracksHitDoublets = _hitPairEDProducer.clone(
13  clusterCheck = "",
14  seedingLayers = "PixelLayerTriplets",
15  trackingRegions = "hiTrackingRegionWithVertex",
16  maxElement = 50000000,
17  produceIntermediateHitDoublets = True,
18 )
19 
20 hiConformalPixelTracksHitTriplets = _pixelTripletHLTEDProducer.clone(
21  doublets = "hiConformalPixelTracksHitDoublets",
22  maxElement = 5000000, # increase threshold for triplets in generation step (default: 100000)
23  produceSeedingHitSets = True,
24 )
25 
26 # Pixel tracks
27 hiConformalPixelTracks = cms.EDProducer("PixelTrackProducer",
28 
29  #passLabel = cms.string('Pixel triplet low-pt tracks with vertex constraint'),
30 
31  # Ordered Hits
32  SeedingHitSets = cms.InputTag("hiConformalPixelTracksHitTriplets"),
33 
34  # Fitter
35  Fitter = cms.InputTag('pixelFitterByConformalMappingAndLine'),
36 
37  # Filter
38  Filter = cms.InputTag("hiConformalPixelFilter"),
39 
40  # Cleaner
41  Cleaner = cms.string("trackCleaner")
42  )
43 
44 
45 
46 
47 
48 
49 
50 #Tracking regions - use PV from pp tracking
51 from RecoTracker.TkTrackingRegions.globalTrackingRegionWithVertices_cfi import globalTrackingRegionWithVertices
52 hiConformalPixelTracksPhase1TrackingRegions = globalTrackingRegionWithVertices.clone(
53  RegionPSet = dict(
54  precise = True,
55  useMultipleScattering = False,
56  useFakeVertices = False,
57  beamSpot = "offlineBeamSpot",
58  useFixedError = True,
59  nSigmaZ = 3.0,
60  sigmaZVertex = 3.0,
61  fixedError = 0.2,
62  VertexCollection = "offlinePrimaryVertices",
63  ptMin = 0.3,
64  useFoundVertices = True,
65  originRadius = 0.2
66  )
67 )
68 
69 # SEEDING LAYERS
70 # Using 4 layers layerlist
71 from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepSeedLayers
72 hiConformalPixelTracksPhase1SeedLayers = lowPtQuadStepSeedLayers.clone(
73  BPix = cms.PSet(
74  HitProducer = cms.string('siPixelRecHits'),
75  TTRHBuilder = cms.string('WithTrackAngle'),
76  ),
77  FPix = cms.PSet(
78  HitProducer = cms.string('siPixelRecHits'),
79  TTRHBuilder = cms.string('WithTrackAngle'),
80  )
81 )
82 
83 
84 # Hit ntuplets
85 from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepHitDoublets
86 hiConformalPixelTracksPhase1HitDoubletsCA = lowPtQuadStepHitDoublets.clone(
87  seedingLayers = "hiConformalPixelTracksPhase1SeedLayers",
88  trackingRegions = "hiConformalPixelTracksPhase1TrackingRegions"
89 )
90 
91 
92 from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepHitQuadruplets
93 hiConformalPixelTracksPhase1HitQuadrupletsCA = lowPtQuadStepHitQuadruplets.clone(
94  doublets = "hiConformalPixelTracksPhase1HitDoubletsCA",
95  CAPhiCut = 0.2,
96  CAThetaCut = 0.0012,
97  SeedComparitorPSet = dict(
98  ComponentName = 'none'
99  ),
100  extraHitRPhitolerance = 0.032,
101  maxChi2 = dict(
102  enabled = True,
103  pt1 = 0.7,
104  pt2 = 2,
105  value1 = 200,
106  value2 = 50
107  )
108 )
109 
110 #Filter
111 hiConformalPixelTracksPhase1Filter = hiConformalPixelFilter.clone(
112  VertexCollection = "offlinePrimaryVertices",
113  chi2 = 999.9,
114  lipMax = 999.0,
115  nSigmaLipMaxTolerance = 999.9,
116  nSigmaTipMaxTolerance = 999.0,
117  ptMax = 999999,
118  ptMin = 0.30,
119  tipMax = 999.0
120 )
121 
122 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
123 phase1Pixel.toModify(hiConformalPixelTracks,
124  Cleaner = 'pixelTrackCleanerBySharedHits',
125  Filter = "hiConformalPixelTracksPhase1Filter",
126  Fitter = "pixelFitterByConformalMappingAndLine",
127  SeedingHitSets = "hiConformalPixelTracksPhase1HitQuadrupletsCA",
128 )
129 
130 hiConformalPixelTracksTask = cms.Task(
131  hiTrackingRegionWithVertex ,
132  hiConformalPixelTracksHitDoublets ,
133  hiConformalPixelTracksHitTriplets ,
134  pixelFitterByConformalMappingAndLine ,
135  hiConformalPixelFilter ,
136  hiConformalPixelTracks
137 )
138 
139 hiConformalPixelTracksTaskPhase1 = cms.Task(
140  hiConformalPixelTracksPhase1TrackingRegions ,
141  hiConformalPixelTracksPhase1SeedLayers ,
142  hiConformalPixelTracksPhase1HitDoubletsCA ,
143  hiConformalPixelTracksPhase1HitQuadrupletsCA ,
144  pixelFitterByConformalMappingAndLine ,
145  hiConformalPixelTracksPhase1Filter ,
146  hiConformalPixelTracks
147 )
148 hiConformalPixelTracksSequencePhase1 = cms.Sequence(hiConformalPixelTracksTaskPhase1)
ClusterShapeHitFilterESProducer_cfi
HITrackingRegionProducer_cfi
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...
globalTrackingRegionWithVertices_cfi
LowPtQuadStep_cff
trackCleaner_cfi
pixelFitterByConformalMappingAndLine_cfi
HIPixelTrackFilter_cff