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 import RecoPixelVertexing.PixelTrackFitting.pixelTracks_cfi as _mod
27 # Pixel tracks
28 hiConformalPixelTracks = _mod.pixelTracks.clone(
29  #passLabel = 'Pixel triplet low-pt tracks with vertex constraint',
30  # Ordered Hits
31  SeedingHitSets = "hiConformalPixelTracksHitTriplets",
32  # Fitter
33  Fitter = 'pixelFitterByConformalMappingAndLine',
34  # Filter
35  Filter = "hiConformalPixelFilter",
36  # Cleaner
37  Cleaner = "trackCleaner"
38 )
39 
40 
41 
42 #Tracking regions - use PV from pp tracking
43 from RecoTracker.TkTrackingRegions.globalTrackingRegionWithVertices_cfi import globalTrackingRegionWithVertices
44 hiConformalPixelTracksPhase1TrackingRegions = globalTrackingRegionWithVertices.clone(
45  RegionPSet = dict(
46  precise = True,
47  useMultipleScattering = False,
48  useFakeVertices = False,
49  beamSpot = "offlineBeamSpot",
50  useFixedError = True,
51  nSigmaZ = 3.0,
52  sigmaZVertex = 3.0,
53  fixedError = 0.2,
54  VertexCollection = "offlinePrimaryVertices",
55  ptMin = 0.3,
56  useFoundVertices = True,
57  originRadius = 0.2
58  )
59 )
60 
61 # SEEDING LAYERS
62 # Using 4 layers layerlist
63 from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepSeedLayers
64 hiConformalPixelTracksPhase1SeedLayers = lowPtQuadStepSeedLayers.clone(
65  BPix = cms.PSet(
66  HitProducer = cms.string('siPixelRecHits'),
67  TTRHBuilder = cms.string('WithTrackAngle'),
68  ),
69  FPix = cms.PSet(
70  HitProducer = cms.string('siPixelRecHits'),
71  TTRHBuilder = cms.string('WithTrackAngle'),
72  )
73 )
74 
75 
76 # Hit ntuplets
77 from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepHitDoublets
78 hiConformalPixelTracksPhase1HitDoubletsCA = lowPtQuadStepHitDoublets.clone(
79  seedingLayers = "hiConformalPixelTracksPhase1SeedLayers",
80  trackingRegions = "hiConformalPixelTracksPhase1TrackingRegions"
81 )
82 
83 
84 from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepHitQuadruplets
85 hiConformalPixelTracksPhase1HitQuadrupletsCA = lowPtQuadStepHitQuadruplets.clone(
86  doublets = "hiConformalPixelTracksPhase1HitDoubletsCA",
87  CAPhiCut = 0.2,
88  CAThetaCut = 0.0012,
89  SeedComparitorPSet = dict(
90  ComponentName = 'none'
91  ),
92  extraHitRPhitolerance = 0.032,
93  maxChi2 = dict(
94  enabled = True,
95  pt1 = 0.7,
96  pt2 = 2,
97  value1 = 200,
98  value2 = 50
99  )
100 )
101 
102 #Filter
103 hiConformalPixelTracksPhase1Filter = hiConformalPixelFilter.clone(
104  VertexCollection = "offlinePrimaryVertices",
105  chi2 = 30.0,
106  lipMax = 999.0,
107  nSigmaLipMaxTolerance = 3.0,
108  nSigmaTipMaxTolerance = 3.0,
109  ptMax = 999999,
110  ptMin = 0.30,
111  tipMax = 999.0
112 )
113 
114 from RecoPixelVertexing.PixelTrackFitting.pixelNtupletsFitter_cfi import pixelNtupletsFitter
115 
116 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
117 phase1Pixel.toModify(hiConformalPixelTracks,
118  Cleaner = 'pixelTrackCleanerBySharedHits',
119  Filter = "hiConformalPixelTracksPhase1Filter",
120  Fitter = "pixelNtupletsFitter",
121  SeedingHitSets = "hiConformalPixelTracksPhase1HitQuadrupletsCA",
122 )
123 
124 hiConformalPixelTracksTask = cms.Task(
125  hiTrackingRegionWithVertex ,
126  hiConformalPixelTracksHitDoublets ,
127  hiConformalPixelTracksHitTriplets ,
128  pixelFitterByConformalMappingAndLine ,
129  hiConformalPixelFilter ,
130  hiConformalPixelTracks
131 )
132 
133 hiConformalPixelTracksTaskPhase1 = cms.Task(
134  hiConformalPixelTracksPhase1TrackingRegions ,
135  hiConformalPixelTracksPhase1SeedLayers ,
136  hiConformalPixelTracksPhase1HitDoubletsCA ,
137  hiConformalPixelTracksPhase1HitQuadrupletsCA ,
138  pixelNtupletsFitter ,
139  hiConformalPixelTracksPhase1Filter ,
140  hiConformalPixelTracks
141 )
142 hiConformalPixelTracksSequencePhase1 = cms.Sequence(hiConformalPixelTracksTaskPhase1)
pp iterative tracking modified for hiOffline reco (the vertex is the one reconstructed in HI) 3rd ste...